]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
insetlatexaccent is part of a word
[lyx.git] / src / ChangeLog
1 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2
3         * vspace.C: fix off-by-one-error, related to fix #1682
4
5 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6
7         * lengthcommon.C: a more general fix for bug 1682
8
9 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
10
11         * text.C (backspace): fix crash
12
13 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
14
15         * format.[Ch] (getFormatFromFile): new method
16         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
17
18 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
21
22 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * lyxfunc.C (dispatch): remove the verbose argument
25         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
26         instead
27
28         * kbmap.C (defkey): set the origin of func to KEYBOARD
29
30         * MenuBackend.C (MenuItem): 
31         * ToolbarBackend.C (add): set the origin of func to UI
32
33         * funcrequest.[Ch]: add origin member, which indicates which part
34         of LyX requests an action
35
36 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
37
38         * converter.C (move): don't lie in the error message
39         * converter.h (isReachable, move): document
40
41 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
42
43         * buffer.C: remove unused using lyx::support::atoi
44         * paragraph_funcs.C: ditto
45
46 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
47
48         * bufferlist.C (exists): use bind and equal_to instead of
49         compare_memfun
50         (getBuffer): ditto
51         * lyxtextclasslist.C (NumberOfClass): ditto
52
53         * cursor.C (insert): use for_each instead of explicit for loop
54
55         * bufferlist.C (getFileNames): use std::transform and
56         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
57
58         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
59         for loop
60
61         * buffer.C (changeLanguage): use for_each instead of explicit for
62         loop
63         (hasParWithID): implement using getParFromID
64
65         * LaTeXFeatures.C: ws change only
66
67         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
68         to cleanup a bit.
69
70         * BufferView_pimpl.C (trackChanges): use for_each instead of
71         expilicit for loop
72
73 2004-11-04  André Pönitz  <poenitz@gmx.net>
74
75         * undo.h:
76         * undo.C (textUndoOrRedo): fix crash when creating undo information.
77
78         * dociterator.C (asDocIterator): use hard assert again.
79
80 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
81
82         * lyxlength.C (asLatexString): rewrite so that it does not use
83         snprintf anymore
84
85 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * text3.C (specialChar, dispatch): make sure cursor moves to the
88         right after inserting an inset
89
90 2004-11-02  José Matos  <jamatos@lyx.org>
91
92         * output_docbook.C (docbook):
93         * paragraph.C (getID):
94         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
95         garantee that the output is always legal.
96
97         * tabular.C (docbook):
98         * outputprams.[Ch]: remove mixed contents.
99
100 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
101
102         * text2.C (setCounter): prevent endless loop
103
104 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
105
106         * exporter.C (copyFile): use the mover instead of support::copy()
107         * exporter.C (Export): pass format and latex name to copyFile()
108         * exporter.h (addExternalFile): document
109         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
110
111 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
112
113         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
114
115 2004-10-30  José Matos  <jamatos@lyx.org>
116
117         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
118         text and no inset or font change. This allows to use CDATA
119         sections just for the whole paragraph.
120
121 2004-10-30  José Matos  <jamatos@lyx.org>
122
123         * paragraph.C (getFirstWord): remove unused variable.
124
125 2004-10-30  José Matos  <jamatos@lyx.org>
126
127         * paragraph.C (getFirstWord): the content should always be escaped
128         there.
129         (simpleDocBookOnePar):
130         * output_docbook.C (makeEnvironment): replace reference to CDATA
131         to style pass_thru.
132
133 2004-10-30  José Matos  <jamatos@lyx.org>
134
135         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
136
137 2004-10-30  José Matos  <jamatos@lyx.org>
138
139         * output_docbook.C (makeParagraphs):
140         * paragraph.[Ch] (emptyTag): for docbook and company, if the
141         standard paragraph has only a given type of content drop the wrapper.
142
143 2004-10-29  José Matos  <jamatos@lyx.org>
144
145         * output_docbook.C (makeEnvironment):
146         * sgml.C (openTag):
147         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
148
149 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
150
151         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
152         (cleanID): sanitize any id.
153
154 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
155
156         * buffer.C, lyxlex_pimpl.C:
157         * lyxlex_pimpl.C (setFile):
158         s/getExtFromContents/getFormatFromContents/
159
160 2004-10-28  José Matos  <jamatos@lyx.org>
161
162         * output_docbook.C (makeEnvironment): move id to broadest possible
163         scope.
164
165         * sgml.C (openTag): apply substitution of <> for all attributes.
166
167 2004-10-28  José Matos  <jamatos@lyx.org>
168
169         * buffer.C (makeLinuxDocFile, makeDocBookFile):
170         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
171         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
172
173         * sgml.[Ch]: new version for open and closeTag for paragraph and
174         for strings. Now they handle the ids of paragraphs.
175
176 2004-10-26  Angus Leeming  <leeming@lyx.org>
177
178         * Makefile.am: add mover.[Ch].
179
180         * converter.C (convert, move): use the new Movers to move external
181         files to the temp directory.
182
183         * lyx_main.C (init): ensure that the global system_movers data
184         is initialised.
185
186         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
187         preferences file.
188
189         * mover.[Ch]: new files, defining a Mover as a utility to move an
190         external file between directories and, if necessary, manipulate this
191         file using a helper script.
192
193 2004-10-25  José Matos  <jamatos@lyx.org>
194
195         * output_docbook.C (makeCommand): merge two if's that tested the
196         same condition.
197
198 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
199
200         * sgml.C (escapeString): fix warning in a better way
201
202 2004-10-25  José Matos  <jamatos@lyx.org>
203
204         * sgml.C (escapeString): import the require boosts header file for
205         tie, and avoid a signed unsigned comparison.
206
207 2004-10-25  José Matos  <jamatos@lyx.org>
208
209         * sgml.h: add #include <string>
210
211 2004-10-25  José Matos  <jamatos@lyx.org>
212
213         * sgml.[Ch] (escapeString): new function to escape all the string.
214
215 2004-10-24  José Matos  <jamatos@lyx.org>
216
217         * paragraph.[Ch] (getFirstWord): new function to get the first
218         word. Useful for description.
219         (simpleDocBookOnePar): remove depth argument, add another that
220         says where to start the paragraph.
221
222         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
223         use the new functions to fix cleanly the support for descriptions.
224
225 2004-10-24  José Matos  <jamatos@lyx.org>
226
227         * buffer.C (makeLinuxDocFile, makeDocBookFile):
228         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
229         * output_linuxdoc.C (linuxdocParagraphs):
230         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
231         add buffer as argument.
232
233 2004-10-24  José Matos  <jamatos@lyx.org>
234
235         * output_docbook.C (makeEnvironment, searchEnvironment): place
236         CDATA inside paragraphs and fix scope for listitems.
237
238 2004-10-24  José Matos  <jamatos@lyx.org>
239
240         * output_docbook.C: remove using statement for stack.
241
242 2004-10-23  José Matos  <jamatos@lyx.org>
243
244         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
245         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
246         docbook. The new scheme is recursive and makes use of iterators, the
247         same as latex export works.
248         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
249         directly with the paragraph contents. This code was moved up to
250         output_docbook.C (docbookParagraphs).
251         * sgml.C (openTag, closeTag): removed unneeded newlines.
252         (closeEnvTags) removed.
253
254 2004-10-23  André Pönitz  <poenitz@gmx.net>
255
256         * undo.C (textUndoOrRedo):
257         * dociterator.C (asDocIterator): work around crash
258
259         * cursor.C (getStatus): replace ASSERT by more verbose error message
260           and manual correction of the problem. Should increase stability
261           while providing more sensible information.
262
263 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
264
265         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
266
267         * bufferlist.C (previous, next): new methods
268
269         * lfuns.h:
270         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
271
272 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
273
274         * buffer.C (makeDocBookFile): add dsssl stylesheet control
275         entities to preamble.
276
277 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
278
279         * messages.C (Pimpl): strip off translation context information
280
281 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
282
283         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
284         the cursor is correct (bug 1694)
285
286 2004-10-13  José Matos  <jamatos@lyx.org>
287
288         * output_docbook.C (docbookParagraphs): fix closing tags in the
289         end of the document.
290
291 2004-10-09  José Matos  <jamatos@lyx.org>
292
293         * buffer.C: format up to 237.
294         * bufferparams.C (write): use tostr to convert booleans to strings.
295
296 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
297
298         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
299
300 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
301
302         * LaTeX.C: implement use of babel language in xindy.
303
304 2004-10-05  José Matos  <jamatos@lyx.org>
305
306         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
307         Add new translators to help reading and writing the lyx file.
308
309 2004-10-05  José Matos  <jamatos@lyx.org>
310
311         * ParagraphParameters.C (read):
312         * text.C (readParToken): replace nexToken by more appropriate lex
313         methods.
314
315 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
316
317         * LaTeX.C (runMakeIndex):
318         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
319         (usually 'makeindex') configurable.
320
321         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
322         with a variable rather than with a number.
323
324 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
325
326         * output_latex.C (TeXOnePar): make sure font setting is the first
327         thing that gets output (and the last at the end). Should fix bug
328         1404.
329
330 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
331
332         * pch.h: use proper signal include
333
334         * LaTeX.h: Use preferred calling of Boost.Signal
335         * buffer.h: ditto
336
337 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
338
339         * pch.h: dont include <boost/function/function0.hpp>
340
341         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
342
343         * paragraph_pimpl.h: remove usage of ShareContainer
344
345         * paragraph_pimpl.C: remove initialization of ShareContainer.
346
347 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         Fix bug #1666
350
351         * BufferView.C (putSelectionAt): change the semantics when
352         backwards == true: now, this just swaps cursor and anchor wrt the
353         forward case
354
355         * BufferView.h (putSelectionAt): add some documentation
356
357         * lyxfind.C (findBackwards): rewrite using while(). In particular,
358         make sure backwardChar is done at least once (to avoid getting
359         stuck)
360         (findNextChange): use putSelectionAt in the forward direction
361         (operator()): use Paragraph::isWord
362
363 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
364
365         * Spacing.C (set): c_str fix
366
367 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * lyx_cb.C (Reconfigure): quote the name of configure script in
370         case it contains spaces
371
372 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
373
374         * client: new dir
375
376         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
377         (BOOST_LIBS): use top_buildir when looking for the file
378
379 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
380
381         * pch.h: do not use include boost/format.hpp, multiple symbols
382                 will result (gcc bug)
383
384
385 2004-08-23  José Matos  <jamatos@lyx.org>
386
387         * bufferparams.C (readToken): fix reading of the author field.
388
389 2004-08-20  José Matos  <jamatos@lyx.org>
390
391         * lyxrc.C: remove support/translator.h inclusion since it is not used.
392
393 2004-08-20  José Matos  <jamatos@lyx.org>
394
395         * lyxlex.[Ch] (findToken): remove function.
396
397         * ParagraphParameters.C (findToken):
398         * bufferparams.C (findToken): replace call for previous function
399         with local copy. This local function has one more argument, the
400         read string argument.
401
402 2004-08-16  José Matos  <jamatos@lyx.org>
403
404         * ParagraphParameters.C (write):
405         * Spacing.C (writeFile):
406         * bufferparams.C (writeLaTeX):
407         * lyx_cb.C (Reconfigure):
408         * paragraph.C (write):
409         * tabular.C (write): remove unnecessary space at end of line.
410
411
412 2004-08-16  José Matos  <jamatos@lyx.org>
413
414         * text.C (readParagraph): remove debug message.
415
416 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
417
418         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
419         crash
420
421         * output_plaintext.C (asciiParagraph): set depth correctly
422
423         * outputparams.h: add member depth
424
425         * paragraph_funcs.C (ownerPar): remove.
426
427         * text2.C (setCounter): remove first_pit; comment out some
428         non-working code that uses ownerPar
429
430         * BufferView.C (getParentLanguage): remove. Not used anymore, and
431         uses ownerPar
432
433 2004-08-16  José Matos  <jamatos@lyx.org>
434
435         * text.C (readParToken, readParagraph, read): report all unknown tokens.
436         For the same level of importance use the same chanel to report problems.
437         (read): add code to deal with \begin_body and \end_body.
438
439
440 2004-08-15  José Matos  <jamatos@lyx.org>
441
442         * lyxlex.C (getString): fix comment, buffer::readBody is now
443         buffer:readDocument.
444
445         * tex-strings.C (string_papersize): Default -> default,
446         Custom -> custom, for consistency with other options.
447
448 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
449
450         * pch.h: new file
451
452         * Makefile.am: support pch
453
454 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
455
456         * text.C (readParToken): remove the static LyXFont variable and
457         pass it as a parameter instead. This fixes a nasty bug where an
458         inset will be inserted with a bad font in some situations
459         (readParagraph): adapt
460
461         * text2.C (setCounter): reduce number of calls to pars_[pit]
462
463         * text.C (singleWidth): add an assert, fix a test
464
465         * rowpainter.C (paintText): reduce number of calls to singleWidth
466
467         * paragraph.C (isHfill):
468         (isNewline): ws only
469
470 2004-08-14  André Pönitz  <poenitz@gmx.net>
471
472         * text.C:
473         * text2.C:
474         * rowpainter.C:
475         * lyxtext.h (several functions): use a Paragraph & argument
476         instead of par_type
477
478 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
479
480         * metricsinfo.h: add a new field ltr_pos to PainterInfo
481
482         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
483
484         * text.C (singleWidth): remove useless test
485
486 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
487
488         * tabular.h: remove bogus comments
489
490         * tabular.C (getDescentOfRow):
491         (isPartOfMultiColumn): add assertions
492
493         * lyxlength.C (inPixels): remove #warning
494
495 2004-08-14  André Pönitz  <poenitz@gmx.net>
496
497         * paragraph.h: inline getChar()
498
499         * BufferView.h: remove unused declarations
500
501 2004-08-14  José Matos  <jamatos@lyx.org>
502
503         * Buffer.[Ch] (readDocument): new name for old readBody.
504         * Buffer.C: new file format, new keywords: \begin_document,
505         \begin_header, \begin_body, \end_body.
506
507         * bufferparams.C (readToken): replace all calls to lex.nextToken
508         by lex.next(). Do the same to eatLine except where really needed.
509
510         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
511         line when writing to the lyx file.
512
513         * output_plaintext.C (asciiParagraph): fix Bibliography style
514         handling.
515
516         * text.C (read): fix end of file handling.
517
518 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * MenuBackend.C (Menu::operator[]): new method to access
521         individual menu items
522         (Menu::hasFunc): new method. search for an item that corresponds
523         to a given func
524         (MenuBackend::specialMenu): new method
525         (MenuBackend::expand): if a special menu has been set, skip
526         entries whose func() appears in this menu
527
528 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
529
530         * text3.C: use Debug::DEBUG a bit more
531
532         * text.C (leftMargin): try to simplify a tiny bit change var x to
533         l_margin. Dont output the wide margins always.
534         (rightMargin): no margin in inner texts
535
536         * rowpainter.h (nestMargin): new func
537         (changebarMargin): new func
538         (rightMargin): new func
539
540         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
541         now functions.
542         (paintLast): ditto
543
544         * factory.C (createInset): modify setDrawFrame
545
546         * cursor.C: use Debug::DEBUG a bit more
547
548 2004-08-14  André Pönitz  <poenitz@gmx.net>
549
550         * coordcache.[Ch]:
551         * Makefile.am: new files to accomodate an 'external' (x,y)-position
552         cache for all insets in (at least partially) visible (top-level)
553         paragraphs.
554
555         * BufferView_pimpl.C: reset external coord cache before every update.
556         This means the coord cache only contains valid entries.
557
558 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
559
560         bug 1096
561         * BufferView_pimpl.C (getInsetByCode): move function out of class
562         and change in to a template in anon namespace. Also fix to do what
563         suits us better.
564
565 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
566
567         bug 1305
568         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
569         of char
570         (breakParagraph): rename par to par_offset and use a local
571         reference. Add code to keep the language over a rebreak.
572         (breakParagraphConservative): rename par to par_offset, use a
573         local reference
574         (mergeParagraph): ditto
575         (outerHook): ditto
576         (isFirstInSequence): ditto
577         (outerFont): rename pit to par_offset
578
579         * paragraph.C: ws change
580         * paragraph.h: ditto
581         * text3.C: ditto
582         * text.C: ditto
583
584 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
585
586         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
587         treatment for ']'
588
589         * paragraph.C (simpleTeXOnePar): when we have a \item with
590         optional argument, enclose the argument with curly brackets (in
591         case it contains a closing square bracket)
592
593         * text2.C (editXY):
594         * text2.C (editXY):
595         * text3.C (checkInsetHit): constify
596
597 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
598
599         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
600         documents (bug 1629)
601
602 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
603
604         Fix toggling of collapsable insets with the mouse (bug 1558)
605
606         * lyxfunc.C (dispatch): adapt to LCursor changes
607
608         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
609         make sure that dispatch is not invoked twice
610
611         * cursor.C (needsUpdate): new method
612         (dispatch): return void
613         (result): new method, to access the DispatchResult of the cursor.
614
615 2004-08-13  José Matos  <jamatos@lyx.org>
616
617         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
618
619 2004-08-13  André Pönitz  <poenitz@gmx.net>
620
621         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
622
623         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
624           multiple cells
625
626 2004-08-12  André Pönitz  <poenitz@gmx.net>
627
628         * text3.C: take out the 'cursor right' form insertInset and only
629         do it in those places when it is really needed. Fixes crash on
630         C-m...
631
632 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
633
634         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
635
636         * BufferView_pimpl.C (setBuffer): initialize the current font of
637         the underlying LyXText
638
639 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * kbsequence.C (print): use UI native formatting for menu
642         shortcuts
643
644         * text.C (insertChar): call Paragraph::insertChar with a font
645         argument (cosmetic)
646
647         * paragraph.C (insertInset, insertChar): the version that takes a
648         LyXFont argument is now a wrapper around the other one (the
649         opposite used to be true).
650
651         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
652         argument. Font setting is done in Paragraph now.
653
654 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
655
656         * outputparams.h: add new members intitle and lang.
657
658         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
659         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
660
661 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
662
663         * text3.C (dispatch): remove special handling of button 4 and 5,
664         it is now taken care of in the frontend code.
665
666 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
667
668         * Spacing.h: add <string> (STLPort compile fix)
669
670 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
671
672         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
673
674 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
675
676         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
677         to bool.
678
679         * converter.C (showMessage): inherit from unary_function, make
680         operator() const.
681
682         * buffer.C (writeFile): initialize retval
683
684         * InsetList.h: rename private variable list to list_
685         * InsetList.[Ch]: adjust accordingly.
686
687 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
688
689         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
690         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
691         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
692         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
693         * ParagraphParameters.C, LaTeXFeatures.C: replace
694         "support/std_sstream.h" with <sstream>
695
696 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
697
698         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
699         * lyxsocket.C (LyXServerSocket): ditto
700         (serverCallback): ditto
701
702 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
703
704         * LaTeXFeatures.C: check release date when loading jurabib.
705
706 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
707
708         * lyxserver.C (startPipe): call register_socket_callback
709         (endPipe): call unregister_socket_callback
710
711 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
712
713         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
714         (LyXServerSocket): register the callback
715         (LyXServerSocket): unregister the callback
716         (fd): delete function
717         (serverCallback): improve error checking and setup the callbacks.
718         (dataCallback): change arg to fd.
719         (writeln): new func (copied fro the client socket) used for server
720         write to client.
721         (LyXDataSocket): simplify
722         (~LyXDataSocket): close ann unregiser callback
723         (server): delete function
724         (fd): delete function
725         (readln): small changes, improve some std::string usage
726         (writeln): constify a bit
727
728 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
729
730         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
731         Qt frontend
732
733 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
734
735         * BufferView_pimpl.C (setBuffer): set the layout combox value only
736         after it has been populated
737
738 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
739
740         * text2.C (insertInset): move cursor when inserting inset.
741
742 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
743
744         * kbmap.C (findbindings): a couple of new methods. returns a
745         container of kb_sequence objects. The real work is done by the
746         private recursive version
747         (printbindings): uses findbindings to print out a bracketed list
748         of bindings (renamed from findbinding).
749
750         * MenuBackend.C (binding): use kb_keymap::findbindings
751
752         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
753
754 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
755
756         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
757
758 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
759
760         * paragraph.C (isWord): return true on insets that report
761         isLetter().
762
763         * text.C (getWord): use Paragraph::isWord to decide what is in a
764         word and what is not; fix bug 1609.
765
766 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
767
768         * tex-strings.C: add "none" to string_paperpackages[], fixes
769         off-by-one-error in the paperpackage selection.
770
771         * lyxlex.[Ch]:
772         * tex-strings.[Ch]: char const * string[n]
773         -> char const * const string[]
774
775 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
776
777         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
778         command, return early.
779
780 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
781
782         * debug.h: add DEBUG to enum and fix size of ANY.
783
784         * debug.C: add support for Debug::DEBUG
785         (showTags): cast errorTags.level to unsigned int
786
787         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
788         (redoCurrentBuffer): ditto
789         (updateScrollbar): ditto
790         * cursor.C (dispatch): ditto
791         * text2.C (setLayout): ditto
792         (setFont): ditto
793         (updateCounters): ditto
794         (editXY): ditto
795         (deleteEmptyParagraphMechanism): ditto
796
797 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
798
799         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
800         annotations to cleanup the Makefile slightly.
801
802 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
803
804         * lyxrc.C: do not set user_email to a default value but use empty
805         instead. The entry used to be translated, which does not work
806         since at the point where lyxrc is constructed there is no
807         translation service available
808
809         * messages.C (getLocaleDir): remove and use directly
810         lyx_localedir() instead
811
812 2004-06-02  Angus Leeming  <leeming@lyx.org>
813
814         Fix crash caused by dereferencing null pointer 'exportdata' in
815         OutputParams by creating a new ExportData variable on the heap,
816         storing it in a boost::shared_ptr.
817         The crash was triggered when generating an Instant Preview
818         of an external inset.
819
820         * Makefile.am: add outputparams.C
821
822         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
823         (c-tor): allocate memory to it.
824
825         * exporter.C (c-tor): associated changes.
826
827 2004-06-01  Angus Leeming  <leeming@lyx.org>
828
829         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
830         contains data before calling isInset(0). (Bug 1513.)
831
832 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
833
834         * exporter.C (checkOverwrite): new method
835         * exporter.C (copyFile): new method
836         * exporter.C (Export): copy referenced files to the document dir
837         * exporter.[Ch]: new class ExportedFile
838         * exporter.[Ch]: new class ExportData. Contains currently the
839         names of referenced external files
840         * outputparams.h: add exportdata member.
841
842 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
843
844         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
845         version.C-tmp
846
847 2004-05-19  Angus Leeming  <leeming@lyx.org>
848
849         * LaTeXFeatures.C:
850         * ToolbarBackend.C:
851         * bufferparams.C:
852         * lyxfunc.C: small changes due to the introduction of namespace
853         lyx::frontend and the moving of namespace biblio to lyx::biblio.
854
855 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
856
857         * text3.C (dispatch): supress update when only moving the cursor
858         * cursor.C (selHandle): remove commented code
859
860 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
861
862         * paragraph.C (startTeXParParams): correct column count
863         * CutAndPaste.C (pasteSelection): remove const_cast
864         * output_docbook.C (docbookParagraphs): remove const_cast
865         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
866         const_cast and return ParagraphList::const_iterator
867         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
868         * output_plaintext.C (writeFileAscii): remove const_cast
869         * paragraph.[Ch] (simpleTeXOnePar): make const
870         * paragraph_funcs.C (outerPar): use const iterators
871         * paragraph_pimpl.C (validate): use const iterators
872         * text.C (setHeightOfRow): use const iterators
873
874 2004-05-17  Angus Leeming  <leeming@lyx.org>
875
876         * lfuns.h:
877         * LyXAction.C (init): new LFUN_INSET_REFRESH.
878
879         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
880         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
881         if the citation engine has changed.
882
883 2004-05-14  José Matos  <jamatos@lyx.org>
884
885         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
886         if the textclass does not provide it. Have it different for sgml and
887         xml.
888         support the language of document.
889         * output_docbook.C (docbookParagraphs):
890         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
891         first anchor as the id of the paragraph, remove special case code.
892         * sgml.C (escapeChar): escape only < & >.
893
894 2004-05-14  Angus Leeming  <leeming@lyx.org>
895
896         * bufferparams.h: move biblio::CiteEngine enum here to minimize
897         dependencies on src/frontends/controllers/biblio.h. Define a
898         CiteEngine_enum wrapper class to enable the enum to be forward
899         declared.
900
901 2004-05-12  Angus Leeming  <leeming@lyx.org>
902
903         * buffer.C: up LYX_FORMAT to 234.
904         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
905         use_numerical_citations with a single biblio::CiteEngine cite_engine
906         variable.
907         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
908
909 2004-05-13  José Matos  <jamatos@lyx.org>
910
911         * converter.h:
912         * converter.C (Converter, readFlags): add xml member.
913         * outputparams.h: add XML flavor.
914         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
915
916 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
917
918         * lyxfunc.C (dispatch):
919         (getStatus): fix handling of LFUN_SEQUENCE
920
921 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
922
923         * debug.C (showLevel): do not forget the end-of-line marker
924
925 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
926
927         * kbmap.C (read): do not stop parsing a bind file when an error
928         occurs (bug 1575)
929
930 2004-04-29  Angus Leeming  <leeming@lyx.org>
931
932         * cursor.C:
933         * factory.C:
934         * pariterator.C:
935         * text2.C: wrap a bunch of #warning statements
936         inside #ifdef WITH_WARNINGS blocks.
937
938 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
939
940         * buffer.C: increment format to 233.
941
942 2004-04-28  Angus Leeming  <leeming@lyx.org>
943
944         * BufferView_pimpl.C:
945         * lyxfunc.C:
946         * text3.C:
947         s/updateToolbar()/updateToolbars()/
948         s/Toolbar.h/Toolbars.h/
949
950 2004-04-28  Angus Leeming  <leeming@lyx.org>
951
952         * BufferView.[Ch] (c-tor):
953         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
954         No longer passes these data to the WorkArea generator.
955
956 2004-04-28  Angus Leeming  <leeming@lyx.org>
957
958         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
959
960 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
961
962         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
963
964 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
965
966         * output_latex.C (TeXEnvironment): make sure that there is a line
967         break before \end{foo} for the last paragraph of a document
968         (TeXOnePar): if the paragraph is at the end of the document (or
969         inset) and the language has to be reset, then make sure that the
970         line break is _before_ the language command, not after (fixes bug
971         1225); also make sure that the language reset command is the first
972         thing after the paragraph (to ensure proper nesting of
973         environments and thus fix bug 1404)
974
975 2004-04-21  John Levon  <levon@movementarian.org>
976
977         * ToolbarBackend.h:
978         * ToolbarBackend.C: make "name" be a programmatic name
979         and a gui_name field.
980
981         * lyxfunc.C: display the minibuffer on M-x
982
983 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
984
985         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
986         (bug 1526)
987
988 2004-04-19  Angus Leeming  <leeming@lyx.org>
989
990         * BufferView_pimpl.C (setBuffer): changed preview interface.
991
992         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
993         possible values.
994
995 2004-04-19  John Levon  <levon@movementarian.org>
996
997         * BufferView_pimpl.C:
998         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
999
1000 2004-04-05  Angus Leeming  <leeming@lyx.org>
1001
1002         * text.C (redoParagraphs): add call to updateCounters(), thereby
1003         fixing the missing "Figure #:" label from the caption of a
1004         figure float.
1005
1006 2004-04-13  Angus Leeming  <leeming@lyx.org>
1007
1008         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1009         cursor is clicked out of an inset.
1010
1011 2004-04-13  Angus Leeming  <leeming@lyx.org>
1012
1013         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1014         than an InsetOld one.
1015
1016 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1017
1018         * format.[Ch]: add editor to Format
1019         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1020         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1021
1022 2004-04-08  André Pönitz  <poenitz@gmx.net>
1023
1024         * metricsinfo.h: remove PainterInfo::width member
1025
1026 2004-04-08  Angus Leeming  <leeming@lyx.org>
1027
1028         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1029         "\providecommand" rather than "\newcommand", thereby preventing
1030         clashes with packages that define "\boldsymbol" themselves.
1031         Eg, beamer.
1032
1033 2004-04-08  Angus Leeming  <leeming@lyx.org>
1034
1035         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1036         thereby squashing an unnecessary warning.
1037
1038 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1039
1040         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1041         setBuffer()
1042
1043 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1044
1045         * BufferView.C (setCursor): call redoParagraph (some insets could
1046         have been opened)
1047         (putSelectionAt): remove the 'double update' trick
1048
1049         * BufferView_pimpl.C (fitCursor): call refreshPar
1050         (workAreaDispatch): remove an uneeded update call
1051         (dispatch): remove some manual update calls
1052
1053         * cursor.[Ch]: remove cached_y_, updatePos
1054         (selHandle): set noUpdate when appropriate
1055
1056         * lyxfunc.C (dispatch): track if we need an update
1057
1058         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1059
1060         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1061         (paintSelection): cheap optimization, do not call cursorX when not
1062         needed
1063         (paintPars): change signature
1064         (refreshPar): add
1065         (paintText): adjust
1066         (paintTextInset): adjust
1067
1068         * text.C: adjust
1069
1070 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1071
1072         * lengthcommon.C: compilation fix: remove explicit array size from
1073         unit_name[] and friends
1074
1075 2004-04-05  Angus Leeming  <leeming@lyx.org>
1076
1077         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1078
1079         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1080         present only for the preferences dialog.
1081         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1082
1083 2004-04-05  Angus Leeming  <leeming@lyx.org>
1084
1085         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1086         to enable the frontends to export changes to lyxrc correctly.
1087
1088         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1089
1090 2004-04-07  André Pönitz  <poenitz@gmx.net>
1091
1092         * cursor.[Ch] (selClear, adjust): remove math
1093
1094         * cursor_slice.C: more agressive assert
1095
1096         * lyxfunc.C:
1097         * BufferView_pimpl.C: rework mouse event dispatch
1098
1099         * dociterator.C:
1100         * paragraph.C:
1101         * text2.C:
1102         * text3.C: adjust
1103
1104 2004-04-05  André Pönitz  <poenitz@gmx.net>
1105
1106         * cursor.[Ch] (valign, halign...): remove unneeded functions
1107
1108 2004-04-05  Angus Leeming  <leeming@lyx.org>
1109
1110         * lyxlength.[Ch] (unit_name et al.): const-correct.
1111
1112 2004-04-05  Angus Leeming  <leeming@lyx.org>
1113
1114         * BufferView_pimpl.C:
1115         * buffer.C:
1116         * counters.C:
1117         * cursor.C:
1118         * lyxfunc.C
1119         * paragraph.C:
1120         * pariterator.C:
1121         * text.C:
1122         * text2.C:
1123         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1124
1125 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1126
1127         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1128
1129 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1130
1131         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1132         * BufferView_pimpl.[Ch] (getStatus)
1133         * BufferView.[Ch] (getStatus): add
1134         * lyxfunc.C (getStatus): move lfuns handled in
1135         BufferView::dispatch to te function above
1136         * Cursor.C (setSelection): set selection() = true
1137
1138 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1139
1140         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1141
1142 2004-03-31  Angus Leeming  <leeming@lyx.org>
1143
1144         * lyxfunc.C (dispatch): Fall through to the generic
1145         Dialogs::show("preamble").
1146
1147 2004-03-31  Angus Leeming  <leeming@lyx.org>
1148
1149         * lyxfunc.C (dispatch): Fall through to the generic
1150         Dialogs::show("spellchecker").
1151
1152 2004-03-31  Angus Leeming  <leeming@lyx.org>
1153
1154         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1155         preferences dialog.
1156
1157 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1158
1159         * BufferView.C
1160         * cursor.[Ch]
1161         * dociterator.[Ch]:
1162         * insetiterator.[Ch]:
1163         * lyxfind.C:
1164         * lyxfunc.C:
1165         * pariterator.[Ch]:
1166         * text2.C:
1167         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1168
1169 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1170
1171         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1172         insets where we are putting the cursor.
1173
1174 2004-03-31  Angus Leeming  <leeming@lyx.org>
1175
1176         * lfuns.h:
1177         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1178
1179         * lyxrc.[Ch] (read, write): overloaded member functions taking
1180         a std::[io]stream arguments.
1181
1182         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1183
1184 2004-03-31  Angus Leeming  <leeming@lyx.org>
1185
1186         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1187         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1188
1189         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1190         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1191
1192 2004-03-31  Angus Leeming  <leeming@lyx.org>
1193
1194         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1195         the LFUN_ALL_INSETS_TOGGLE code.
1196
1197 2004-03-30  Angus Leeming  <leeming@lyx.org>
1198
1199         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1200         has died. Fall through to the generic Dialogs::show("document").
1201
1202 2004-03-30  Angus Leeming  <leeming@lyx.org>
1203
1204         * lfuns.h:
1205         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1206         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1207
1208         * lyxfunc.C (getStatus, dispatch): define the actions for these
1209         lfuns. Little more than a cut and pste job from ControlDocument.C
1210
1211         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1212
1213 2004-03-30  Angus Leeming  <leeming@lyx.org>
1214
1215         * lfuns.h:
1216         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1217         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1218
1219         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1220         open/closed state of ollapsable insets. Usage:
1221
1222         all-inset-toggle <state> <name>, where
1223         <state> == "open" || "closed" || "toggle" and
1224         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1225
1226         * lyxtext.h, text2.C (toggleInset): removed.
1227
1228         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1229         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1230         now passes LFUN_INSET_TOGGLE to the found inset.
1231
1232         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1233         is now invoked as "all-insets-toggle toggle branch".
1234
1235 2004-03-30  Angus Leeming  <leeming@lyx.org>
1236
1237         * dociterator.C:
1238         * insetiterator.C:
1239         * pariterator.[Ch]: added/corrected header blurb.
1240
1241 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1242
1243         * dociterator.[Ch]: add an inset_ member
1244         (backwardPos): implemented
1245         (backwardPos, forwardPos): use inset_ when the stack is empty.
1246         (doc_iterator_begin, doc_iterator_end): implemented
1247         * pariterator.[Ch]: adjust, add begin, end
1248         * insetiterator.[Ch]: adjust, add begin, end
1249         * cursor.C:
1250         * document.C:
1251         * BufferView.C:
1252         * BufferView_pimpl.C:
1253         * CutAndPaste.C: adjust
1254
1255 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1256
1257         * buffer.C: increment file format to 232.
1258         * LaTeXFeatures.C: add bibtopic package.
1259         * bufferparams.[Ch]: param \use_bibtopic.
1260
1261         * lyxrc.[Ch]: add lyxrc bibtex_command
1262         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1263
1264         * buffer.C: increment file format to 231.
1265
1266 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1267
1268         * dociterator.C: implement forwardPar
1269         * iterators.[Ch]: remove, replaced by
1270         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1271         * BufferView.C:
1272         * BufferView_pimpl.C:
1273         * CutAndPaste.C:
1274         * buffer.C:
1275         * bufferview_funcs.C:
1276         * cursor.C:
1277         * lyxfind.C
1278         * lyxfunc.C
1279         * paragraph_funcs.C
1280         * toc.C:
1281         * Makefile.am: adjust
1282
1283 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1284
1285         * CutAndPaste.C (pasteSelection): fix 2 crashes
1286         (eraseSelection): fix a crash
1287         * paragraph_funcs.C: remove a warning
1288
1289 2004-03-28  Angus Leeming  <leeming@lyx.org>
1290
1291         * lfuns.h:
1292         * LyXAction.C (init): new LFUN_PRINT.
1293
1294         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1295
1296 2004-03-27  Angus Leeming  <leeming@lyx.org>
1297
1298         * lfuns.h:
1299         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1300
1301         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1302
1303 2004-03-27  Angus Leeming  <leeming@lyx.org>
1304
1305         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1306         insetlist always contains non-null pointers to insets.
1307
1308 2004-03-26  Angus Leeming  <leeming@lyx.org>
1309
1310         * src/BufferView_pimpl.C:
1311         * src/CutAndPaste.C:
1312         * src/buffer.C:
1313         * src/iterators.C:
1314         * src/output_plaintext.C:
1315         * src/outputparams.h:
1316         * src/paragraph_funcs.C:
1317         * src/rowpainter.C:
1318         * src/text.C:
1319         * src/text2.C:
1320         * src/frontends/controllers/ControlErrorList.C:
1321         * src/frontends/gtk/FileDialogPrivate.C:
1322         * src/frontends/gtk/GPainter.C:
1323         * src/frontends/gtk/GToolbar.C:
1324         * src/frontends/qt2/QRef.C:
1325         * src/mathed/math_scriptinset.C: squash compiler warnings.
1326
1327 2004-03-26  Angus Leeming  <leeming@lyx.org>
1328
1329         * ispell.C (LaunchIspell::start):
1330         * lyx_cb.C (AutoSaveBuffer::start):
1331         invoke run(DontWait) rather than runNonBlocking().
1332
1333 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1334
1335         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1336
1337 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1338
1339         * kbsequence.C (print): adjust
1340
1341         * kbmap.C (printKeySym): rename and change signature
1342         (printKey): use LyXKeySym::print()
1343
1344 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1345
1346         * undo.C: add using std::advance to compile for stlport
1347
1348 2004-03-24  Angus Leeming  <leeming@lyx.org>
1349
1350         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1351         it leads to a crash when no buffer is present.
1352
1353 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1354             Martin Vermeer  <martin.vermeer@hut.fi>
1355
1356         * lyxfunc.C (dispatch):
1357         * bufferparams.C (readToken): use the new LColor::setColor
1358
1359         * LColor.[Ch] (setColor): new version that takes two strings as
1360         argument and creates a new color entry if necessary
1361
1362 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1363
1364         * buffer.C (makeLaTeXFile): if the main latex file that is
1365         processed is usually a subdocument of some master, then pretend
1366         for a while that it is actually the master
1367
1368 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1369
1370         * buffer.C (getLabelList):
1371         (getBibkeyList): use getMasterBuffer()
1372         (getMasterBuffer): new method. Returns the main document in the
1373         case where one is using included documents.
1374
1375 2004-03-25  André Pönitz  <poenitz@gmx.net>
1376
1377         * Makefile.am:
1378         * iterators.[Ch]:
1379         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1380
1381         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1382
1383         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1384         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1385
1386         * ParameterStruct.h: merge with ParagraphParameters
1387
1388         * lyxtext.h: remove LyXText::parOffset() and getPar()
1389
1390         * text3.C: Remove all 'manual' update calls. We do now one per user
1391         interaction which is completely sufficient.
1392
1393         * Bidi.C:
1394         * BufferView.[Ch]:
1395         * BufferView_pimpl.C:
1396         * FontIterator.[Ch]:
1397         * MenuBackend.C:
1398         * ParagraphParameters.[Ch]:
1399         * buffer.C:
1400         * buffer.h:
1401         * bufferlist.C:
1402         * cursor.[Ch]:
1403         * cursor_slice.[Ch]:
1404         * dociterator.[Ch]:
1405         * errorlist.[Ch]:
1406         * factory.C:
1407         * lfuns.h:
1408         * lyxfind.C:
1409         * lyxfunc.C:
1410         * output_docbook.[Ch]:
1411         * output_latex.[Ch]:
1412         * output_linuxdoc.[Ch]:
1413         * output_plaintext.[Ch]:
1414         * paragraph.[Ch]:
1415         * paragraph_funcs.[Ch]:
1416         * paragraph_pimpl.[Ch]:
1417         * rowpainter.C:
1418         * tabular.[Ch]:
1419         * text.C:
1420         * text2.C:
1421         * toc.C:
1422         * undo.[Ch]: adjust
1423
1424         * frontends/controllers/ControlDocument.C:
1425         * frontends/controllers/ControlErrorList.C:
1426         * frontends/controllers/ControlSpellchecker.C:
1427         * insets/inset.C:
1428         * insets/inset.h:
1429         * insets/insetbase.h:
1430         * insets/insetbibitem.C:
1431         * insets/insetbox.C:
1432         * insets/insetbranch.C:
1433         * insets/insetcaption.C:
1434         * insets/insetcharstyle.C:
1435         * insets/insetcharstyle.h:
1436         * insets/insetcollapsable.C:
1437         * insets/insetcollapsable.h:
1438         * insets/insetert.C:
1439         * insets/insetfloat.C:
1440         * insets/insetfoot.C:
1441         * insets/insetmarginal.C:
1442         * insets/insetnote.C:
1443         * insets/insetoptarg.C:
1444         * insets/insettabular.C:
1445         * insets/insettext.C:
1446         * insets/insettext.h:
1447         * insets/insetwrap.C:
1448         * mathed/math_mboxinset.C:
1449         * mathed/math_nestinset.C:
1450         * mathed/math_scriptinset.C:
1451         * mathed/math_scriptinset.h:
1452         * support/types.h:
1453
1454 2004-03-24  Angus Leeming  <leeming@lyx.org>
1455
1456         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1457         deal with any child processes that have finished but are waiting to
1458         communicate this fact to the rest of LyX.
1459
1460 2004-03-24  Angus Leeming  <leeming@lyx.org>
1461
1462         64-bit compile fixes.
1463
1464         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1465         (c-tor): pass lyx::pos_types rather than ints.
1466
1467         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1468         lyx::pos_type.
1469
1470         * text.C (Delete): compile fix.
1471         (getPar): ensure that function declaration is the same as that in
1472         the header file.
1473
1474 2004-03-23  Angus Leeming  <leeming@lyx.org>
1475
1476         * ispell.C (LaunchIspell):
1477         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1478         a boost::shred_ptr rather than a std::auto_ptr.
1479
1480 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1481
1482         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1483         handle LFUN_FILE_INSERT_*
1484
1485         * lyxrc.C (setDefaults, getDescription, output, read):
1486         * lyxrc.h: remove ps_command
1487
1488 2004-03-22  Angus Leeming  <leeming@lyx.org>
1489
1490         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1491         Ensure that error_handler is processed once only and that all data
1492         is saved before attempting to output any warning messages.
1493
1494         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1495
1496 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1497
1498         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1499
1500 2004-03-19  André Pönitz  <poenitz@gmx.net>
1501
1502         * cursor.[Ch] (reset): take main text inset as argument
1503
1504         * BufferView: adjust
1505         * BufferView_pimpl.C: adjust
1506
1507         * paragraph.[Ch]: fix completely broken operator=()
1508
1509 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1510
1511         * LColor.C (getFromLyXName): make sure that the color name is used
1512         as lowercase.
1513
1514 2004-03-17  Angus Leeming  <leeming@lyx.org>
1515
1516         * lfuns.h:
1517         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1518
1519         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1520         dialog and to kill a forked process.
1521
1522 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1523
1524         * text2.C (setCursorFromCoordinates): fix font problem
1525
1526 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1527
1528         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1529         bogus "rebuild cursor" code
1530
1531 2004-03-11  André Pönitz  <poenitz@gmx.net>
1532
1533         * buffer.[Ch]: use InsetText instead of LyXText as container for
1534         the main lyx text.
1535
1536         * dociterator.[Ch]: drop the BufferView * member which is not needed
1537         anymore after the change to buffer.C
1538
1539         * paragraph_funcs.C:
1540         * text.C:
1541         * text2.C:
1542         * BufferView.[Ch]:
1543         * BufferView_pimpl.[Ch]:
1544         * cursor.[Ch]:
1545         * cursor_slice.[Ch]: adjust
1546
1547         * text3.C: fix bug in mathDispatch
1548
1549 2004-03-08  André Pönitz  <poenitz@gmx.net>
1550
1551         * undo.[Ch]: use 'StableDocumentIterator' as base for
1552         the Undo struct.
1553
1554 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1555
1556         * LaTeXFeatures.C:
1557         * bufferparams.[Ch]: add jurabib support and param.
1558
1559         * LaTeX.C: add FIXME/comment.
1560
1561 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1562
1563         * buffer.C: increment file format to 230.
1564
1565 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1566
1567         * cursor.C (dispatch): avoid infinite loops
1568
1569 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1570
1571         * rowpainter.C (paintSelection): fix x coordinates
1572
1573 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1574
1575         * text.C (rowBreakPoint): fix breaking before displayed insets
1576
1577 2004-03-01  André Pönitz  <poenitz@gmx.net>
1578
1579         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1580
1581         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1582
1583         * Makefile.am:
1584         * BufferView.C:
1585         * BufferView_pimpl.C:
1586         * buffer.C:
1587         * lyxfind.C:
1588         * lyxfunc.C:
1589         * text.C:
1590         * text2.C:
1591         * text3.C: adjust
1592
1593 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1594
1595         * lyxtext.h:
1596         * text.C:
1597         * text2.C:
1598         * rowpainter.C:
1599         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1600         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1601
1602 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1603
1604         * Bidi.[Ch] (computeTables): const correctness
1605         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1606         fill_hfill, fill_label_hfill and x from Row
1607         * lyxtext.h: prepareToPrint returns a RowMetrics
1608         * rowPainter.C: adjust
1609         * text.C (prepareToPrint): use width, not textWidth. adjust
1610         (redoParagraphInternal, cursorX): adjust
1611         * text2.C (getColumnNearX): adjust
1612         (init): put a default value to the top LyXText::width
1613
1614 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1615
1616         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1617
1618 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1619
1620         * lyxtext.h: add FontIterator class
1621
1622         * text.C (FontIterator, operator*, operator->, operator++): add
1623         (rowBreakPoint, setRowWidth): adjust (fixing a
1624         rebreaking bug)
1625
1626 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1627
1628         * BufferView_pimpl.C (workAreaDispatch): allow also
1629         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1630
1631 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1632
1633         * text.C (rowBreakPoint): fix a bug showing with very large insets
1634
1635 2004-02-25  André Pönitz  <poenitz@gmx.net>
1636
1637         * text3.C:
1638         * cursor.[Ch]: move some mathed specific code to mathed
1639
1640 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1641
1642         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1643         use_tempdir in preferences
1644         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1645         tempfile creation
1646         * lyx_main.C: ensure that tempdir is valid
1647         * lyxlex.h: correct typo
1648         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1649         * paragraph.[Ch] (isMultiLingual): make const
1650         * cursor.[Ch] (openable): make const
1651
1652 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1653
1654         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1655
1656 2004-02-20  André Pönitz  <poenitz@gmx.net>
1657
1658         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1659
1660         * cursor.[Ch]: prepare for localized getStatus()
1661
1662         * lyxtext.h:
1663         * tabular.C:
1664         * text.C:
1665         * text2.C:
1666         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1667
1668 2004-02-20  André Pönitz  <poenitz@gmx.net>
1669
1670         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1671
1672 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1673
1674         * text2.C (setCursorFromCoordinates): switch to absolute coords
1675         (cursorUp): adjust
1676         (cursorDown): adjust
1677         * text3.C (dispatch): adjust
1678
1679 2004-02-16  André Pönitz  <poenitz@gmx.net>
1680
1681         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1682           insets/ChangeLog)
1683
1684         * cursor_slice.[Ch]: remove unneeded acessor function
1685
1686         * lyxtext.h: rename rtl() to isRTL()
1687
1688         * rowpainter.C:
1689         * tabular.C:
1690         * text.C:
1691         * text2.C:
1692         * text3.C: adjust
1693
1694 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1695
1696         * rowpainter.C (paintSelection): coord fix
1697
1698 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1699
1700         * Spacing.C: compile fix
1701
1702 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1703
1704         * cursor.C (dispatch): restore current_ before returning
1705
1706 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1707
1708         * text2.C (cursorUp, cursorDown): fix coords
1709         (moveUp): fix crash
1710
1711 2004-02-12  André Pönitz  <poenitz@gmx.net>
1712
1713         * lyxtext.h:
1714         * text.C:
1715         * text2.C:
1716         * text3.C: add LCursor & parameter to most cursor movement functions
1717           remove usage of LyXText::cursorRow() and cursorPar()
1718
1719         * cursor.[Ch]: add textRow() needed members
1720
1721         * BufferView.C:
1722         * BufferView_pimpl.C:
1723         * paragraph.[Ch]:
1724         * BufferView.C:
1725         * BufferView_pimpl.C: adjust
1726
1727 2004-02-11  André Pönitz  <poenitz@gmx.net>
1728
1729         * lyxfunc.C:
1730         * BufferView.[Ch]:
1731         * BufferView_pimpl.C: shift undo/redo handling
1732
1733         * cursor.[Ch]: fix mathed crash
1734
1735         * lyxfind.C:
1736         * lyxtext.h: move selectionAsText to LCursor
1737
1738         * output_latex.C:
1739         * paragraph.C:
1740         * text.C:
1741         * text2.C:
1742         * text3.C: adjust
1743
1744         * rowpainter.C: fix excessive drawing
1745
1746 2004-02-06  André Pönitz  <poenitz@gmx.net>
1747
1748         * BufferView.[Ch]:
1749         * BufferView_pimpl.[Ch]:
1750         * text3.C: move some text specific LFUN handling
1751
1752 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1753
1754         * text3.C (checkInsetHit): adjust coords
1755         * text2.C (getColumnNearX): adjust coords
1756         (edit): adjust coords
1757         * text.C (getRowNearY): add two asserts
1758
1759 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1760
1761         * converter.C:
1762         * format.C: add using std::distance to compile on gcc 2.95/stlport
1763
1764 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1765
1766         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1767
1768 2004-02-04  André Pönitz  <poenitz@gmx.net>
1769
1770         * BufferView.[Ch] (insertInset):
1771         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1772
1773         * text2.C:
1774         * text3.C: adjust
1775
1776 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1777
1778         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1779         on the default clause of the switch
1780         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1781         wasn't catched by LCursor::dispatch
1782
1783 2004-02-03  André Pönitz  <poenitz@gmx.net>
1784
1785         * BufferView.C:
1786         * cursor.[Ch]: some additional asserts
1787
1788         * undo.[Ch]: remove LyXText dependency in interface
1789
1790         * lyxfunc.C: adjust
1791
1792         * lyxtext.h (firstPar, lastPar): remove dead functions
1793
1794         * text.C:
1795         * text2.C:
1796         * text3.C:
1797         * paragraph.[Ch]: adjust
1798
1799 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1800
1801         * lyxfind.C (find): fix argument order in call to ::find
1802
1803 2004-02-02  André Pönitz  <poenitz@gmx.net>
1804
1805         * cursor.[Ch]: remove direct access to anchor
1806
1807         * text.C: remove findText() hack
1808
1809 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1810
1811         * iterators.[Ch] (lockPath): remove in favour of...
1812         * BufferView.[Ch] (setCursor): this addition
1813         * BufferView.C (putSelectionAt): adjust
1814         * undo.C (performUndoOrRedo): adjust
1815         * lyxfunc.C (dispatch): adjust
1816
1817 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1818
1819         * iterators.C (lockPath): add a missing slice
1820         * undo.C (performUndoOrRedo): remove redundant positioning code
1821
1822 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1823
1824         * vc-backend.C (scanMaster): ";" -> ';'
1825
1826 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1827
1828         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1829         std::binary_function
1830
1831         * lyxtextclass.C (compare_name): rename to...
1832         (LayoutNamesEqual): ...this
1833
1834         * lyxlex_pimpl.C (compare_tags): inherit from
1835         std::binary_function, put back into anon namespace
1836
1837         * lyxfind.C (MatchString): inherig from std::binary_function
1838         (findChange): use empty() istead of !size()
1839
1840         * format.C (FormatNamesEqual): new functor
1841         (getFormat): use it
1842         (getNumber): use it
1843         (add): use it
1844         (erase): use it
1845         (setViewer): use it
1846
1847         * converter.C (compare_Converter): rename to...
1848         (ConverterEqual): ...this, and fixup a bit.
1849         (getConverter): use it, and make function const
1850         (getNumber): use it, and make function const
1851         (add): use it
1852         (erase): use it:
1853
1854         * bufferlist.C: add using boost::bind
1855
1856         * MenuBackend.C (MenuNamesEqual): new functor
1857         (hasMenu): use it, and make function const
1858         (hasSubmenu): use nested bind to get rid of compare_memfun.
1859
1860 2004-01-30  André Pönitz  <poenitz@gmx.net>
1861
1862         * BufferView_pimpl.C:
1863         * cursor.C:
1864         * cursor.h:
1865         * cursor_slice.[Ch]:
1866         * lyxfunc.C:
1867         * lyxtext.h:
1868         * paragraph_funcs.C:
1869         * paragraph_funcs.h:
1870         * rowpainter.C:
1871         * text.C:
1872         * text2.C:
1873         * text3.C: move some of the edit(x,y) handling to the insets
1874         some coordinate changes.
1875
1876 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1877
1878         * text.C: add using statements for std::advance and std::distance
1879
1880         * paragraph.C: add using statement for std::distance
1881
1882         * lyxfind.C: add using statement for std::advance
1883
1884         * cursor.C (region): remove std:: from swap
1885         (openable): use nucleus in stead of operator->
1886
1887         * BufferView.C: add using statements for std::distance and std::swap
1888
1889 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1890
1891         * iterators.C: Remove the pimple, move the needed structures to
1892         the header file. Create accessor for the positions stack.
1893         (asPosIterator): remove function
1894
1895         * PosIterator.C (PosIterator): move constructors to top of file
1896         (PosIterator): reimplement the constructor taking a ParIterator in
1897         terms of setFrom.
1898         (setFrom): new function
1899         (operator!=): inline it
1900
1901 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1902
1903         * lyxfind.C (replaceAll): use std::advance
1904
1905         * iterators.h: inherit from std::iterator.
1906
1907         * PosIterator.C (advance, distance): remove
1908         * PosIterator.h: interit from std::iterator.
1909
1910 2004-01-26  André Pönitz  <poenitz@gmx.net>
1911
1912         * BufferView.[Ch]:
1913         * BufferView_pimpl.[Ch]:
1914         * InsetList.[Ch]:
1915         * PosIterator.[Ch]:
1916         * buffer.h:
1917         * bufferview_funcs.C:
1918         * cursor.[Ch]:
1919         * cursor_slice.h:
1920         * factory.[Ch]:
1921         * iterators.[Ch]:
1922         * lyxfind.C:
1923         * lyxfunc.C:
1924         * lyxtext.h:
1925         * output_docbook.C:
1926         * output_latex.C:
1927         * output_linuxdoc.C:
1928         * output_plaintext.C:
1929         * paragraph.[Ch]:
1930         * paragraph_funcs.[Ch]:
1931         * paragraph_pimpl.[Ch]:
1932         * rowpainter.C:
1933         * tabular.C:
1934         * tabular.h:
1935         * text.C:
1936         * text2.C:
1937         * text3.C: more IU:  dumps most of the rest of the mathcursor
1938     implementation into cursor.[Ch]; "globalize" a bit of it.
1939
1940 2004-01-25  Angus Leeming  <leeming@lyx.org>
1941
1942         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1943
1944 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1945
1946         * LaTeXFeatures.h: add nice_ and nice() const
1947         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1948
1949 2004-01-20  André Pönitz  <poenitz@gmx.net>
1950
1951         * BufferView.[Ch]:
1952         * BufferView_pimpl.C:
1953         * PosIterator.C:
1954         * bufferview_funcs.C:
1955         * cursor.[Ch]:
1956         * cursor_slice.[Ch]:
1957         * factory.C:
1958         * iterators.C:
1959         * lyx_cb.C:
1960         * lyxfind.C:
1961         * lyxfunc.C:
1962         * lyxtext.h:
1963         * rowpainter.C:
1964         * text.C:
1965         * text2.C:
1966         * text3.C:
1967         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1968           LCursor and mathcursor parts to LCursor and InsetBase.
1969
1970 2004-01-15  André Pönitz  <poenitz@gmx.net>
1971
1972         * cursor_slice.[Ch]: add a few covienience functions
1973
1974         * funcrequest.[Ch]: remove BufferView * member
1975
1976         * BufferView_pimpl.C:
1977         * cursor.C:
1978         * factory.[Ch]:
1979         * lyxfind.[Ch]:
1980         * lyxfunc.C:
1981         * lyxtext.h:
1982         * text3.C:
1983         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1984
1985 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1986
1987         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1988         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1989
1990 2004-01-13  André Pönitz  <poenitz@gmx.net>
1991
1992         * textcursor.[Ch]:
1993         * lyxtext.h: hide cursor and selection anchor behind accessor function
1994
1995         * BufferView.C:
1996         * BufferView_pimpl.[Ch]:
1997         * PosIterator.C:
1998         * bufferview_funcs.C:
1999         * cursor.h:
2000         * lyxfind.C:
2001         * lyxfunc.C:
2002         * text.C:
2003         * text2.C:
2004         * text3.C:
2005         * undo.C: adjust
2006
2007         * cursor.h:
2008         * cursor_slice.[Ch]: some integer type changes for inset unification
2009
2010         * lyxcursor.[hC]: remove, it's CursorSlice now.
2011
2012         * Makefile.am:
2013         * BufferView_pimpl.[Ch]:
2014         * bufferview_funcs.C:
2015         * cursor_slice.C:
2016         * lyxtext.h:
2017         * text.C:
2018         * text2.C:
2019         * text3.C:
2020         * textcursor.[Ch]: adjust
2021
2022 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2023
2024         * text2.C (undoSpan): add and use
2025         * text.C (breakParagraph): use undoSpan (fix bug 578)
2026         * lyxtext.h: adjust
2027
2028 2004-01-08  Angus Leeming  <leeming@lyx.org>
2029
2030         * BufferView_pimpl.C (MenuInsertLyXFile):
2031         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2032         * lyxfunc.C (menuNew, open, doImport):
2033         FileFilterList change to the FileDialog open and save functions.
2034
2035 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2036
2037         * ShareContainer.h: make isEqual and isUnique adaptable
2038
2039         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2040
2041 2004-01-07  Angus Leeming  <leeming@lyx.org>
2042
2043         * LyXAction.C:
2044         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2045
2046         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2047
2048         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2049         functions replacing find, replace and replaceAll.
2050
2051         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2052         LFUN_WORDFIND(FORWARD|BACKWARD).
2053
2054 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2055
2056         * text.C (breakParagraph): remove an outdated #warning
2057
2058 2004-01-07  André Pönitz  <poenitz@gmx.net>
2059
2060         * lyxfind.C: somewhat clearer logic
2061
2062         * text.C: prevent crash in cursorX on unitialized row cache
2063
2064 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2065
2066         * lyxcursor.[Ch] (operator>): add
2067         * textcursor.C (selStart, selEnd): use std::min and std::max
2068
2069 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2070
2071         * Chktex.C: include boost/format.hpp
2072
2073 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2074
2075         * InsetList.C: replace functor MathcIt with adaptable functor
2076         InsetTablePosLess
2077         (insetIterator): modify accordingly
2078
2079         * BranchList.h: move the BranchNamesEqual functor here from...
2080         * BranchList.C: ... to here
2081
2082         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2083         SameName and match.
2084         (add): replace a finding loop with std::find_if.
2085
2086 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2087
2088         * output_docbook.C: moving LatexParam functionality into
2089         .layout files
2090
2091 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2092
2093         * buffer.C: increment format to 229.
2094
2095 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2096
2097         * LaTeXFeatures.C:
2098         * lyx_sty.[Ch]: remove minipageindent_def
2099
2100         * LyXAction.C:
2101         * factory.C:
2102         * lfuns.h:
2103         * lyxfunc.C:
2104         * text3.C: remove LFUN_INSET_MINIPAGE
2105
2106 2003-12-28  Angus Leeming  <leeming@lyx.org>
2107
2108         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2109
2110 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2111
2112         * text2.C (setParagraph): fix off-by-one crash
2113
2114 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2115
2116         * output_docbook.C: header stuff for AGU
2117
2118 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2119
2120         * text2.C (redoCursor): remove
2121         * text.C:
2122         * text3.C:
2123         * BufferView_pimpl.C: remove calls to redoCursor and
2124         setCursor(cursor.par(), cursor.pos()) all around
2125
2126 2003-12-15  Angus Leeming  <leeming@lyx.org>
2127
2128         * buffer.C: up the format to 228.
2129
2130 2003-12-15  André Pönitz  <poenitz@gmx.net>
2131
2132         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2133         slices
2134
2135         * Makefile.am:
2136
2137         * BufferView_pimpl.C:
2138         * cursor.[Ch]:
2139         * lyxcursor.[Ch]:
2140         * rowpainter.[Ch]:
2141         * lyxtext.h:
2142         * text.C:
2143         * text2.C:
2144         * text3.C: adjust
2145
2146 2003-12-15  Angus Leeming  <leeming@lyx.org>
2147
2148         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2149         than getFromGUIName to manipulate the color.
2150
2151 2003-12-14  Angus Leeming  <leeming@lyx.org>
2152
2153         * BranchList.[Ch]: minimize the API.
2154         (Branch::getBranch, getColor): now return a 'const &'.
2155         (Branch::setSelected) now returns a bool set to true if the
2156         selection status changes.
2157         (BranchList::clear, size, getColor, setColor, setSelected,
2158         allBranches, allSelected, separator): removed.
2159         (BranchList::find): new functions, returning the Branch with
2160         the given name.
2161         (BranchList::add, remove): return a bool indicating that
2162         the operation was successful.
2163
2164         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2165         new InsetBranch::isBranchSlected member function.
2166
2167         * LColor.[Ch]: mimimize the API.
2168         (fill): renamed as addColor and made private.
2169         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2170         versions of these functions taking a string arg have been removed.
2171
2172         * bufferparams.C (readToken):
2173         * lyxfunc.C (dispatch):
2174         * lyxrc.C (read): changes due to the altered BranchList and
2175         LColor APIs.
2176
2177         * factory.C (createInset, readInset): changes due to altered
2178         InsetBranch c-tor.
2179
2180 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2181
2182         * factory.C:
2183         * lyxfunc.C: remove insetminipage. "minipage-insert"
2184         now produces a frameless minipage box inset.
2185
2186 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2187
2188         * textcursor.[Ch] (selStart,selEnd): add new methods
2189         remove selection::start, end, use LyXCursor::operator<
2190         * lyxcursor.[Ch] (operator<): add
2191         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2192         * BufferView.[Ch] (unsetXSel): add
2193         * text2.C (clearSelection): use unsetXSel,adjust
2194         * text.C: adjust
2195         * text3.C: adjust
2196         * rowpainter.C: adjust
2197         * bufferview_funcs.C (put_selection_at): adjust
2198
2199 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2200
2201         * BufferView_pimpl.C: small coord. correction
2202
2203 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2204
2205         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2206         dragging over the splash screen.
2207
2208 2003-12-11  Angus Leeming  <leeming@lyx.org>
2209
2210         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2211         as it is now handled in LyXText::dispatch.
2212
2213         * text3.C (doInsertInset): remove a level of nesting.
2214
2215 2003-12-11  Angus Leeming  <leeming@lyx.org>
2216
2217         * factory.C (createInset): changes due to the changed interface to
2218         InsetCommandMailer::string2params.
2219
2220 2003-12-10  Angus Leeming  <leeming@lyx.org>
2221
2222         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2223         'dialog-show-new-inset <inset name>'
2224
2225 2003-12-10  Angus Leeming  <leeming@lyx.org>
2226
2227         * buffer.C: up the format to 227.
2228
2229         * factory.C: the box inset is now identified simply by 'Box'.
2230
2231 2003-12-10  Angus Leeming  <leeming@lyx.org>
2232
2233         * buffer.C: up the format to 226.
2234
2235         * factory.C: the note inset is now identified simply by 'Note'.
2236
2237 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2238
2239         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2240         when a pit is enough. Standarize a couple of loops.
2241
2242 2003-12-05  Angus Leeming  <leeming@lyx.org>
2243
2244         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2245         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2246         data to the re-worked "log" dialog.
2247
2248 2003-12-03  André Pönitz  <poenitz@gmx.net>
2249
2250         * PosIterator.C:
2251         * iterators.C:
2252         * lyxtext.h:
2253         * output_latex.C:
2254         * paragraph_funcs.C:
2255         * text.C:
2256         * text2.C: use Inset::getText instead of Inset::getParagraph
2257
2258 2003-12-03  André Pönitz  <poenitz@gmx.net>
2259
2260         * buffer.[Ch]:
2261         * lyxtext.h:
2262         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2263         InsetText::read() as LyXText::read()
2264
2265 2003-12-02  Angus Leeming  <leeming@lyx.org>
2266
2267         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2268         type. Add a comment in the implementation that the function uses
2269         the stream's bad() function rather than fail() as the std::streams
2270         would do.
2271
2272 2003-12-02  André Pönitz  <poenitz@gmx.net>
2273
2274         * lyxlex.[Ch]: make interface more similar to std::stream
2275
2276         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2277
2278 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2279
2280         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2281
2282 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2283
2284         * vspace.[Ch]: remove VSpace::NONE
2285
2286 2003-12-01  André Pönitz  <poenitz@gmx.net>
2287
2288         * buffer.[Ch]:
2289         * lyxtext.h: move ParagraphList member to LyXText
2290         rename LyXText::ownerParagraphs to LyXText::paragraph
2291
2292         * CutAndPaste.C:
2293         * bufferview_funcs.C:
2294         * iterators.[Ch]:
2295         * lyx_cb.C:
2296         * paragraph.C:
2297         * rowpainter.C:
2298         * tabular.C:
2299         * text.C:
2300         * text2.C:
2301         * text3.C: adjust
2302
2303         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2304
2305         * undo.C: fix cursor positioning
2306
2307 2003-12-01  John Levon  <levon@movementarian.org>
2308
2309         * BufferView_pimpl.C: fix a crash on exit with
2310         a buffer open
2311
2312 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2313
2314         * BranchList.C: fix setSelected() method.
2315
2316 2003-11-28  André Pönitz  <poenitz@gmx.net>
2317
2318         * ParagraphParameters.[Ch]:
2319         * ParameterStruct.h: remove space above/below from Paragraph to
2320          InsetVSpace
2321
2322         * BufferView_pimpl.C:
2323         * factory.C:
2324         * lyxfunc.C:
2325         * lyxtext.h:
2326         * output_latex.C:
2327         * paragraph.C:
2328         * paragraph_funcs.C:
2329         * rowpainter.[Ch]:
2330         * text.C:
2331         * text2.C:
2332         * text3.C: adjust
2333
2334 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2335
2336         * factory.C: Syntax change for CharStyles
2337
2338 2003-11-28  André Pönitz  <poenitz@gmx.net>
2339
2340         * BufferView.[Ch]:
2341         * BufferView.[Ch]:
2342         * buffer.[Ch]:
2343         * buffer.[Ch]: move LyXText member
2344
2345 2003-11-28  André Pönitz  <poenitz@gmx.net>
2346
2347         * BufferView.[Ch]: make LyXText * text a private member
2348
2349         * BufferView_pimpl.C:
2350         * cursor.C:
2351         * iterators.C:
2352         * lyx_cb.C:
2353         * lyxfind.C:
2354         * lyxtext.h:
2355         * rowpainter.[Ch]:
2356         * text.C:
2357         * text2.C:
2358         * undo.C: adjust
2359
2360         * output_plaintext.C: cleanup
2361
2362 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2363
2364         * buffer.C:
2365         * lyxtextclass.[Ch]: parametrize SGML document header
2366
2367 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2368
2369         * converter.[Ch]:
2370         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2371         getFlavor().
2372
2373 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2374
2375         * text2.C (setFont): rework using PosIterator (no more recursive)
2376         (setCharFont): no more needed
2377         (setLayout): no more selection cursors fiddling (done by redoCursor)
2378         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2379         destroy remaining ones)
2380
2381 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2382
2383         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2384         * lyxtext.h: ditto
2385         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2386         selection cursors
2387         * lyxfunc.C: adjust
2388         * text3.C: adjust + re-allow multi par depth changes
2389         * textcursor.C: simplify a bit
2390
2391 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2392
2393         * src/buffer.C:
2394         * src/lyxlayout.C:
2395         * src/lyxlayout.h:
2396         * src/lyxtext.h:
2397         * src/output_docbook.C:
2398         * src/output_latex.C:
2399         * src/paragraph.C:
2400         * src/paragraph.h:
2401         * src/sgml.C:
2402         * src/sgml.h:
2403         * src/text2.C: Introducing a number of tags parametrizing various
2404         XML formats that we may want to support
2405
2406 2003-11-25  André Pönitz  <poenitz@gmx.net>
2407
2408         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2409
2410         * lyxtext.h (leftMargin/rightMargin): simplify interface
2411
2412         * rowpainter.C:
2413         * text.C:
2414         * text2.C:
2415         * text3.C: adjust
2416
2417 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2418
2419         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2420         master file to any child files. Fixes bug 546.
2421
2422 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2425
2426 2003-11-24  André Pönitz  <poenitz@gmx.net>
2427
2428         * rowpainter.C: simplification
2429
2430         * text2.C (updateCounters): remove call to redoParagraph on
2431         changed labels as this is far too expensive.
2432
2433 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2434
2435         * converter.C (convert): fix a crash: this function gets
2436         called with buffer == 0 from importer code.
2437
2438 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2439
2440         * text3.C (cursorPrevious): make sure that we do not compare
2441         iterators form different containers.
2442         (cursorNext): ditto
2443
2444         * rowpainter.C (paintSelection): make sure that we do not compare
2445         iterators from different containers.
2446
2447         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2448         iterators from different ParagraphList containers.
2449         [NEXT] ditto
2450
2451         * text2.C (LyXText): change order of initialization slightly
2452         (operator=): new function. copy all variables except cache_par_
2453         (moveUp): make sure that we do not compare iterators from
2454         different ParagraphList constainers.
2455         (moveDown): ditto
2456
2457         * text.C (firstPar): new function
2458         (lastPar): new function
2459         (endPar): new function
2460
2461         * lyxtext.h: move things around and group public functions, public
2462         variables, private functions, private variables
2463
2464 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2465
2466         * factory.C: change call to InsetERT constructor to avoid
2467         additional invocation of method status
2468         * text2.C (toggleInset): remove redundant update() call
2469         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2470         instead of a Bufferview pointer
2471
2472 2003-11-21  André Pönitz  <poenitz@gmx.net>
2473
2474         * rowpainter.C: simplification
2475
2476 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2477
2478         * text3.C (dispatch): make possible to extend a word/row selection
2479         with the mouse
2480
2481 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2482
2483         * lyxtext.h: x0_,y0_ -> xo_,yo_
2484         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2485         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2486         * rowpainter.C (paintRows): paint full paragraphs
2487
2488 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2489
2490         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2491         screen coordinates)
2492
2493 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2494
2495         * lyxtext.h: add x0_, y0_
2496         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2497         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2498
2499 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2500
2501         * text2.C (setCursorIntern): move the x_target update here *
2502         * text3.C: change some bv() to true/false in calls to
2503         cursorUp/Down/Right/Left
2504         * cursor.C: use helper function.
2505
2506 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2507
2508         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2509         * paragraph_funcs.[Ch]: correct comment
2510         * rowpainter.C: do not paint selections away from bv->cursor()
2511         Fix a long standing selection painting bug.
2512         * text3.C: generalize mouse-selection code to LyXTexts other that
2513         top one
2514         * textcursor.C: do not use y coords if we can use par offsets
2515
2516 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2517
2518         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2519         cursor position after e.g. inset insert)
2520
2521 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2522
2523         * lyxfind.C (replace): adjust to locking removal + some
2524         code simplification
2525
2526 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2527
2528         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2529         of the path
2530
2531 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2532
2533         * lyxlayout.[Ch]:
2534         * output_docbook.C: XML sanitation: new layout
2535         parameters InnerTag and CommandDepth
2536
2537 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2538
2539         * BufferView_pimpl.C:
2540         * factory.C:
2541         * text3.C: Fix the insertion and modification of button-style
2542         insets
2543
2544 2003-11-13  André Pönitz  <poenitz@gmx.net>
2545
2546         * InsetList.[Ch]: remove deleteLyXText
2547
2548         * paragraph.[Ch]: cache beginOfBody position
2549
2550         * Bidi.C:
2551         * text.C:
2552         * text2.C:
2553         * text3.C: remove superfluous update() calls
2554
2555         * vspace.C: cleanup
2556
2557 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2558
2559         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2560         * BufferView.C (fitLockedInsetCursor): remove
2561         * cursor.[Ch] (getDim): add
2562         * text.C (getRowNearY): add faster version
2563         * text3.C: remove some update calls
2564
2565 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2566
2567         * LaTeXFeatures.C:
2568         * LyXAction.C:
2569         * MenuBackend.C:
2570         * MenuBackend.h:
2571         * dispatchresult.h:
2572         * factory.C:
2573         * lfuns.h:
2574         * lyxfunc.C:
2575         * lyxtextclass.C:
2576         * lyxtextclass.h:
2577         * text3.C: The Character Style /XML short element patch.
2578
2579 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2580
2581         * text3.C:
2582         * factory.C: Small step to solving 'unable to insert some insets'
2583         problem
2584
2585 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * cursor.[Ch] (updatePos): new function for updating the y
2588         position of the tip inset
2589         * bufferview_funcs.C (put_selection_at):
2590         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2591
2592 2003-11-11  André Pönitz  <poenitz@gmx.net>
2593
2594         * text.C: remove big comment on invalid Paragraph pointers as it is
2595         not valid anymore
2596
2597 2003-11-11  André Pönitz  <poenitz@gmx.net>
2598
2599         * text_funcs.[Ch]: merge with ...
2600
2601         * text.C: ... this
2602
2603         * lyxtext.h:
2604         * text2.C:
2605         * text3.C: adjust
2606
2607         * Makefile.am: remove text_funcs.[Ch]
2608
2609 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2610
2611         * cursor.C (getPos): return absolute cached y coord
2612
2613         * BufferView_pimpl.C (fitCursor): new simplistic code
2614         (workAreaDispatch): add a fitCursor call
2615
2616 2003-11-10  André Pönitz  <poenitz@gmx.net>
2617
2618         * BufferView.[Ch]:
2619         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2620
2621 2003-11-10  André Pönitz  <poenitz@gmx.net>
2622
2623         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2624         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2625         indicate that the cursor needs to leave an inset
2626
2627         * lyxtext.h: remove inset locking
2628
2629         * cursor.[Ch]: re-implement functionality provided by inset locking
2630
2631         * BufferView.[Ch]:
2632         * BufferView_pimpl.[Ch]:
2633         * LyXAction.C:
2634         * bufferview_funcs.[Ch]:
2635         * factory.C:
2636         * funcrequest.[Ch]:
2637         * iterators.C:
2638         * lyx_cb.C:
2639         * lyxfind.C:
2640         * lyxfunc.C:
2641         * text.C:
2642         * text2.C:
2643         * text3.C:
2644         * undo.C: adjust
2645
2646 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2647
2648         * PosIterator.[Ch]: replace the stack with a vector, add inset
2649         accesor
2650         * iterators.[C]: adjust
2651
2652 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2653
2654         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2655         replaced
2656         * paragraph_funcs.C (readParToken): put the correct id in the
2657         error item, not the id of the top paragraph
2658
2659 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2660
2661         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2662         * bufferview_funcs.C (put_selection_at): use the above
2663
2664 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2665
2666         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2667
2668 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2669
2670         * output_linuxdoc.h:
2671         * output_plaintext.h:
2672         * output.h:
2673         * output_docbook.h: add #include statements
2674
2675 2003-11-05  José Matos  <jamatos@lyx.org>
2676
2677         * output_docbook.[Ch]:
2678         * output_latex.[Ch]:
2679         * output_linuxdoc.[Ch]:
2680         * output_plaintext.[Ch]: New files for output formats.
2681         * output.[Ch]: New file for helper functions.
2682
2683         * buffer.[Ch]:
2684         * paragraph_funcs.[Ch]: output functions moved to new files.
2685
2686         * outputparams.h: rename of latexrunparams.h
2687
2688         * LaTeX.[Ch]:
2689         * buffer.[Ch]:
2690         * bufferlist.[Ch]:
2691         * converter.[Ch]:
2692         * exporter.C:
2693         * paragraph.[Ch]:
2694         * paragraph_funcs.[Ch]:
2695         * paragraph_pimpl.[Ch]:
2696         * tabular.[Ch]: rename ascii to plaintext
2697         and LatexRunParams to OutputParams.
2698
2699 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2700
2701         * iterators.[Ch] (text): require bv argument
2702         * undo.C (recordUndo):
2703         * lyxfunc.C (dispatch):
2704         * bufferview_funcs.C (put_selection_at): adjust
2705
2706 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2707
2708         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2709
2710 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2711
2712         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2713         nestings
2714
2715 2003-11-04  André Pönitz  <poenitz@gmx.net>
2716
2717         * cursor.[Ch]: restructure
2718
2719         * BufferView.[Ch]:
2720         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2721
2722         * iterators.[Ch] (asCursor): remove
2723
2724         * lfuns.h: remove LFUN_INSET_EDIT
2725
2726         * lyxfunc.C:
2727         * tabular.C:
2728         * text.C:
2729         * text2.C:
2730         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2731
2732 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2733
2734         * lyxfind.[Ch]: complete overhaul
2735         * BufferView_pimpl.C:
2736         * lyxfunc.C: adjust
2737         * paragraph.[Ch] (insert): add
2738
2739 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2740
2741         * BufferView.[Ch]:
2742         * lyxtext.h:
2743         * text.C: remove dead spellcheck code
2744
2745 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2746
2747         * dispatchresult.h: add a val setter
2748
2749         * cursor.C (dispatch): use a tempvar for data_[i]
2750
2751 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2752
2753         * PosIterator.[Ch]: compile fix
2754
2755 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2756
2757         * text.C (cursorPar): deactivate the cursor cache
2758
2759 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2760
2761         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2762
2763 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2764
2765         * text3.C (dispatch): adjust for new DisptchResult semantics.
2766
2767         * lyxfunc.C (dispatch): handle update when return from
2768         Cursor::dispatch, adjust for new DispatchResult semantics.
2769
2770         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2771         DispatchResult(true) mean to not update. Add class functions for
2772         setting dispatched and update, as well as reading.
2773
2774         * cursor.C (dispatch): don't handle update here
2775
2776 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2777
2778         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2779         * trans_mgr.C: adjust
2780
2781         * paragraph_funcs.C (readParToken): exception safety
2782
2783         * lyxvc.h: store the vcs pointer in a scoped_ptr
2784         * lyxvc.C: adjust
2785
2786         * lyxsocket.C (serverCallback): exception safety
2787
2788         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2789
2790         * ispell.C (clone): make it return a auto_ptr
2791
2792         * factory.C (createInset): exception safety
2793         (readInset): exception safety
2794
2795         * bufferlist.C (newBuffer): exception safety
2796
2797         * Thesaurus.C (Thesaurus): use initialization for aik_
2798
2799         * MenuBackend.C (expandToc): exception safety.
2800
2801 2003-11-03  André Pönitz  <poenitz@gmx.net>
2802
2803         * buffer.C:
2804         * buffer.h:
2805         * bufferview_funcs.C: remove getInsetFromId()
2806
2807         * lyxcursor.[Ch]:
2808         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2809
2810         * lyxfunc.C:
2811         * text2.C:
2812         * text3.C: adjust
2813
2814 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2815
2816         * PosIterator.C (distance, advance): new
2817         * bufferview_funcs.[Ch] (put_selection_at): new
2818         * iterators.[Ch] (lockPath): new
2819
2820 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * iterators.[Ch] (asPosIterator): added
2823         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2824         * PosIterator.[Ch]: added
2825
2826 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2827
2828         * text3.C:
2829         * lyxfunc.C:
2830         * cursor.C (dispatch):
2831         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2832
2833         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2834         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2835         contructor, add a class function dispatched. Remove operator>=
2836
2837 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2838
2839         * debug.C: only use the default constructor for debugstream
2840         (lyxerr) here.
2841
2842         * main.C (main): include debug.h and setup the lyxerr streambuf
2843         here.
2844
2845 2003-10-31  José Matos  <jamatos@lyx.org>
2846
2847         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2848
2849         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2850         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2851         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2852         * paragraph_pimpl.C (simpleTeXSpecialC):
2853         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2854         add LatexRunParams argument.
2855
2856         * exporter.C (Export): change call accordingly.
2857
2858         * latexrunparams.h: add new member to take care of the other backends.
2859 2003-10-30  José Matos  <jamatos@lyx.org>
2860
2861         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2862         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2863         factorise code for paragraph output.
2864         * buffer.[Ch]:
2865         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2866         move functions.
2867
2868 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2869
2870         * text3.C (dispatch):
2871         * lyxfunc.C (dispatch):
2872         * cursor.C (dispatch):
2873         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2874
2875         * dispatchresult.h: make the dispatch_result_t ctor explicit
2876
2877 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2878
2879         * sgml.[Ch]:
2880         * buffer.C: small refactoring of docbook stuff
2881
2882 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2883
2884         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2885         meaning.
2886
2887 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2888
2889         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2890         operator dispatch_result_t, and operators for == != and >=
2891
2892         * cursor.C (dispatch): adjust for operator dispatch_result_t
2893         removal. comment out call to update
2894
2895         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2896
2897 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2898
2899         * text3.C:
2900         * text2.C:
2901         * text.C:
2902         * lyxtext.h:
2903         * lyxfunc.C:
2904         * cursor.C:
2905         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2906         (dispatch):
2907
2908         * dispatchresult.h: new file, DispatchResult broken out of
2909         insets/insetbase.h
2910
2911         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2912
2913 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2914
2915         * text.C (rowBreakPoint): put a hack inside #if 0
2916
2917 2003-10-28  André Pönitz  <poenitz@gmx.net>
2918
2919         * lyxtext.h:
2920         * metricsinfo.C:
2921         * paragraph_funcs.C:
2922         * rowpainter.C:
2923         * text.C:
2924         * text2.C: general cleanup (lots of small stuff)
2925
2926 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2927
2928         * text2.C (cursorEnd): simple fix to the "end key goes to one
2929         before the end on last row" bug
2930
2931 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2932
2933         * text.C (backspace): fix the "zombie characters"
2934
2935 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2936
2937         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2938
2939 2003-10-27  André Pönitz  <poenitz@gmx.net>
2940
2941         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2942
2943         * factory.C: handle new InsetPagebreak, InsetLine
2944
2945         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2946         and move handling into new InsetPagebreak, InsetLine
2947
2948         * BufferView_pimpl.C:
2949         * LyXAction.C:
2950         * ParagraphParameters.C:
2951         * ParameterStruct.h:
2952         * lyxfunc.C:
2953         * lyxtext.h:
2954         * paragraph.C:
2955         * paragraph.h:
2956         * paragraph_funcs.C:
2957         * paragraph_pimpl.C:
2958         * rowpainter.C:
2959         * text.C:
2960         * text2.C:
2961         * text3.C: adjust
2962
2963 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2964
2965         * text.C:
2966         * lyxrow_funcs.[Ch]:
2967         * Bidi.C:
2968         * paragraph.C:
2969         * lyxtext.h:
2970         * rowpainter.C:
2971         * text2.C:
2972         * text3.C: remove lastPos uses in favour of Row::endpos
2973
2974 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2975
2976         * undo.C (performUndoOrRedo): fix two crashes by setting a
2977         cursor by hand and reordering some calls. Use bv->lockInset instead
2978         of inset->edit because the latter loses cursor information
2979
2980 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2981
2982         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2983         by Martin
2984         (rowBreakPoint): fix width. change point to point + 1.
2985         Add a missing check.
2986
2987 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2988
2989         * MenuBackend.C:
2990         * lyxfunc.C: fix (at least partly) the problems
2991         with the Nav menu and headers inside branch insets
2992         reported by Kayvan
2993
2994 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2995
2996         * paragraph.C (getChar): add strong asserts
2997
2998         * lyxrow_funcs.C (lastPos): remove hideous hack
2999
3000         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3001         (fill): adjust to that (avoid an infinite loop)
3002
3003 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3004
3005         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3006
3007 2003-10-23  André Pönitz  <poenitz@gmx.net>
3008
3009         * RowList_fwd.h: change list<> to vector<> to gain speed
3010         after suggestion from Alfredo
3011
3012 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3013
3014         * lyxtext.h: move the bidi stuff from here...
3015         * text.C: and here
3016         * text2.C: and here
3017         * Bidi.[Ch]: ... to here
3018
3019 2003-10-23  André Pönitz  <poenitz@gmx.net>
3020
3021         * lyxtext.h:
3022         * text.C (isLastRow, isFirstRow): new functions
3023
3024         * paragraph.h: new width cache member
3025
3026         * rowpainter.C: replace RowList::iterator with Row & where possible
3027
3028         * lyxfunc.C: replace several view()->text with a single call
3029
3030         * toc.C: fix 'unused' warning
3031
3032 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3033
3034         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3035         when woring with stream::pos_type
3036         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3037
3038 2003-10-22  André Pönitz  <poenitz@gmx.net>
3039
3040         * lyxtext.h:
3041         * text.C: use Row & instead of RowList::iterator
3042
3043         * lyxrow.h: rename end() to endpos()
3044
3045         * rowpainter.C:
3046         * text.C:
3047         * text2.C: adjust
3048
3049 2003-10-22  Angus Leeming  <leeming@lyx.org>
3050
3051         * buffer.[Ch] (fully_loaded): new member function, returning true
3052         only when the file has been loaded fully.
3053         Used to prevent the premature generation of previews and by the
3054         citation inset to prevent computation of the natbib-style label.
3055
3056         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3057         templates are all set up.
3058
3059         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3060
3061 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3062
3063         * text.C: fixed an "oops" in the "is a bit silly"
3064         bug fix
3065
3066 2003-10-21  André Pönitz  <poenitz@gmx.net>
3067
3068         * FuncStatus.[Ch]: small stuff, whitespace
3069
3070         * lyxfont.[Ch]: operator<<() for debug reasons
3071
3072         * lyxfunc.C:
3073         * lyxrow_funcs.C:
3074         * lyxtext.h: whitespace, spelling
3075
3076         * paragraph.C: naming of variables
3077
3078         * text.C:
3079         * text2.C: small stuff
3080
3081
3082 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3083
3084         * text.C: (1) finish off the inset display() work;
3085         (2) fix the "is a bit silly" bug (accessing char
3086         past end of par).
3087
3088 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3089
3090         * text.C: re-introduce display() for insets, fixing the
3091         various bugs (stretch of line above, math inset
3092         positioning, ...)
3093
3094 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3095
3096         * text.C (rightMargin): remove spurious semicolon
3097
3098         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3099         1415)
3100
3101 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3102
3103         * text3.C: fix one crash due to wrong cursor def
3104
3105 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3106
3107         * vc-backend.C (scanMaster): make the regex static
3108
3109         * LaTeX.C (scanAuxFile): make the regexs static
3110
3111         * text3.C (doInsertInset, dispatch, dispatch):
3112         * text2.C (cursorUp, cursorDown):
3113         * text.C (selectNextWordToSpellcheck):
3114         * BufferView_pimpl.C (dispatch):
3115         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3116
3117 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3118
3119         * lyxsocket.C: include <cerrno>
3120
3121 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * lyxfunc.C (dispatch): remove textcache stuff
3124
3125         * bufferlist.C (release): remove textcache stuff
3126         (closeAll): ditto
3127
3128         * TextCache.C: delete file
3129         * TextCache.h: delete file
3130
3131         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3132
3133         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3134         delete of the bv_->text.
3135         (resizeCurrentBuffer): remove texcache stuff
3136         (workAreaResize): ditto
3137
3138 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3139
3140         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3141         action.
3142
3143 2003-10-16  André Pönitz  <poenitz@gmx.net>
3144
3145         * lyxrow.[Ch]:
3146         * paragraph.h:
3147         * rowpainter.C:
3148         * text.C:
3149         * text2.C:
3150         * text3.C: speed up by storing y positions per paragraph plus per-row
3151         offset instead of having a 'full' y position in the row.
3152
3153 2003-10-15  André Pönitz  <poenitz@gmx.net>
3154
3155         * iterators.[Ch]:
3156         * iterators.[Ch]:
3157         * undo.[Ch]: make undo aware of inner insets
3158
3159 2003-10-14  Angus Leeming  <leeming@lyx.org>
3160
3161         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3162         static member functions LyX::ref() and LyX::cref.
3163         (lastfiles): new accessor functions for the new lastfiles_ member var.
3164         (addLyXView, views_): add a new LyXView to the list of views_.
3165         (updateInset): loop over all LyXViews to call their own updateInset
3166         member function, returning a pointer to the Buffer owning the inset.
3167
3168         * BufferView_pimpl.C (loadLyXFile):
3169         * MenuBackend.C (expandLastfiles):
3170         * bufferlist.C (MenuWrite, QuitLyX):
3171         lastfiles is no longer a global variable.
3172         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3173
3174         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3175         static function. Access through LyX::cref().emergencyCleanup().
3176
3177 2003-10-14  André Pönitz  <poenitz@gmx.net>
3178
3179         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3180
3181         * undo.[Ch]: restoring part of 'undo in insets'
3182
3183         * Makefile.am:
3184         * undo_funcs.[Ch]: merge with undo.[Ch]
3185
3186         * tabular.C: small cleansing stuff
3187
3188 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3189
3190         * paragraph_funcs.C (readParToken): report unknown insets as error
3191         boxes. Use the outer paragraph as location (also for unknown
3192         tokens).
3193
3194         * factory.C (readInset): do not abort on reading an unknown inset.
3195         Eat it and return 0.
3196
3197 2003-10-13  Angus Leeming  <leeming@lyx.org>
3198
3199         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3200
3201         * lyxrc.C: displayTranslator is now a function,
3202         declared in GraphicsTypes.h.
3203
3204 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3205
3206         * format.C: new placeholder $$a to pass the socket address.
3207
3208         * bufferlist.[Ch]: new function getBufferFromTmp.
3209
3210         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3211           files in the temporary dir.
3212
3213 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3214
3215         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3216
3217         * Makefile.am: add lyxsocket.[Ch].
3218
3219         * lyx_main.C (error_handler): handle SIGPIPE.
3220
3221 2003-10-13  André Pönitz  <poenitz@gmx.net>
3222
3223         * BufferView_pimpl.C:
3224         * lyxtext.h:
3225         * text.C:
3226         * text2.C:
3227         * text3.C:
3228         * undo_funcs.[Ch]: use paroffset_type instead of
3229           ParagraphList::iterators to prevent multiple conversion
3230           (and get a more robust interface)
3231
3232 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3233
3234         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3235         * lyxtext.h: ditto
3236         * text3.C (dispatch): ditto
3237
3238 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3239
3240         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3241         move the onlyfile, use onlyfile instead of foundfile in a couple
3242         of places.
3243
3244         * DepTable.C (update): flush the error stream a bit more
3245
3246 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3247
3248         * lyxserver.C (callback): adjust
3249
3250         * lyxfunc.C (getStatus): add a missing brace in commented code
3251         (ensureBufferClean): reindent
3252         (dispatch): delete version taking a string
3253
3254 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3255
3256         * LaTeX.C (deplog): move found file handlig from here...
3257         (handleFoundFile): .. to new function here.
3258         (deplog): make sure to discover several files mentioned on the
3259         same log line.
3260
3261 2003-10-10  André Pönitz  <poenitz@gmx.net>
3262
3263         * lyxfunc.C:
3264         * lyxtext.h:
3265         * tabular.C:
3266         * text.C:
3267         * text2.C:
3268         * text3.C: fix some of the tabular crashes
3269
3270 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3271
3272         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3273
3274         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3275
3276 2003-10-09  André Pönitz  <poenitz@gmx.net>
3277
3278         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3279
3280         * BufferView.C:
3281         * BufferView_pimpl.C:
3282         * bufferview_funcs.C:
3283         * lyx_cb.C:
3284         * lyxcursor.C:
3285         * lyxfind.C:
3286         * lyxfunc.C:
3287         * lyxtext.h:
3288         * text.C:
3289         * text2.C:
3290         * text3.C:
3291         * text_funcs.[Ch]:
3292         * textcursor.[Ch]:
3293         * undo_funcs.C: adjust
3294
3295 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3296
3297         * text2.C (incrementItemDepth): new function, use a backtracking
3298         algorithm to discover the correct item depth.
3299         (resetEnumCounterIfNeeded): new function, use a backtracking
3300         algorithm to discover if counter reset is needed.
3301         (setCounter): use them. Simplify a bit. Add different labels for
3302         different item depths for itemize.
3303
3304         * paragraph.C (Paragraph): remove initialization of enumdepth
3305         (operator=): ditto
3306
3307         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3308         enumerate and itemize. Change the type of itemdepth to signed char.
3309
3310 2003-10-08  André Pönitz  <poenitz@gmx.net>
3311
3312         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3313           thing assignable.
3314         * text.C:
3315         * text2.C: adjust
3316
3317         * tabular.[Ch]: fix crash after 'row-insert'
3318
3319 2003-10-08  Angus Leeming  <leeming@lyx.org>
3320
3321         Fix doxygen warnings.
3322
3323         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3324         Remove CutAndPaste:: prefix from header file declaration.
3325
3326         * LColor.h (fill): remove LColor:: prefix from declaration.
3327
3328         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3329         use lyx::depth_type rather than Paragraph::depth_type so that
3330         header file and .C file match.
3331
3332         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3333
3334         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3335         * aspell.C: \file aspell_local.C -> \file aspell.C
3336         * gettext.C: \file gettext.C -> \file src/gettext.C
3337         * gettext.h: \file gettext.h -> \file src/gettext.h
3338         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3339         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3340         * text.C: \file text.C -> \file src/text.C
3341
3342         * toc.C: move comment so that doxygen is not confused.
3343
3344 2003-10-07  Angus Leeming  <leeming@lyx.org>
3345
3346         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3347
3348 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3349
3350         * aspell.C:
3351         * aspell_local.h: add forgotten std::string's.
3352
3353 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3354
3355         * LaTeXFeatures.C:
3356         * LyXAction.C:
3357         * factory.C:
3358         * lfuns.h:
3359         * lyxfunc.C:
3360         * text3.C: The Box patch. Fancybox support, minipage, parbox
3361
3362 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3363
3364         * CutAndPaste.h:
3365         * DepTable.h:
3366         * FloatList.h:
3367         * LaTeXFeatures.h:
3368         * ParagraphParameters.h:
3369         * TextCache.h:
3370         * Thesaurus.h:
3371         * bufferlist.h:
3372         * exporter.h:
3373         * importer.h:
3374         * lastfiles.h:
3375         * lyxfind.h:
3376         * lyxfont.h:
3377         * lyxlex.h:
3378         * lyxtextclasslist.h:
3379         * messages.h:
3380         * paragraph.h:
3381         * paragraph_pimpl.C:
3382         * textcursor.h: add <string> and other small fixes to make Lars'
3383         std::string patch compile with STLport.
3384
3385 2003-10-06  Angus Leeming  <leeming@lyx.org>
3386
3387         * LColor.h: Add missing #include <string>.
3388
3389 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3390
3391         * All most all file in all subdirs: Make <string> be the prefered
3392         way of getting to std::string, add using declarations.
3393
3394 2003-10-06  André Pönitz  <poenitz@gmx.net>
3395
3396         * metricsinfo.C: initialize LyXFont before changing attribute.
3397         (fixes the 'math in \emph is upright' bug)
3398
3399 2003-10-06  André Pönitz  <poenitz@gmx.net>
3400
3401         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3402
3403 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3404
3405         * graph.C:
3406         * paragraph_pimpl.C: Small fixes to build using STLport
3407
3408 2003-10-02  André Pönitz  <poenitz@gmx.net>
3409
3410         * lyxfunc.C:
3411         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3412
3413 2003-10-01  André Pönitz  <poenitz@gmx.net>
3414
3415         * factory.C: assert early
3416
3417 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3418
3419         * lyx_main.C: remove the global debug object
3420
3421         * debug.h: adjust for new debugstream
3422
3423         * debug.C: adjust for new debugstream and keep the global debug
3424         object here.
3425
3426 2003-09-22  Angus Leeming  <leeming@lyx.org>
3427
3428         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3429         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3430         an incomplete class LyXFont.
3431
3432 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3433
3434         * factory.C: bug fix in branches
3435
3436 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3437
3438         * lyxfunc.C (processKeySym): adjust
3439         (dispatch): adjust
3440         (dispatch): change arg name from ev to func, adjust
3441         (sendDispatchMessage): ditto
3442
3443         * lyx_main.C (defaultKeyBindings): adjust keybindings
3444         (deadKeyBindings): ditto
3445
3446         * kbsequence.C (addkey): return a FuncRequest
3447
3448         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3449
3450         * kbmap.C (bind): take a FuncRequest as arg, adjust
3451         (read): adjust
3452         (lookup): adjust
3453         (defkey): change to take a FuncRequest as arg, adjust
3454         (findbinding): take a FuncRequest as arg, adjust.
3455
3456         * funcrequest.h (operator=): added
3457
3458         * funcrequest.C (FuncRequest): default kb_action changed from
3459         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3460
3461         * buffer.C (dispatch): simplify
3462         (dispatch): adjust to take a FuncRequest as arg, adjust
3463
3464         * boost.C (assertion_failed): change assertion message slightly
3465
3466         * ToolbarBackend.C (read): simplify
3467
3468         * MenuBackend.C (binding): adjust call to findbinding, add a
3469         message if no binding is found.
3470         (read): simplify
3471         (expandToc): correct by adding a empty FuncRequest
3472
3473         * LyXAction.C: include <boost/assert.hpp>
3474         (isPseudoAction): delete function
3475         (LookupFunc): change name to...
3476         (lookupFunc): this. change return type to FuncRequest.
3477         (getActionName): take kb_action as arg, simplify
3478         (funcHasFlag): add an assert, simplify.
3479
3480 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3481
3482         * toc.C (action): return a FuncRequest, simplify
3483
3484         * lyxfunc.C (processKeySym): adjust
3485         (getStatus): delete version that takes an int.
3486         (getStatus): adjust
3487         (dispatch): delete version that takes action as int
3488         (dispatch): adjust
3489         (sendDispatchMessage): simplify and adjust
3490
3491         * funcrequest.C (getArg): take unsigned int as arg
3492
3493         * ToolbarBackend.C (read): adjust
3494         (add): delete version that takes func as a string.
3495         (getIton): take a FuncRequest as arg
3496
3497         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3498         action.
3499
3500         * MenuBackend.C (MenuItem): add a new construct that only takes a
3501         Kind, simplify the constructor use for submenus.
3502         (add): adjust
3503         (expandLastfiles): adjust
3504         (expandDocuments): adjust
3505         (expandFormats): adjust
3506         (expandFloatListInsert): adjust
3507         (expandFloatInsert): adjust
3508         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3509
3510         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3511         Remove class variables lyx_pseudo_map and lyx_arg_map
3512
3513         * LyXAction.C (searchActionArg): delete function
3514         (getPseudoAction): delete function
3515         (retrieveActionArg): delete function
3516         (LookupFunc): make it return kb_action, simplify.
3517         (getActionName): simplify
3518
3519         * factory.C (createInset): fix new bug
3520
3521 2003-09-19  Angus Leeming  <leeming@lyx.org>
3522
3523         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3524         masterFilename_ parameter in the include inset.
3525
3526         * factory.C (createInset): changes due to the changes to InsetInclude.
3527
3528 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3529
3530         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3531
3532 2003-09-18  Angus Leeming  <leeming@lyx.org>
3533
3534         * buffer.C:
3535         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3536         Inset::fillWithBibKeys.
3537         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3538
3539 2003-09-18  Angus Leeming  <leeming@lyx.org>
3540
3541         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3542         variables.
3543         (ctor): pass and store a 'Buffer const &'
3544         (buffer): new member function.
3545
3546         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3547         '*this' to the LaTeXFeatures ctor.
3548
3549 2003-09-18  Angus Leeming  <leeming@lyx.org>
3550
3551         * LColor.h:
3552         * lyxfont.C:
3553         * lyxfont.h:
3554         * lyxtext.h:
3555         * text.C: rename EnumLColor as LColor_color.
3556
3557 2003-09-18  Angus Leeming  <leeming@lyx.org>
3558
3559         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3560         remove #include "insets/insetbase.h" from cursor.h.
3561
3562 2003-09-18  Angus Leeming  <leeming@lyx.org>
3563
3564         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3565         InsetOld_code to remove #include "inset.h".
3566
3567         * iterators.C: add #include "insets/inset.h"
3568
3569 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3570
3571         * BufferView.C: remove more locking stuff that apparently doesn't
3572         do anything sensible.
3573
3574 2003-09-16  André Pönitz  <poenitz@gmx.net>
3575
3576         * paragraph.[Ch]:
3577         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3578           performance boost.
3579
3580 2003-09-16  Angus Leeming  <leeming@lyx.org>
3581
3582         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3583
3584         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3585         arg/return type.
3586
3587         * paragraph.h: remove #include "lyxfont.h". Forward declare
3588         LyXFont_size.
3589
3590 2003-09-16  Angus Leeming  <leeming@lyx.org>
3591
3592         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3593         of support/textutils.h.
3594         (isWord): move the contents of support/textutils.h's IsWordChar here.
3595
3596         * buffer.C:
3597         * lyxfind.C:
3598         * rowpainter.C:
3599         * text.C:
3600         * text2.C: add #include "paragraph.h".
3601
3602         * rowpainter.C:
3603         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3604
3605 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3606
3607         * main.C:
3608         * lyx_main.C:
3609         * lyx_cb.C:
3610         * buffer.C:
3611         * LaTeX.C: use namespace alias for lyx::support::os
3612
3613 2003-09-16  Angus Leeming  <leeming@lyx.org>
3614
3615         * bufferparams.C:
3616         * bufferview_funcs.C:
3617         * factory.C:
3618         * lyxfunc.C:
3619         * paragraph_pimpl.C:
3620         * rowpainter.C:
3621         * text.C: add #include "LColor.h".
3622
3623 2003-09-16  Angus Leeming  <leeming@lyx.org>
3624
3625         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3626         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3627         return LyXFont &.
3628         Store the FontBits::color variable as an int rather than as an
3629         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3630         file.
3631
3632         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3633         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3634         string calls together.
3635
3636         * lyxrc.C: add #include "LColor.h".
3637
3638 2003-09-15  Angus Leeming  <leeming@lyx.org>
3639
3640         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3641         a cow_ptr.
3642
3643 2003-09-15  Angus Leeming  <leeming@lyx.org>
3644
3645         * LColor.h: add an EnumLColor wrapper for LColor::color.
3646
3647         * lyxfont.[Ch] (color, setColor, realColor):
3648         * lyxtext.h, text.C (backgroundColor):
3649         pass EnumLColor args to/from the functions, rather than LColor::color
3650         ones.
3651
3652         * lyxfont.h:
3653         * lyxtext.h: forward declare EnumLColor.
3654
3655         * lyx_main.C: add #include "LColor.h".
3656
3657 2003-09-15  Angus Leeming  <leeming@lyx.org>
3658
3659         * .cvsignore: add lyx-gtk.
3660
3661 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3662
3663         * Chktex.C
3664         * LaTeX.C
3665         * LaTeXFeatures.C
3666         * ParagraphParameters.C
3667         * Spacing.C
3668         * buffer.C
3669         * bufferparams.C
3670         * bufferview_funcs.C
3671         * chset.C
3672         * counters.C
3673         * funcrequest.C
3674         * lyxfont.C
3675         * lyxgluelength.C
3676         * lyxlength.C
3677         * paragraph.C
3678         * paragraph_funcs.C
3679         * text3.C
3680         * vc-backend.C: remove usage of STRCONV
3681
3682 2003-09-15  Angus Leeming  <leeming@lyx.org>
3683
3684         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3685         explicitly define the color passed to the painter.
3686
3687 2003-09-15  Angus Leeming  <leeming@lyx.org>
3688
3689         * bufferparams.C (BufferParams): reorder member initializers to avoid
3690         compiler warning.
3691
3692 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3693
3694         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3695         * text.C (updateRowPositions): remove an unusual nop
3696
3697 2003-09-12  André Pönitz  <poenitz@gmx.net>
3698
3699         * BufferView_pimpl.C:
3700         * Bullet.C:
3701         * layout.h:
3702         * lyxfunc.C:
3703         * lyxlayout.[Ch]:
3704         * lyxtextclass.C:
3705         * rowpainter.C:
3706         * text.C:
3707         * text2.C:
3708         * Counters.[Ch]: finish the 'automatic counters' job
3709
3710 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3711
3712         * aspell.C: include <boost/assert.cpp> (compile fix)
3713
3714 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3715
3716         * boost.C (assertion_failed): use lyx::support::abort instead of
3717         assert.
3718
3719 2003-09-10  Angus Leeming  <leeming@lyx.org>
3720
3721         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3722         with their _fwd progeny.
3723
3724 2003-09-09  Angus Leeming  <leeming@lyx.org>
3725
3726         134 files throughtout the source tree: replace 'using namespace abc;'
3727         directives with the appropriate 'using abc::xyz;' declarations.
3728
3729 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3730
3731         * boost.C (emergencyCleanup): moved here from LAssert.c
3732         (assertion_failed): new function, called by BOOST_ASSERT
3733
3734         * several files: change Assert to BOOST_ASSERT
3735
3736 2003-09-09  Angus Leeming  <leeming@lyx.org>
3737
3738         * buffer.[Ch]: Add an Impl class and move Buffer's member
3739         variables into it. As a result move several header files out of
3740         buffer.h.
3741
3742         Add header files to lots of .C files all over the tree as a result.
3743
3744 2003-09-09  Angus Leeming  <leeming@lyx.org>
3745
3746         * buffer.[Ch]: make Buffer's member variables private. Add
3747         accessor functions.
3748
3749         Lots of changes all over the tree as a result.
3750
3751 2003-09-08  Angus Leeming  <leeming@lyx.org>
3752
3753         * graph.C: #include <config.h>.
3754
3755 2003-09-08  Angus Leeming  <leeming@lyx.org>
3756
3757         * BranchList.C:
3758         * BufferView.C:
3759         * BufferView_pimpl.C:
3760         * CutAndPaste.C:
3761         * DepTable.C:
3762         * LaTeX.C:
3763         * LaTeXFeatures.C:
3764         * LyXAction.C:
3765         * MenuBackend.C:
3766         * TextCache.C:
3767         * aspell.C:
3768         * buffer.C:
3769         * bufferlist.C:
3770         * changes.C:
3771         * chset.C:
3772         * converter.C:
3773         * counters.C:
3774         * debug.C:
3775         * graph.C:
3776         * ispell.C:
3777         * lyx_cb.C:
3778         * lyxfind.C:
3779         * lyxfunc.C:
3780         * lyxlex_pimpl.C:
3781         * lyxrc.C:
3782         * lyxrow.C:
3783         * paragraph.C:
3784         * rowpainter.C:
3785         * texrow.C:
3786         * text.C:
3787         * text2.C:
3788         * toc.C: remove redundant using directives.
3789
3790 2003-09-07  Angus Leeming  <leeming@lyx.org>
3791
3792         * LaTeXFeatures.h: remove #include "support/types.h".
3793         * ToolbarBackend.h: remove #include <algorithm>.
3794         * changes.h: remove #include <ctime>.
3795         * debug.h: remove #include <iosfwd>.
3796         * graph.h: remove #include "support/std_string.h".
3797         * lyx_main.h: remove #include <csignal>.
3798         * lyxlex_pimpl.h: remove #include <fstream>.
3799         * sgml.h: remove #include <algorithm>, <utility>.
3800         * toc.h: remove #include "support/std_ostream.h".
3801         Add #include <iosfwd>.
3802
3803 2003-09-07  Angus Leeming  <leeming@lyx.org>
3804
3805         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3806
3807         * converter.h: forward declare LatexRunParams.
3808         * encoding.h: remove #include "lyxrc.h".
3809         * lyxtext.h: remove #include "LColor.h".
3810         * lyxtextclass.h: remove #include "support/types.h".
3811         * trans.h: remove #include "tex-accent.h".
3812         * trans_mgr.h: remove #include "tex-accent.h".
3813         * insets/inset.h: remove #include "support/types.h", <vector>.
3814         * insets/insetcollapsable.h: remove #include "LColor.h".
3815         * insets/insetinclude.h: remove #include "dimension.h".
3816         * insets/insetlatexaccent.h: remove #include "dimension.h".
3817         * insets/insetoptarg.h:: remove #include "insettext.h".
3818         * insets/insettext.h: remove #include "dimension.h",
3819         <boost/shared_ptr.hpp>
3820
3821         * insets/renderers.h: add #include "dimension.h".
3822         * insets/updatableinset.h: add #include "support/types.h".
3823
3824         * many .C files: Associated changes.
3825
3826 2003-09-06  Angus Leeming  <leeming@lyx.org>
3827
3828         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3829         one, inside testInvariant.
3830
3831         * PrinterParams.C: new file.
3832         * PrinterParams.[Ch]: move the function bodies out of line.
3833
3834 2003-09-06  Angus Leeming  <leeming@lyx.org>
3835
3836         * ParagraphParameters.h: forward declare ParameterStruct rather than
3837         including its header file.
3838         (depth): moved out-of-line.
3839
3840 2003-09-06  Angus Leeming  <leeming@lyx.org>
3841
3842         * BufferView_pimpl.h:
3843         * kbmap.h:
3844         * kbsequence.h:
3845         * lyxfunc.h: forward declare LyXKeySym rather than
3846         #include "frontends/LyXKeySym.h".
3847
3848         * BufferView_pimpl.C:
3849         * kbmap.C:
3850         * kbsequence.C:
3851         * lyxfunc.C: associated changes.
3852
3853 2003-09-06  Angus Leeming  <leeming@lyx.org>
3854
3855         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3856         As a result, can remove the #include "insets/inset.h" from BufferView.h
3857
3858 2003-09-06  Angus Leeming  <leeming@lyx.org>
3859
3860         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3861         As a result, can remove the #include "insets/inset.h" from BufferView.h
3862
3863 2003-09-06  Angus Leeming  <leeming@lyx.org>
3864
3865         * buffer_funcs.C:
3866         * buffer.h:
3867         * bufferlist.C:
3868         * BufferView.C:
3869         * bufferview_funcs.C:
3870         * BufferView_pimpl.C:
3871         * CutAndPaste.C:
3872         * lyx_cb.C:
3873         * lyxfunc.C:
3874         * paragraph.h:
3875         * ParagraphParameters.C:
3876         * tabular.C:
3877         * text3.C:
3878         * toc.C:
3879         * undo_funcs.C:
3880         * frontends/controllers/ControlDocument.C:
3881         * insets/insetcaption.C: rearrange the #includes into some sort of
3882         coherent order.
3883
3884         * buffer.h: remove #includes ErrorList.h, undo.h
3885
3886 2003-09-06  Angus Leeming  <leeming@lyx.org>
3887
3888         * support/types.h: add a 'depth_type' typedef, used to store the
3889         nesting depth of a paragraph.
3890
3891         * paragraph.h:
3892         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3893         defining explicitly.
3894
3895         * buffer.h:
3896         * paragraph_funcs.h:
3897         * ParagraphParameters.h:
3898         * sgml.h: use lyx::depth_type rather than Paragraph or
3899         ParameterStruct's depth_type.
3900
3901         * buffer.h
3902         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3903
3904         * BufferView.C:
3905         * BufferView_pimpl.C:
3906         * CutAndPaste.C:
3907         * ParagraphParameters.C:
3908         * buffer_funcs.C:
3909         * bufferlist.C:
3910         * bufferview_funcs.C:
3911         * lyx_cb.C:
3912         * lyxfunc.C:
3913         * tabular.C:
3914         * text3.C:
3915         * toc.C:
3916         * undo_funcs.C:
3917         * frontends/LyXView.C:
3918         * frontends/controllers/ControlDocument.C:
3919         * frontends/controllers/ControlErrorList.C:
3920         * insets/insetbibitem.C:
3921         * insets/insetbranch.C:
3922         * insets/insetcaption.C:
3923         * insets/insetcollapsable.C:
3924         * insets/insetenv.C:
3925         * insets/insetert.C:
3926         * insets/insetfloat.C:
3927         * insets/insetfoot.C:
3928         * insets/insetfootlike.C:
3929         * insets/insetnewline.C:
3930         * insets/insetquotes.C:
3931         * insets/insettabular.C:
3932         * insets/insettext.C:
3933         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3934
3935         * frontends/controllers/ControlChanges.C: #include "changes.h".
3936
3937 2003-09-06  Angus Leeming  <leeming@lyx.org>
3938
3939         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3940         than #including paragraph.h.
3941
3942         * ParagraphList.h:
3943         * RowList.h: deleted. Superfluous.
3944
3945         * CutAndPaste.h:
3946         * iterators.h:
3947         * lyxcursor.h:
3948         * lyxtext.h:
3949         * text_funcs.h:
3950         * undo.h:
3951         * undo_funcs.h:
3952         * insets/inset.h:
3953         * insets/insettext.h: use ParagraphList_fwd.h rather than
3954         ParagraphList.h.
3955
3956         * paragraph.h: don't forward declare ParagraphList.
3957
3958         * buffer.h:
3959         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3960         rather than ParagraphList.h. paragraph.h is still needed for the
3961         Paragraph::depth_type parameters.
3962
3963         * textcursor.h: enable it to compile stand-alone in light of the
3964         above changes.
3965
3966         * bufferview_funcs.C:
3967         * iterators.C:
3968         * lyxfunc.C:
3969         * lyxrow_funcs.C:
3970         * paragraph.C:
3971         * rowpainter.C:
3972         * text.C:
3973         * text2.C:
3974         * text3.C:
3975         * text_funcs.C:
3976         * textcursor.C:
3977         * undo.C:
3978         * frontends/controllers/ControlParagraph.C:
3979         * frontends/controllers/ControlTabular.C:
3980         * insets/insetmarginal.C:
3981         * insets/insetminipage.C:
3982         * insets/insetnote.C:
3983         * insets/insetoptarg.C: add header files needed to compile again.
3984
3985 2003-09-06  Angus Leeming  <leeming@lyx.org>
3986
3987         * RowList_fwd.h: new file, forward-declaring Row rather than
3988         #including lyxrow.h.
3989
3990         * lyxrow_funcs.h:
3991         * lyxtext.h:
3992         * paragraph.h:
3993         * insets/insettext.h: use it instead of RowList.h
3994
3995         * bufferview_funcs.C:
3996         * lyxfunc.C:
3997         * lyxrow_funcs.C:
3998         * paragraph.C:
3999         * rowpainter.C:
4000         * text.C:
4001         * text2.C:
4002         * text3.C: #include "RowList.h".
4003
4004 2003-09-05  Angus Leeming  <leeming@lyx.org>
4005
4006         * factory.C (createInset):
4007         * vspace.C (c-tor): replace sscanf call with an istringstream.
4008         * ispell.C: re-add missing HP/UX headers.
4009         * lyxserver.C: re-add missing  os2 headers.
4010
4011 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4012
4013         * BranchList.C:
4014         * graph.C:
4015         * ispell.C:
4016         * lastfiles.C:
4017         * lyx_cb.C:
4018         * lyxserver.C:
4019         * texrow.C:
4020         * text3.C: re-add missing system headers, needed for 2.95.2.
4021
4022 2003-09-05  Angus Leeming  <leeming@lyx.org>
4023
4024         Changes most place everywhere due to the removal of using directives
4025         from support/std_sstream.h.
4026
4027 2003-09-05  Angus Leeming  <leeming@lyx.org>
4028
4029         Replace LString.h with support/std_string.h,
4030         Lsstream.h with support/std_sstream.h,
4031         support/LIstream.h with support/std_istream.h,
4032         support/LOstream.h with support/std_ostream.h.
4033
4034         Changes resulting throughout the tree.
4035
4036 2003-09-05  Angus Leeming  <leeming@lyx.org>
4037
4038         * sgml.h: ensure that the header file can be compiled stand-alone.
4039         * *.C: strip out redundant #includes. (320 in total.)
4040
4041 2003-09-04  Angus Leeming  <leeming@lyx.org>
4042
4043         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4044         here (from getPackages).
4045
4046         * debug.[Ch]: add a new EXTERNAL tag.
4047
4048 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4049
4050         * text2.C (cursorEnd): simplify
4051         (setCursor): adjust
4052         (getColumnNearX): adjust
4053
4054         * text.C (computeBidiTables): adjust
4055         (fill): adjust
4056
4057         * rowpainter.C (paintChars): adjust
4058         (paintSelection): adjust
4059         (paintChangeBar): adjust
4060         (paintText): adjust
4061
4062         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4063         lastPos instead.
4064         (numberOfSeparators): adjust
4065
4066 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4067
4068         * LyXAction.C:
4069         * box.[Ch]:
4070         * lfuns.h:
4071         * lyxfunc.C:
4072         * text3.C: Restricts the mouse click functionality
4073         of insets like bibtex, include, toc and floatlist to the visible
4074         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4075         up the dialogs. Cursor has to be in front of the inset (i.e.
4076         start of row) for this to function.
4077
4078 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4079
4080         * bufferview_funcs.C (currentState): output row information
4081
4082 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4083
4084         * bufferview_funcs.C (currentState): output paragraph position
4085
4086 2003-09-04  Angus Leeming  <leeming@lyx.org>
4087
4088         * FloatList.h: move out #include "Floating.h".
4089         * LaTeX.h: move out #include "DepTable.h".
4090         * LyXAction.h: move out #include "funcrequest.h".
4091         * buffer.h: move out #include "author.h", "iterators.h".
4092         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4093         * lyx_main.h: move out #include "errorlist.h".
4094         * lyxfunc.h: move out #include "FuncStatus.h".
4095         * lyxtext: move out #include "lyxcursor.h".
4096         * paragraph_pimpl.h: move out #include "counters.h".
4097
4098 2003-09-03  Angus Leeming  <leeming@lyx.org>
4099
4100         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4101         preamble_snippets list, enabling us to add snippets to the preamble
4102         only if the snippet was not there already.
4103
4104 2003-09-04  Angus Leeming  <leeming@lyx.org>
4105
4106         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4107
4108 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4111         update
4112
4113 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4114
4115         * BranchList.C: point fix, earlier forgotten
4116
4117 2003-09-02  Angus Leeming  <leeming@lyx.org>
4118
4119         * box.C (contains): renamed from 'contained' after a fantastic
4120         amount of hot air.
4121
4122 2003-09-02  John Levon  <levon@movementarian.org>
4123
4124         * BufferView.C:
4125         * lyxcursor.h:
4126         * lyxcursor.C:
4127         * lyxfunc.C:
4128         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4129
4130 2003-09-02  John Levon  <levon@movementarian.org>
4131
4132         * text2.C: simplification of cursorEnd(), including partial
4133         fix for bug 1376
4134
4135 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4136
4137         * buffer.C (readFile): add a space
4138
4139 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4140
4141         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4142
4143 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4144
4145         * buffer.C (readFile): new function, take a filename and a
4146         ParagraphList::iterator
4147         (readFile): adjust
4148         (readFile): adjust, make it private. don't use setStream, make
4149         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4150         always contain the filename.
4151
4152         * BufferView.C (insertLyXFile): simplify and make it work for
4153         gzipped files.
4154
4155 2003-08-30  John Levon  <levon@movementarian.org>
4156
4157         * Makefile.am: fix dist (from Kayvan)
4158
4159 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4160
4161         * most files: change to use const Buffer refs
4162
4163 2003-08-27  André Pönitz  <poenitz@gmx.net>
4164
4165         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4166         on top of ownerPar().
4167
4168 2003-08-27  John Levon  <levon@movementarian.org>
4169
4170         * funcrequest.C: properly initialise POD members
4171
4172 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4173
4174         * lyxtext.h (top_y): move top_y from here
4175         * text.C:
4176         * text2.C:
4177         * text3.C:
4178         * BufferView.[Ch]:
4179         * BufferView_pimpl.[Ch]: to here
4180         * frontends/screen.C:
4181         * insets/insettabular.C:
4182         * insets/insettext.C: adjust
4183         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4184
4185 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4186
4187         * BufferView.[Ch]:
4188         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4189
4190 2003-08-26  André Pönitz  <poenitz@gmx.net>
4191
4192         * paragraph_func.[Ch] (outerPar): new function
4193
4194         * paragraph.C:
4195         * paragraph_funcs.C:
4196         * paragraph_funcs.h:
4197         * paragraph_pimpl.C:
4198         * text2.C: remove Inset::par_owner
4199
4200 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4201
4202         * lyxrow_funcs.C:
4203         * lyxtext.h:
4204         * text.C:
4205         * text2.C: eliminates the needFullRow/display() stuff
4206         altogether, putting the logic in metrics/draw in the insets.
4207
4208 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4209
4210         * text2.C (redoParagraphInternal, redoParagraphs):
4211         * text.C (redoParagraph): add a call to updateRowPositions at the
4212         end of each 'metrics-like' call. Remove all others.
4213         (getRow): remove the 'y-computing' version.
4214         (getRowNearY): do not compute nor return the real y. Solve the
4215         'y < 0' problem and simplify.
4216
4217 2003-08-22  Angus Leeming  <leeming@lyx.org>
4218
4219         * *.[Ch]: clean-up of licence and author blurbs.
4220         Also move config.h out of a few .h files and into a few .C files.
4221
4222 2003-08-22  André Pönitz  <poenitz@gmx.net>
4223
4224         * lyxrow.[Ch]: add x_ and *fill_ members
4225
4226         * lyxtext.h:
4227         * text.C:
4228         * rowpainter.C:
4229         * text2.C: adjust/remove prepareToPrint() calls
4230
4231 2003-08-22  André Pönitz  <poenitz@gmx.net>
4232
4233         * lyxrow.[Ch]: add  end_ member
4234
4235         * lyxrow_funcs.C: use LyXRow::end_
4236
4237         * lyxtext.h (singleWidth): add LyXFont parameter
4238
4239         * rowpainter.C:
4240         * text2.C: adjust LyXText::singleWidth() calls
4241
4242         * text.C (redoParagraph): simplify row breaking logic
4243
4244
4245 2003-08-19  André Pönitz  <poenitz@gmx.net>
4246
4247         * funcrequest.C: initialize button_ member
4248
4249         * text3.C:
4250         * rowpainter.[Ch]: interface consolidation
4251
4252 2003-08-18  André Pönitz  <poenitz@gmx.net>
4253
4254         * BufferView.C:
4255         * BufferView_pimpl.C:
4256         * lyxfind.C:
4257         * paragraph_funcs.C:
4258         * rowpainter.C:
4259         * text3.C: remove LyXScreen::draw() and fitCursor calls
4260
4261         * BranchList.h: remove spurious semicolons
4262
4263         * MenuBackend.C: fix branchlist related crash
4264
4265 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4266
4267         * BranchList.[Ch]:
4268         * InsetList.[Ch]:
4269         * LColor.[Ch]:
4270         * LyXAction.C:
4271         * Makefile.am:
4272         * MenuBackend.[Ch]:
4273         * bufferparams.[Ch]:
4274         * factory.C:
4275         * lfuns.h:
4276         * lyxfunc.C:
4277         * text3.C: implements the 'branch inset'
4278         idea. This allows the output of various versions of a document
4279         from a single source version, selectively outputing or suppressing
4280         output of parts of the text.
4281         This implementation contains a 'branch list editor' in a separate
4282         tab of the document settings dialog. Branches are user definable
4283         and have a "display colour" to distinguish them on-screen.
4284
4285         ColorHandler was somewhat cleaned up.
4286         (1) make possible a dynamically growing LColor list by allowing
4287         the graphic context cache to grow along (vector);
4288         (2) eliminate an IMHO unnecessary step in colour allocation.
4289
4290 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4291
4292         * BufferView_pimpl.C: compile fix
4293
4294 2003-08-15  André Pönitz  <poenitz@gmx.net>
4295
4296         * rowpainter.C: remove extra metrics calls
4297
4298         * lyxtext.h: merge the two constructors into a single one,
4299           pass reference to owner's par list
4300
4301         * BufferView_pimpl.C:
4302         * text.C:
4303         * text2.C: adjust
4304
4305 2003-08-15  André Pönitz  <poenitz@gmx.net>
4306
4307         * lyxrow_funcs.[Ch]:
4308         * lyxtext.h:
4309         * paragraph.h:
4310         * paragraph_funcs.C:
4311         * rowpainter.C:
4312         * text.C:
4313         * text2.C:
4314         * text3.C:
4315         * text_funcs.C: split LyXText::rowlist_ into individual
4316         Paragraph::rows_ chunks
4317
4318         * BufferView.[Ch]:
4319         * BufferView_pimpl.[Ch]:
4320         * lyxfind.C:
4321         * lyxtext.h:
4322         * text3.C: remove toggleSelection()
4323
4324 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4325
4326         * bufferlist.C: beautify two alerts (shorter text of buttons)
4327         * buffer.C: Remove redundant ' ' from message
4328         * tabular.h:
4329         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4330         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4331         rename VALIGN_CENTER to VALIGN_MIDDLE
4332
4333 2003-08-11  André Pönitz  <poenitz@gmx.net>
4334
4335         * lyxtext.h (getPar):
4336         * text.C: new function
4337
4338 2003-08-11  André Pönitz  <poenitz@gmx.net>
4339
4340         * Makefile.am:
4341         * tracer.[Ch]: remove unneeded files
4342
4343         * InsetList.[Ch]: remove resizeInsetsLyXText()
4344
4345         * lyxtext.h:
4346         * text.C:
4347         * text2.C:
4348         * text3.C: merge insertParagraphs() and appendParagraph()
4349         remove breakAgain(), update()
4350
4351         * BufferView_pimpl.[Ch]:
4352         * bufferview_funcs.[Ch]:
4353         * lyxfunc.C:
4354         * paragraph.[Ch]:
4355         * rowpainter.C:
4356         * tabular.C: adjust after text & InsetList changes.
4357
4358 2003-08-08  André Pönitz  <poenitz@gmx.net>
4359
4360         * text.C (insertChar, backspace): replace rowlist fiddling
4361         with rebreak of full par
4362
4363         * lyxtext.h:
4364         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4365         checkParagraph, updateInset): removed
4366
4367 2003-08-07  André Pönitz  <poenitz@gmx.net>
4368
4369         * paragraph.C:
4370         * text3.C: merge some LFUN handlers, remove dead code
4371
4372 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4373
4374         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4375
4376 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4377
4378         * text2.C (DEPM): fix part of bug 1255 and 1256
4379
4380 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4381
4382         * BufferView_pimpl.C (workAreaDispatch): change to use
4383         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4384         that are no mouse related.
4385
4386 2003-08-05  André Pönitz  <poenitz@gmx.net>
4387
4388         * BufferView.[Ch]:
4389         * BufferView_pimpl.[Ch]:
4390         * bufferview_funcs.C:
4391         * text2.C:
4392         * text3.C: rip out "deep update"
4393
4394         * textcursor.[Ch] (last_sel_cursor): remove unused member
4395
4396 2003-08-04  André Pönitz  <poenitz@gmx.net>
4397
4398         * BufferView.[Ch]:
4399         * BufferView_pimpl.[Ch]:
4400         * ParagraphParameters.C:
4401         * bufferview_funcs.C:
4402         * lyx_cb.C:
4403         * lyxfind.C:
4404         * lyxfunc.C:
4405         * text.C:
4406         * text2.C:
4407         * text3.C: replace "complicated" BufferView::update(...) calls with
4408         simpler ones.
4409
4410         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4411
4412 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4413
4414         * Makefile.am (lyx_SOURCES): add paper.h
4415
4416 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4417
4418         * Makefile.am: move things around so that both lyx-qt and
4419         lyx-xforms can be built (according to --with-frontend). Then lyx
4420         is a symbolic link to lyx-[firstfrontend]
4421
4422 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4423
4424         * Always use std::endl with lyxerr
4425
4426 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4427
4428         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4429
4430 2003-08-01  André Pönitz  <poenitz@gmx.net>
4431
4432         * BufferView.[Ch]:
4433         * BufferView_pimpl.[Ch]:
4434         * lyxfunc.C:
4435         * text3.C: merge BufferView::repaint() and BufferView::update()
4436
4437 2003-08-01  José Matos  <jamatos@lyx.org>
4438
4439         * buffer.[Ch]: file_format is no longer a buffer data element.
4440
4441 2003-08-01  André Pönitz  <poenitz@gmx.net>
4442
4443         * BufferView.C:
4444         * lyxtext.h:
4445         * text.C:
4446         * text2.C: make redoParagraph more independent of current cursor
4447
4448         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4449         * text.C:
4450         * text2.C: remove unneeded members
4451
4452 2003-07-30  André Pönitz  <poenitz@gmx.net>
4453
4454         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4455
4456         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4457           create a single function...
4458
4459         * paragraph_funcs.C (moveItem): ... here.
4460
4461         * text.C:
4462           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4463
4464 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4465
4466         * LColor.[Ch]: Add comment and greyedout logical colors.
4467
4468 2003-07-30  André Pönitz  <poenitz@gmx.net>
4469
4470         * tabular.C: don't use Assert too heavily. This crashes where it
4471           shouldn't
4472
4473 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4476         is disabled (bug 1232)
4477
4478 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4479
4480         * factory.C: limited 'arg' scope
4481
4482 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4483
4484         * factory.C: fixed Note submenu issues
4485
4486 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4487
4488         * factory.C: submenu for Note/Comment/Greyedout
4489
4490 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4491
4492         * lyx_main.C (LyX):
4493         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4494
4495 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4496
4497         * LaTeXFeatures.C:
4498         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4499         greyedout. Patch provided by Jürgen Spitzmüller.
4500
4501 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4502
4503         * kbmap.C (read): fix error message when reading bind files
4504
4505 2003-07-29  Angus Leeming  <leeming@lyx.org>
4506
4507         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4508         certainly does not do what it purports to do. I am doing it, and
4509         us, a favour by killing it.
4510
4511 2003-07-28  José Matos  <jamatos@lyx.org>
4512
4513         * buffer.C (readBody, do_writeFile):
4514         * paragraph.C(readParagraph): \end_document replaces \the_end.
4515
4516 2003-07-29  André Pönitz  <poenitz@gmx.net>
4517
4518         * BufferView.[Ch]:
4519         * BufferView_pimpl.[Ch]:
4520         * lyxfunc.C:
4521         * text2.C:
4522         * text3.C:
4523         * textcursor.[Ch]: remove toggleToggle & Co
4524
4525 2003-07-28  José Matos  <jamatos@fep.up.pt>
4526
4527         * buffer.C (readParagraph):
4528         * params_func (readParToken, readParagraph):
4529         * paragraph.C (write): \layout -> \begin_layout.
4530
4531 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4532
4533         * lyxlex_pimpl.C (setFile): clean up slightly.
4534
4535         * bufferparams.h: add compressed var
4536
4537         * buffer_funcs.C (readFile): adjust for LyXLex change
4538         (newFile): ditto + simplify
4539
4540         * buffer.C (writeFile): handle writing of compressed files
4541
4542         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4543         Check if the file is compressed and set a bufferparm if so.
4544
4545         * Makefile.am (lyx_LDADD): remove explicit -lz
4546
4547 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4548
4549         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4550         makeDocBookFile): put the real LyX version in the first line of
4551         the file
4552
4553         * version.h:
4554         * version.C.in: remove lyx_docversion
4555
4556         * tabular.C (write_attribute): add a template-based version to
4557         write enums properly
4558
4559 2003-07-28  André Pönitz  <poenitz@gmx.net>
4560
4561         * lyxtext.h:
4562         * text.C:
4563         * text2.C:
4564         * text3.C: use doubles again for x-coordinates. They are needed.
4565
4566 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4567
4568         * messages.C (getLocaleDir): use lyx_localedir()
4569
4570         * lyxlex_pimpl.C (setFile): compress stuff
4571
4572         * buffer.C (writeFile): add some compression stuff
4573         (do_writeFile): new func, dont call expliti close... will this
4574         breake anything?
4575
4576         * Makefile.am (lyx_LDADD): add -lz
4577
4578 2003-07-28  José Matos  <jamatos@fep.up.pt>
4579
4580         * buffer.C: increment file format.
4581         * paragraph_funcs (readParagraph, readParToken):
4582         * paragraph.C (readParagraph): add \end_layout.
4583
4584 2003-07-27  Angus Leeming  <leeming@lyx.org>
4585
4586         * Makefile.am: remove special casing for configure-time setting of
4587         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4588
4589         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4590         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4591
4592 2003-07-26  André Pönitz  <poenitz@gmx.net>
4593
4594         * paragraph_func.[Ch]:
4595         * paragraph.C (realizeFont): inline it whereever it is used
4596
4597         * rowpainter.C:
4598         * text.C:
4599         * text2.C:
4600         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4601
4602
4603 2003-07-26  André Pönitz  <poenitz@gmx.net>
4604
4605         *       lyxtext.h:
4606         * text.C:
4607         * text2.C: get rid of LyXText::need_break_row
4608
4609 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4610
4611         * toc.[Ch]: put namespace toc inside namespace lyx
4612
4613         * MenuBackend.C (expandToc2): adjust for lyx::toc
4614         (expandToc): ditto
4615
4616         * lyxfunc.C (dispatch): adjust for lyx::find
4617
4618         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4619         lyx::find instead. Reorganize a bit.
4620         (LyXReplace): rename to replace
4621         (LyXFind): rename to find
4622
4623         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4624         (dispatch): ditto
4625
4626 2003-07-26  André Pönitz  <poenitz@gmx.net>
4627
4628         * text.C (setHeightOfRow): restrict scope of temporary variable
4629
4630         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4631           code (never has been used?)
4632
4633 2003-07-27  Asger Alstrup  <alstrup@local>
4634
4635         * text.C (fill): Optimise algorithm to exploit that we can reuse
4636         the LyXFont for many characters.
4637         (setHeightOfRow): Same thing.
4638         (rowBreakPoint): Same thing.
4639
4640 2003-07-26  Asger Alstrup  <alstrup@local>
4641
4642         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4643
4644         * text.C (singleWidth): Spurious font copying in hot-spot
4645         singleWidth avoided. Reorder tests for arabic for efficiency.
4646
4647         * text.C (fill): handle empty paragraphs better.
4648
4649 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4650
4651         * ispell.C:
4652         * encoding.h: add includes
4653
4654         * lyxrc.C: remove reading of bind files
4655
4656         * lyx_main.C (init): setup bindings and menus only if we have a
4657         gui.
4658
4659         * kbmap.C (read): new method. Do the actual reading of bind
4660         files.
4661
4662         * converter.C (dvipdfm_options):
4663         * bufferparams.C:
4664         * lyxrc.C (read):
4665         (output): adapt PAPER_* enums.
4666
4667         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4668
4669         * bufferparams.h: remove paper-related enums from there
4670
4671         * paper.h: New file. A trivial header file to hold paper-related
4672         enums. It should later expand to contain many paper-related
4673         horrors access.
4674
4675         * lyxrc.C: declare extern displayTranslator
4676
4677 2003-07-27  José Matos  <jamatos@fep.up.pt>
4678
4679         * tabular.[Ch] (linuxdoc): add support for tables and figures
4680         (linuxdoc).
4681
4682 2003-07-27  José Matos  <jamatos@fep.up.pt>
4683
4684         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4685         consistency in both functions.
4686         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4687
4688 2003-07-26  Asger Alstrup  <alstrup@local>
4689
4690         * rowpainter.C (paintRows): Change algorithm to work directly on
4691         the insets rather than asking every character in the document
4692         whether its an inset.
4693
4694 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4695
4696         * buffer.C (openFileWrite): factorize some code
4697
4698 2003-07-26  Angus Leeming  <leeming@lyx.org>
4699
4700         * lyx_cb.C:
4701         * lyx_main.[Ch]: replace occurances of system_tempdir with
4702         os::getTmpDir().
4703
4704 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * rename Inset to InsetOld
4707
4708 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4709
4710         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4711         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4712         which I think is a bit clearer. EDIT is gone, since it was
4713         premature optimisation, and broken for mathed anyway.
4714         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4715         with cursor positioning in insets as well (math insets still do not
4716         work, but that's a different story anyway.) It mysteriously
4717         crashes sometimes with undo in the first paragraph, but I'm fairly
4718         confident that this is a compiler bug.
4719
4720 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * paragraph.C (Paragraph): adjust for new clone return type
4723         (operator==): ditto
4724         (copyIntoMinibuffer): ditto
4725
4726 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4727
4728         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4729         by not having a special case, and always doing a full rebreak of
4730         the document after undo.
4731
4732 2003-07-23  Angus Leeming  <leeming@lyx.org>
4733
4734         * factory.C (createInset): InsetExternal::setParams now takes a
4735         Buffer const * arg.
4736
4737 2003-07-23  Angus Leeming  <leeming@lyx.org>
4738
4739         * factory.C (createInset): changed interface to the external and
4740         graphics mailers' string2params functions.
4741
4742 2003-07-23  Angus Leeming  <leeming@lyx.org>
4743
4744         * factory.C (createInset): pass a
4745         Buffer const * parameter to InsetExternalMailer's string2params.
4746
4747 2003-07-22  John Levon  <levon@movementarian.org>
4748
4749         * Thesaurus.h: include the right aiksaurus header
4750
4751 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4752
4753         * MenuBackend.C (expand): check menu shortcuts unconditionally
4754
4755 2003-07-21  Angus Leeming  <leeming@lyx.org>
4756
4757         * factory.C (createInset): pass a
4758         buffer_path parameter to InsetGraphicsMailer's string2params.
4759
4760 2003-07-21  Angus Leeming  <leeming@lyx.org>
4761
4762         * BufferView_pimpl.C (buffer):
4763         * buffer.C (d-tor):
4764         * lyx_main.C (LyX):
4765         * lyxfunc.C (dispatch):
4766         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4767         rather than the grfx shortcut.
4768
4769 2003-07-21  André Pönitz  <poenitz@gmx.net>
4770
4771         * rowpainter.C: remove unused variables
4772
4773         * tabular_funcs.C:
4774         * tabular_funcs.h: move to tabular.C
4775         * Makefile.am: adjust
4776
4777         * tabular.[Ch]: basic optical cleaning
4778
4779         * author.h: pass references, not values
4780
4781 2003-07-18  André Pönitz  <poenitz@gmx.net>
4782
4783         * lyxtext.h:
4784         * metricsinfo.C:
4785         * metricsinfo.h:
4786         * rowpainter.C:
4787         * text.C:
4788         * text2.C:
4789         * text3.C: two-phase drawing for InsetText and InsetTabular
4790         some float -> int changes.
4791
4792 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4793
4794         * lyx_main.C: fix the fix
4795
4796 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4797
4798         * lyx_main.C: fix a crash in batch mode if no files specified
4799         * converter.C: ws
4800
4801 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4802
4803         * format.[Ch] (papersize): moved to BufferParams
4804         * converter.[Ch] (dvips_options): moved to BufferParams
4805         (dvipdfm_options): moved to anon namespace
4806         * bufferparams.[Ch]: added above functions.
4807
4808 2003-07-17  André Pönitz  <poenitz@gmx.net>
4809
4810         * lyxtext.h:
4811         * rowpainter.C:
4812         * text2.C: don't call inset->update() anymore
4813
4814         * metricsinfo.[Ch]: add convenience constructor
4815
4816 2003-07-16  André Pönitz  <poenitz@gmx.net>
4817
4818         * lyxcursor.[Ch]:
4819         * lyxfunc.[Ch]:
4820         * text.C:
4821         * text2.C: replace the LyXCursor::irow_ member with
4822          on-demand computation of the value
4823
4824 2003-07-16  John Levon  <levon@movementarian.org>
4825
4826         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4827
4828 2003-07-15  André Pönitz  <poenitz@gmx.net>
4829
4830         * text.C:
4831         * text2.C: remove no more needed refresh_row
4832
4833 2003-07-15  André Pönitz  <poenitz@gmx.net>
4834
4835         * lyxtext.h:
4836         * rowpainter.C:
4837         * text2.C:
4838         * text3.C: refresh_status tristate -> need_update bool
4839
4840 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4841
4842         * lyxtext.h (init): remove reinit argument (act as if always true)
4843         * text2.C: adjust to that
4844
4845 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4846
4847         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4848         * text3.C: use it to delete selections in some cases
4849         (bugs 441, 673, 702, 954).
4850
4851 2003-07-14  André Pönitz  <poenitz@gmx.net>
4852
4853         * rowpainter.[Ch]: reduce interface
4854
4855 2003-07-14  André Pönitz  <poenitz@gmx.net>
4856
4857         * BufferView_pimpl.C:
4858         * text2.C: adjust after removing unused BufferView * argument
4859
4860 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4861
4862         * text2.C (init): fix a crash fired on resize
4863
4864 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * buffer.[Ch]: added new closing signal
4867         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4868         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4869         BufferView::Pimpl via the closing the signal
4870
4871 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4872
4873         * buffer.[Ch]: take out all bv-related from buffer
4874         * BufferView.C:
4875         * BufferView_pimpl.[Ch]: connect to new signals
4876         * CutAndPaste.C: removed useless asserts
4877         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4878         * lyxvc.[Ch]:
4879         * vc-backend.[Ch]:
4880         * lyxfunc.C: moved view-related funciontality from vc here
4881         * paragraph.C: removed outdated comments
4882         * text.C: ws
4883
4884 2003-07-10  André Pönitz  <poenitz@gmx.net>
4885
4886         * BufferView_pimpl.C:
4887         * tabular.h:
4888         * tabular_funcs.C:
4889         * text.C:
4890         * text2.C: remove InsetText::InnerCache, clean up consequences
4891
4892 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4893
4894         * ispell.C: fix two typos in error messages
4895
4896 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4897
4898         * Extend Note inset to other forms of annotation like Comment
4899         and Greyedout. Right button click gives dialog.
4900
4901         Files modified or added (+):
4902
4903         * insetnote.[Ch]
4904         * FormNote.[Ch]      +
4905         * ControlNote.[Ch]   +
4906         * form_note.fd       +
4907         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4908         frontends/controllers
4909         * xforms/Dialogs.C
4910         * factory.C
4911
4912 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4913
4914         * aspell.C: add missing namespace lyx::support
4915
4916 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4917
4918         * BufferView.[Ch] (newFile): Add
4919         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4920         * LaTeX.[Ch] (message): added this signal and use it
4921         * buffer.[Ch] (busy, message): added these signals and use them
4922         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4923         * converter.C:
4924         * exporter.C:
4925         * format.C:
4926         * importer.C: use buffer signals instead of direct bv calling
4927         * lyx_cb.[Ch] (ShowMessage): removed
4928         * lyx_main.C:
4929         * lyxfunc.C:
4930         * paragraph_funcs.C:
4931         * text2.C: use buffer signals
4932
4933 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4934
4935         * introduce namespace lyx::graphics
4936
4937 2003-07-02  André Pönitz  <poenitz@gmx.net>
4938
4939         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4940
4941 2003-07-01  André Pönitz  <poenitz@gmx.net>
4942
4943         * text.C:
4944         * text2.C:
4945         * text3.C:
4946         * text_funcs.[Ch]:
4947         * textcursor.h:
4948         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4949           text*.C to text_func.C
4950
4951 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * introduce namespace lyx::support
4954
4955 2003-06-30  André Pönitz  <poenitz@gmx.net>
4956
4957         * Chktex.C:
4958         * funcrequest.C:
4959         * lyxtext.h:
4960         * text.C: re-enable --with-included-string
4961
4962 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4963
4964         * textcursor.C: add <config.h>
4965
4966         * text.C (getWord): remove const from word_location arg
4967
4968         * lyxvc.C (getLogFile): fix const type order
4969
4970         * lyxtext.h: remove const from word_location arg, add arg name
4971
4972         * lyxlayout.h: currect type on labeltype.
4973
4974         * importer.C: correct \file
4975
4976         * converter.C (intToFormat): use std:: on ret val, ws changes
4977
4978         * bufferlist.h: correct \file
4979
4980         * buffer.C (makeLinuxDocFile): fix const type order
4981         (makeDocBookFile): ditto
4982         (fillWithBibKeys): use std:: on stdlib args.
4983
4984         * CutAndPaste.C: fix authors.
4985         (availableSelections): use std:: on return vector
4986
4987 2003-06-27  André Pönitz  <poenitz@gmx.net>
4988
4989         * BufferView_pimpl.C:
4990         * bufferview_funcs.C:
4991         * lyxcursor.C:
4992         * lyxcursor.h:
4993         * lyxfunc.C:
4994         * lyxtext.h:
4995         * rowpainter.C:
4996         * text.C:
4997         * text2.C:
4998         * text3.C: remove LyXCursor::row_ member
4999
5000         * lyxtext.h:
5001         * text.C: rename fullRebreak() to partialRebreak() and implement
5002           a fullRebreak() that really bereks fully
5003
5004         * textcursor.h: new struct for cursor-related data
5005
5006 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5007
5008         * lyx_main.C (LyX): get full path of document loaded on the
5009         command line
5010
5011 2003-06-26  André Pönitz  <poenitz@gmx.net>
5012
5013         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5014           remove unused/broken operator>,<,>=.
5015
5016         *       text.C: remove only use of broken operator<= in an Assert().
5017
5018 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5019
5020         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5021         moved errorlist_.clear to showErrorList
5022
5023 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5024
5025         * converter.C (scanLog, runLaTeX):
5026         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5027         move the bv->showErrorList call to the callers
5028         * lyxfunc.C: i.e. here...
5029         * text2.C: and here
5030         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5031         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5032         namespace, the second to...
5033         * buffer_funcs (BufferFormat, parseErrors): added
5034         * errorlist.C (ErrorList(TeXErrors const &)): removed
5035
5036 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5037
5038         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5039
5040 2003-06-24  "Garst R. Reese" <reese@isn.net>
5041
5042         * debug.C: fix typo
5043
5044 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5045
5046         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5047
5048         * version.C.in: change docversion to 1.4
5049
5050 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5051
5052         * buffer.C: fix a bug just introduced
5053
5054 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5055
5056         * buffer.[Ch]: added the parseError signal and use it, removed
5057         sgmlError
5058         * BufferView.[Ch] (addError): moved to ...
5059         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5060         to the Buffer::parseError signal to catch (guess what) parse errors
5061         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5062
5063 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5066         ability to create a buffer and to return an existing one from
5067         the list. Moved these functions to...
5068         * buffer_funcs.[Ch]: added
5069         * BufferView.[Ch] (loadLyXFile): added
5070         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5071         job removed from bufferlist::loadLyXFile.
5072         * buffer.C (setReadOnly): make it work without view
5073         (i.e added an if (users))
5074
5075 2003-06-19  Angus Leeming  <leeming@lyx.org>
5076
5077         * lfuns.h:
5078         * LyXAction.C (init):
5079         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5080         with LFUN_DIALOG_SHOW <name> <data>.
5081
5082 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5083
5084         * CutAndPaste.C (availableSelections): small compilation fix for
5085         ancient (gcc 2.9x) compilers
5086
5087 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5088
5089         * text3.C (cursorNext): add tmp var
5090
5091         * text2.C (updateCounters): for function calling out of for clause
5092         (replaceSelectionWithString): ditto
5093         (insertStringAsParagraphs): ditto
5094         (getColumnNearX): add tmp var
5095         (setCursorFromCoordinates): add tmp var
5096         (cursorDownParagraph): add tmp var
5097         (deleteEmptyParagraphMechanism): add tmp var
5098
5099         * text.C (insertChar): add tmp var
5100
5101         * rowpainter.C (paintDepthBar): add tmp var
5102
5103         * CutAndPaste.C (availableSelections): potentially check all
5104         paragraphs in a cut to fill the shown strings.
5105
5106 2003-06-18  André Pönitz  <poenitz@gmx.net>
5107
5108         * kbmap.[Ch]: use vector<> instead of list<>
5109
5110 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5111
5112         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5113         pasteSelection with index
5114
5115         * text2.C (pasteSelection): modify, call pasteSelection with index
5116
5117         * paragraph.C (asString): reimplement version with no interval to
5118         call the one with interval.
5119
5120         * lyxtext.h: add index arg to pasteSelection
5121
5122         * MenuBackend.C (MenuItem): handle PasteRecent
5123         (Menu::read::Menutags): add md_pasterecent
5124         (read): handle it
5125         (expandPasteRecent): new function
5126         (expand): use it
5127
5128         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5129
5130         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5131         the limited stack
5132         (availableSelections): new function
5133
5134 2003-06-17  Angus Leeming  <leeming@lyx.org>
5135
5136         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5137
5138 2003-06-17  Angus Leeming  <leeming@lyx.org>
5139
5140         * lfuns.h:
5141         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5142
5143         * lyxfunc.C (dispatch): invoke it.
5144
5145 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5146
5147         * iterators.C (operator++, ParPosition): reintroduce some
5148         const_cast for the benefit of older compilers.
5149
5150 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5151
5152         * text3.C (dispatch): do not modify clipboard when doing
5153         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5154         LFUN_DELETE_SKIP on a selection selection
5155
5156 2003-06-16  André Pönitz  <poenitz@gmx.net>
5157
5158         * BufferView.C:
5159         * buffer.C:
5160         * buffer.h:
5161         * paragraph.C:
5162         * tabular.[Ch]: IU of clone() and getLabelList();
5163
5164 2003-06-13  André Pönitz  <poenitz@gmx.net>
5165
5166         * tabular.h: compactification
5167
5168 2003-06-12  André Pönitz  <poenitz@gmx.net>
5169
5170         * tabular.C:
5171         * tabular.h:
5172         * tabular_funcs.h: some renaming plus whitespace
5173
5174 2003-06-12  André Pönitz  <poenitz@gmx.net>
5175
5176         * BufferView.C:
5177         * BufferView_pimpl.C:
5178         * CutAndPaste.C:
5179         * buffer.C:
5180         * iterators.[Ch]:
5181         * lyxfunc.C:
5182         * text.C:
5183         * toc.C: Return a Paragraph & for ParIterator::operator*()
5184
5185 2003-06-11  John Levon  <levon@movementarian.org>
5186
5187         * lyx_main.C:
5188         * ToolbarBackend.h:
5189         * ToolbarBackend.C: add "Toolbars" section and
5190         put the flags there
5191
5192 2003-06-10  Angus Leeming  <leeming@lyx.org>
5193
5194         * lfuns.h:
5195         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5196
5197         * lyxfunc.C (dispatch): invoke it.
5198
5199 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * main.C: protect <ios> with HAVE_IOS
5202         (main): protect sync_with_stdio with HAVE_IOS
5203
5204 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5205
5206         * text2.C (cutSelection): adjust
5207         (pasteSelection): adjust
5208
5209         * messages.C: handle get of empty string
5210
5211         * main.C (main): use sync_with_stdio(false)
5212
5213         * lyxfunc.C (dispatch): adjust
5214
5215         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5216         (WriteAs): remove unneeded BufferView arg.
5217
5218         * bufferparams.h: use correct types on papersize, papersize2 and
5219         paperpackage.
5220
5221         * bufferparams.C (readToken): adjust for type
5222         (writeLaTeX): add missing cases to switch.
5223
5224         * bufferlist.C (quitWriteBuffer): adjust
5225         (close): adjust
5226
5227         * buffer.C (asciiParagraph): remove some commented code.
5228
5229         * CutAndPaste.C: remove current_view extern variable.
5230         (cutSelection): add BufferParams arg.
5231         (eraseSelection): add BufferParams arg.
5232         (pasteSelection): add Buffer const & arg
5233
5234 2003-06-07  John Levon  <levon@movementarian.org>
5235
5236         * buffer.C:
5237         * paragraph_funcs.C:
5238         * paragraph_pimpl.C:
5239         * text.C:
5240         * text2.C:
5241         * paragraph.h:
5242         * paragraph.C: allow InsetERT to freely space lines,
5243         and some consolidation of code
5244
5245 2003-06-06  José Matos  <jamatos@fep.up.pt>
5246
5247         * buffer.C (makeDocBookFile): fix bug #821
5248
5249 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5250
5251         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5252
5253 2003-06-04  Angus Leeming  <leeming@lyx.org>
5254
5255         * buffer.C: bump format to 224.
5256
5257 2003-06-05  André Pönitz  <poenitz@gmx.net>
5258
5259         * text2.C (redoParagraphs): remove two const_cast<>
5260
5261 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5262
5263         * ParagraphList.h: remove last remnants of NO_STD_LIST
5264
5265 2003-06-03  Angus Leeming  <leeming@lyx.org>
5266
5267         * factory.C (createInset): small change to the way InsetExternal's params
5268         are set.
5269
5270 2003-06-04  André Pönitz  <poenitz@gmx.net>
5271
5272         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5273
5274         * paragraph_pimpl.h:
5275         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5276
5277         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5278
5279         * undo_funcs.C: make some simple cases of undo work again
5280
5281 2003-06-03  John Levon  <levon@movementarian.org>
5282
5283         * ispell.C: HPUX doesn't have sys/select.h
5284         (from Albert Chin)
5285
5286 2003-06-03  John Levon  <levon@movementarian.org>
5287
5288         * CutAndPaste.C: update tabular and include inset
5289         buffer references
5290
5291         * buffer.h:
5292         * paragraph.h:
5293         * paragraph.C: remove owningBuffer(), don't pass Buffer
5294         to clone()
5295
5296         * factory.C: insetGraphicsParams changed
5297
5298 2003-06-02  John Levon  <levon@movementarian.org>
5299
5300         * LyXAction.C:
5301         * factory.C:
5302         * lfuns.h:
5303         * lyxfunc.C:
5304         * text3.C: remove insetparent
5305
5306 2003-06-02  John Levon  <levon@movementarian.org>
5307
5308         * buffer.h:
5309         * buffer.C: fix inset_iterator.end(), move out of line
5310         (bug 1149)
5311
5312 2003-06-01  John Levon  <levon@movementarian.org>
5313
5314         * text3.C: use a proper cut/paste when doing inset
5315         insert (from Jürgen Spitzmüller)
5316
5317 2003-06-01  John Levon  <levon@movementarian.org>
5318
5319         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5320
5321 2003-05-30  André Pönitz  <poenitz@gmx.net>
5322
5323         * rowpainter.C: unify second drawing phase
5324
5325 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5326
5327         * trans_mgr.C: remove one case of current_view
5328
5329         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5330
5331         * paragraph_funcs.h: remove paragraph.h include
5332
5333         * paragraph.h: delete NO_STD_LIST stuff
5334
5335         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5336
5337         * buffer.h: remove paragraph.h include
5338
5339         * ParagraphList.C: delete file
5340
5341         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5342
5343         * toc.C (getTocList): adjust
5344
5345         * paragraph_pimpl.C (validate): adjust
5346
5347         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5348
5349         * paragraph.C (Paragraph): adjust
5350         (getPositionOfInset): use const_iterator, adjust
5351         (bibitem): use const_iterator, adjust
5352         (setInsetOwner): adjust
5353
5354         * iterators.C (operator++): adjust
5355
5356         * InsetList.[Ch]: Replace selfmade iterator with standard
5357         vector::iterator also introduce const_iterator. Remove getPos,
5358         getInset and setInset from InsetTable. Adjust accordingly.
5359
5360         * BufferView.C (lockInset): adjust
5361         (ChangeInsets): adjust
5362
5363         * tabular.[Ch]: delete commented same_id functions
5364
5365 2003-05-28  John Levon  <levon@movementarian.org>
5366
5367         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5368
5369 2003-05-28  André Pönitz  <poenitz@gmx.net>
5370
5371         * metricsinfo.[Ch]: remove 'fullredraw' member
5372
5373 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5374
5375         * lyxtextclass.C (operator): remove caching.
5376
5377 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5378
5379         * text3.C: adjust
5380
5381         * text2.C (cursorBottom): adjust
5382         (setCounter): use ParagraphList::find, adjust
5383
5384         * text.C (workWidth): use ParagraphList::find, adjust
5385
5386         * lyxcursor.C (LyXCursor): adjust
5387
5388         * buffer.C (inset_iterator): adjust
5389
5390         * ParagraphList.h: make iterator(value_type) private, make
5391         ParagraphList a friend of iterator.
5392
5393         * ParagraphList.C (find): new function
5394
5395         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5396
5397 2003-05-27  André Pönitz  <poenitz@gmx.net>
5398
5399         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5400
5401 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5402
5403         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5404
5405 2003-05-26  John Levon  <levon@movementarian.org>
5406
5407         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5408
5409 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * remove same_id from function signatures, adjust.
5412
5413 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5414
5415         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5416
5417         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5418
5419         * paragraph.C (Paragraph): get rid of same_ids parameter
5420
5421         * ParagraphList.C (insert): adjust
5422         (push_back): adjust
5423
5424 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5425
5426         * paragraph_funcs.C (breakParagraph): adjust
5427         (breakParagraphConservative): adjust
5428
5429         * buffer.C (readParagraph): adjust
5430
5431         * ParagraphList.C (insert): take a reference instead of a pointer
5432         (insert): adjust
5433
5434         * paragraph.[Ch] (id): new function
5435
5436         * bufferlist.C (newFile): adjust
5437
5438         * ParagraphList.C (ParagraphList): adjust
5439         (assign): adjust
5440         (push_back): take a reference instead of a pointer.
5441
5442         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5443
5444         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5445         instead.
5446
5447         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5448         set else use old code.
5449
5450         * ParagraphList.C: remove all NO_NEXT code and only compile this
5451         code of NO_STD_LIST is set.
5452
5453 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5454
5455         * BufferView_pimpl.C:
5456         * TextCache.C:
5457         * TextCache.h:
5458         * bufferlist.C:
5459         * errorlist.h:
5460         * format.C:
5461         * format.h:
5462         * graph.C:
5463         * lyxfunc.C:
5464         * lyxrc.C:
5465         * graphics/GraphicsConverter.C:
5466         * graphics/PreviewLoader.C: header adjustment
5467
5468 2003-05-23  Angus Leeming  <leeming@lyx.org>
5469
5470         * LaTeXFeatures.[Ch] (useBabel): new method.
5471         * bufferparams.C (writeLaTeX): use it.
5472
5473 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5474
5475         * ParagraphList.h (set): remove unused function.
5476
5477 2003-05-23  André Pönitz  <poenitz@gmx.net>
5478
5479         * BufferView.C:
5480         * BufferView_pimpl.C:
5481         * buffer.C:
5482         * buffer.h:
5483         * lyxfunc.C:
5484         * undo_funcs.C: setUndo reworked
5485
5486         * iterators.[Ch]: add access to topmost ParagraphList
5487
5488         * lyxtext.[Ch] (workWidth): add a const
5489
5490 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5491
5492         * texrow.[Ch] (increasePos): remove function
5493         * exporter.C (export): removed unused var and outdated comment
5494
5495 2003-05-23  Angus Leeming  <leeming@lyx.org>
5496
5497         * latexrunparams.h: rename fragile as moving_arg.
5498         * paragraph.C (simpleTeXOnePar): ditto.
5499         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5500
5501 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5502
5503         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5504         (createUndo): ditto
5505         (textUndoOrRedo): comment out a currently unused var.
5506
5507         * paragraph.h (NO_NEXT): enable NO_NEXT
5508
5509         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5510
5511         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5512
5513         * exporter.C (Export): adjust for removeAutoInsets removal.
5514
5515         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5516
5517         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5518
5519         * BufferView.[Ch] (removeAutoInsets): delete function
5520
5521 2003-05-22  Angus Leeming  <leeming@lyx.org>
5522
5523         * latexrunparams.h: add a free_spacing variable.
5524
5525         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5526         to pass moving_arg, as the data is stored in runparams.fragile.
5527
5528         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5529         to Inset::latexOptional or to simpleTeXOnePar.
5530
5531         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5532         free_spacing arg to Inset::latexOptional.
5533
5534         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5535         free_spacing arg.
5536
5537 2003-05-22  Angus Leeming  <leeming@lyx.org>
5538
5539         * latexrunparams.h: add fragile and use_babel variables.
5540
5541         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5542         * buffer.C (makeLaTeXFile): store this returned value in
5543         runparams.use_babel, thus passing it to the inset::latex methods.
5544
5545         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5546         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5547
5548         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5549         longer has a fragile arg, as it is stored in runparams.fragile.
5550
5551         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5552         moving_arg parameter as the data is stored in runparams.fragile.
5553
5554         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5555         a fragile parameter as the data is stored in runparams.fragile.
5556
5557 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5558
5559         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5560
5561 2003-05-22  Angus Leeming  <leeming@lyx.org>
5562
5563         * latexrunparams.h: add a 'bool nice' which defaults to false.
5564
5565         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5566         now encapsulated within runparams.
5567
5568         * bufferlist.C (updateIncludedTeXfiles):
5569         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5570
5571 2003-05-22  Angus Leeming  <leeming@lyx.org>
5572
5573         * latexrunparams.h: new file containing struct LatexRunParams.
5574         * Makefile.am: add new file.
5575
5576         * LaTeX.[Ch] (c-tor, run):
5577         * buffer.[Ch] (makeLaTeXFile):
5578         * bufferlist.[Ch] (updateIncludedTeXfiles):
5579         * converter.C (convert, scanLog):
5580         * converter.[Ch] (runLaTeX):
5581         * exporter.C (Export):
5582         * paragraph.[Ch] (simpleTeXOnePar):
5583         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5584         * paragraph_funcs.[Ch] (latexParagraphs):
5585         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5586         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5587         pass around a LatexRunParams parameter.
5588
5589 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5590
5591         * paragraph.[Ch]: remove unused constructor
5592
5593         * ParagraphList.C (erase): new function, taking two iterators
5594
5595 2003-05-22  André Pönitz  <poenitz@gmx.net>
5596
5597         * undo_funcs.C: remove duplicated code
5598
5599         * iterator.[Ch]: operator=
5600
5601 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5602
5603         * tabular.C (SetMultiColumn): ws changes
5604
5605         * rowpainter.C (paintFirst): get rid of a ->previous
5606
5607         * lyx_cb.C (getPossibleLabel): parlist simplification
5608
5609         * BufferView.C (ChangeInsets): simplify slightly.
5610
5611 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5612
5613         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5614         * lfuns.h: new LFUN_SPACE
5615         * lyxfunc.C: protected space has a new lfun
5616         * paragraph_funcs.C: read new space insets
5617         * text3.C:
5618         * factory.C: handle new space insets
5619
5620 2003-05-22  André Pönitz  <poenitz@gmx.net>
5621
5622         * BufferView.C:
5623         * BufferView_pimpl.C:
5624         * buffer.[Ch]:
5625         * lyxfunc.C:
5626         * undo_funcs.C: return a ParIterator from getParFromID.
5627
5628         * iterators.[Ch]: add two const's
5629
5630 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * toc.C (getTocList): adjust
5633
5634         * iterators.[Ch]: rework for parlist
5635
5636         * buffer.C (par_iterator_begin): adjust
5637         (par_iterator_end): adjust
5638
5639         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5640
5641         * BufferView.C (removeAutoInsets): adjust
5642         (ChangeInsets): adjust
5643
5644 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5645
5646         * text.C (top_y): fix bug 1110
5647
5648 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5649
5650         * errorlist.[Ch]: added
5651         * buffer.C:
5652         * BufferView.[Ch]:
5653         * BufferView_pimpl.C:
5654         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5655         instead
5656
5657 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5658
5659         * Makefile.am: ensure that lyx is relinked upon changes to the
5660         various "convenience" libs.
5661
5662 2003-05-20  Angus Leeming  <leeming@lyx.org>
5663
5664         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5665         files are compiled in alphabetical order again.
5666
5667         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5668
5669 2003-05-19  Angus Leeming  <leeming@lyx.org>
5670
5671         * gettext.[Ch]: remove "char const * _(char const *)".
5672
5673 2003-05-19  André Pönitz  <poenitz@gmx.net>
5674
5675         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5676
5677         * Makefile.am:
5678         * BufferView.C:
5679         * DepTable.h:
5680         * LaTeXFeatures.C:
5681         * buffer.C:
5682         * lyxfont.C:
5683         * lyxlex.h:
5684         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5685
5686 2003-05-19  André Pönitz  <poenitz@gmx.net>
5687
5688         * buffer.C:
5689         * lyxlayout.[Ch]:
5690         * lyxtextclass.[Ch]:
5691         * paragraph.C:
5692         * paragraph_funcs.[Ch]:
5693         * text2.C:
5694         * text3.C: more insetenv work
5695
5696 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5697
5698         * ParagraphParameters.C (params2string): small bug fixed
5699
5700 2003-05-16  André Pönitz  <poenitz@gmx.net>
5701
5702         * debug.C:
5703         * bufferview_funcs.C: patch from Kornel Benko to prevent
5704           crash when _(...) is called twice in a statement
5705
5706 2003-05-16  André Pönitz  <poenitz@gmx.net>
5707
5708         * BufferView.C:
5709         * lyxfunc.C:
5710         * text.C:
5711         * text2.C:
5712         * text3.C:
5713         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5714
5715 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5716
5717         * lyx_main.C (init): remove spurious static_cast
5718
5719 2003-05-14  André Pönitz  <poenitz@gmx.net>
5720
5721         * BufferView.C: fix format string
5722
5723 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5724
5725         * BufferView.[Ch] (insertErrors): removed
5726         * BufferView.[Ch] (showErrorList): added
5727         * buffer.C (runChkTeX):
5728         * converter.C (scanLog): call showErrorList instead of inserterrors
5729
5730 2003-05-13  André Pönitz  <poenitz@gmx.net>
5731
5732         * BufferView_pimpl.C:
5733         * buffer.C:
5734         * bufferview_func.C:
5735         * MenuBackend.C:
5736         * lyxfunc.C:
5737         * lyxrc.C:
5738         * tex-accent.C:
5739         * text3.C:
5740         * toc.C:
5741         * tabular_funcs.h: tostr() from its own header
5742
5743         * ParagraphParameters.C:
5744         * ToolbarBackend.C:
5745         * bufferparams.C:
5746         * format.C:
5747         * lyxlex_pimpl.C:
5748         * text3.C: STRCONV()
5749
5750 2003-05-12  André Pönitz  <poenitz@gmx.net>
5751
5752         * BufferView.C:
5753         * BufferView_pimpl.C:
5754         * CutAndPaste.C:
5755         * LaTeX.C:
5756         * LaTeXFeatures.C:
5757         * ParagraphParameters.C:
5758         * buffer.C:
5759         * bufferlist.C:
5760         * bufferparams.C:
5761         * bufferview_funcs.C:
5762         * converter.C:
5763         * counters.C:
5764         * debug.C:
5765         * exporter.C:
5766         * format.C:
5767         * importer.C:
5768         * lyx_cb.C:
5769         * lyx_main.C:
5770         * lyxfont.C:
5771         * lyxfunc.C:
5772         * lyxvc.C:
5773         * paragraph.C:
5774         * paragraph_funcs.C:
5775         * tabular.C:
5776         * tabular_funcs.C:
5777         * text2.C:
5778         * text3.C:  boost::format -> bformat  all over the place
5779
5780
5781 2003-05-09  André Pönitz  <poenitz@gmx.net>
5782
5783         * LColor.[Ch]: Pimpl the #include <map> away
5784
5785 2003-05-09  John Levon  <levon@movementarian.org>
5786
5787         * bufferlist.C: never remove emergency saves
5788
5789 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5790
5791         * Makefile.am: better lib building
5792
5793 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5794
5795         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5796         instead.
5797         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5798         (simpleTeXSpecialChars): adjust
5799         (simpleTeXSpecialChars): adjust
5800         * paragraph.C (simpleTeXOnePar): adjust
5801         * buffer.C (makeLaTeXFile): adjust
5802
5803         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5804
5805         * text2.C (changeDepth): parlist cleanup
5806         (getColumnNearX): ditto
5807
5808         * rowpainter.C (getLabelFont): parlist cleanup
5809
5810         * bufferlist.C (newFile): parlist cleanup
5811
5812         * CutAndPaste.C (eraseSelection): parlist cleanup
5813
5814         * BufferView_pimpl.C (trackChanges): parlist cleanup
5815         (dispatch): ditto
5816
5817         * BufferView.C (lockInset): parlist cleanup.
5818         (ChangeInsets): ditto
5819
5820 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5821
5822         * CutAndPaste.h: Update file header.
5823
5824         * CutAndPaste.C: Update file header.
5825         Store the parts cut out of the Document in a limited_stack.
5826         (copySelection): adjust
5827         (pasteSelection): new function, takes the index in the limited stack.
5828         (nrOfParagraphs): adjust
5829         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5830         simplify error inset insertion.
5831         (checkPastePossible): adjust
5832
5833 2003-05-06  John Levon  <levon@movementarian.org>
5834
5835         * text2.C: don't cast wrap inset to float
5836
5837 2003-05-05  André Pönitz  <poenitz@gmx.net>
5838
5839         * iterator.C:
5840         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5841
5842         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5843           few naked Paragraph *.
5844
5845 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5846
5847         * bufferparams.C: Output warning if a document with missing
5848         TeX document class is loaded
5849         * exporter.C: Disable TeX exports if the document class is missing
5850         * lyxtextclass.C:
5851         * lyxtextclass.h:
5852         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5853         isTeXClassAvailable()
5854
5855 2003-05-03  John Levon  <levon@movementarian.org>
5856
5857         * BufferView.h:
5858         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5859         explicit cursor show/hide
5860
5861         * BufferView_pimpl.h:
5862         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5863         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5864
5865         * lyxfunc.C: hide cursor before dispatching.
5866
5867         * lyx_cb.C:
5868         * lyxfind.C:
5869         * text.C:
5870         * text3.C: remove explicit cursor hides
5871
5872 2003-05-02  André Pönitz  <poenitz@gmx.net>
5873
5874         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5875
5876         * undo_funcs.C:
5877         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5878           linked lists
5879
5880         * text2.C: tiny whitespace
5881
5882 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5883
5884         * undo_funcs.C: almost only ws changes.
5885
5886         * ParagraphList.C (splice): just return if pl is empty.
5887
5888 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5889
5890         * ParagraphList.C (splice): new function.
5891
5892         * CutAndPaste.C (pasteSelection): use it
5893
5894 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5895
5896         * CutAndPaste.C (pasteSelection): remove the last next and
5897         previous from this file.
5898
5899 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5900
5901         * CutAndPaste.C (pasteSelection): more clean up, user proper
5902         ParagraphList functions for pasteing.
5903
5904         * ParagraphList.C (insert): new function, three arg insert
5905
5906 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * ParagraphList.C (insert): new function, three arg insert
5909
5910         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5911         not on paragraphs.
5912
5913 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5914
5915         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5916
5917 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5918
5919         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5920
5921 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5924         (copySelection): clean up a bit.
5925         (pasteSelection): use make_pair
5926
5927         * ParagraphList.C (ParagraphList): implement copy constructor
5928         (operator=): implement, base on copy constructor.
5929         (assign): new func
5930
5931         * paragraph.C (erase): return a bool
5932
5933         * paragraph_pimpl.C (erasePos): remove function, move contents...
5934         (erase): ... here. Return a bool.
5935         (erase): call erase instead of erasePos.
5936
5937 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5938
5939         * ParagraphList.h: define PitPosPair
5940         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5941         ParagraphList, fix a bug on pasting multiple pars
5942         * text2.C: change interface to C&P
5943
5944 2003-04-30  André Pönitz  <poenitz@gmx.net>
5945
5946         * undo_func.C: revert part of yesterday's patch 2
5947
5948 2003-04-30  John Levon  <levon@movementarian.org>
5949
5950         * LColor.C: s/tabular/table/
5951
5952 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5953
5954         * text3.C (dispatch): do not convert iterator -> pointer
5955         * undo_funcs.C (setCursorParUndo): ditto
5956         * text_funcs.C (transposeChars): ditto
5957
5958         * text2.C (setLayout): ws changes only
5959
5960         * text.C (breakParagraph): do not convert iterator -> pointer
5961         (insertChar): ditto
5962         (acceptChange): ditto
5963         (rejectChange): ditto
5964         (changeCase): ditto
5965         (Delete): ditto
5966         (backspace): ditto
5967
5968         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5969         pointer
5970
5971 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5972
5973         * text3.C (gotoInset): YABG (yet another bad getChar)
5974
5975 2003-04-29  André Pönitz  <poenitz@gmx.net>
5976
5977         * paragraph.h: make operator= private unimplemented as long as
5978           it is unusable
5979
5980         * ParagraphList.C: whitespace
5981
5982         * paragraph.[Ch]:
5983         * paragraph_pimpl.[Ch]:
5984         * paragraph_funcs.C:
5985         * CutAndPaste.C:
5986         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5987
5988         * text2.C:
5989           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5990
5991 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5992
5993         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5994         * paragraph.[Ch] (erase):
5995         * paragraph_pimpl.[Ch] (erase): change return type and value
5996         * text2.C (cutSelection): some rework
5997
5998 2003-04-28  John Levon  <levon@movementarian.org>
5999
6000         * bufferlist.C: changes for unsaved changes dialog
6001
6002 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6003
6004         * bufferlist.C (newFile): set language (messages_) for new
6005         documents also.
6006
6007         * buffer.C (readFile): ws changes only.
6008
6009 2003-04-28  André Pönitz  <poenitz@gmx.net>
6010
6011         * undo_funcs.C:
6012         * lyxfunc.C:
6013         * buffer.[Ch]:
6014         * BufferView_pimpl.C:
6015         * BufferView.C: getParFromID related ParagraphList::iterator changes
6016
6017 2003-04-28  André Pönitz  <poenitz@gmx.net>
6018
6019         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6020           Changes
6021
6022 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * messages.C: remove one more localedir class variable.
6025
6026 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * messages.C (getLocaleDir): singleton generation function
6029         (Pimpl): use it.
6030         (Messages): add a default constructor.
6031
6032         * main.C (main): do not setup localedir here, do not call
6033         gettext_init.
6034
6035         * gettext.C (_): use it.
6036         (gettext_init): delete funciton
6037
6038 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6039
6040         * gettext.C (getLyXMessages): new singleton generating function.
6041
6042         * buffer.C (updateDocLang): adjust
6043
6044         * Makefile.am (messages.o): add target
6045         (main.o): remove target
6046
6047 2003-04-27  John Levon  <levon@movementarian.org>
6048
6049         * bufferlist.C:
6050         * lyx_cb.C:
6051         * lyxfunc.C:
6052         * lyxvc.C: specify cancel button in Alert::prompt
6053
6054 2003-04-26  John Levon  <levon@movementarian.org>
6055
6056         * text3.C:
6057         * lyxfunc.C:
6058         * lfuns.h:
6059         * LyXAction.C: add LFUN_INSET_SETTINGS
6060
6061         * lyxfunc.C: don't enable tabular-feature when there's
6062         just any locking inset
6063
6064 2003-04-26  John Levon  <levon@movementarian.org>
6065
6066         * bufferlist.C: re-add Cancel to buffer close question
6067
6068         * lyxfunc.C: fix import UI a bit
6069
6070 2003-04-25  John Levon  <levon@movementarian.org>
6071
6072         * gettext.C: remove the broken asserts for now
6073
6074 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6075
6076         * messages.C: make case where setlocale cannot comply work better.
6077
6078         * buffer.C (updateDocLang): new function
6079         (changeLanguage): use it
6080         (readFile): use it
6081
6082         * text2.C (setCounter): use B_ a bit.
6083
6084         * lyxlayout.C (Read): be sure to trim the label strings.
6085
6086         * messages.C (Messages): fix typo in comment
6087
6088         * buffer.C (readFile): set message_ after file is loaded.
6089         (makeDocBookFile): remove double return
6090         (changeLanguage): reset message_ upon language change.
6091         (B_): new func, use this to get translated buffer strings.
6092
6093         * main.C: add myself and Jean Marc as authors.
6094
6095 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6096
6097         * messages.[hC]: pimplify Messages, and three different pimpls to be
6098         used in different circumstances.
6099
6100         * gettext.[Ch]: change for use with new message code.
6101
6102 2003-04-24 André Pönitz <poenitz@gmx.net>
6103
6104         * factory.C: support for eqref
6105
6106 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6107
6108         * messages.[Ch]: add missing char
6109
6110         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6111
6112         * messages.[Ch]: New files
6113
6114 2003-04-18  John Levon  <levon@movementarian.org>
6115
6116         * BufferView.h:
6117         * BufferView.C:
6118         * BufferView_pimpl.C:
6119         * lfuns.h:
6120         * LyXAction.C:
6121         * lyxtext.h:
6122         * text2.C: remove layout-copy/paste (bug 778)
6123
6124 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6125
6126         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6127
6128 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6129
6130         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6131         if they succeed. Act accordingly.
6132
6133 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * text2.C (setCharFont): adjust
6136         (setCounter): adjust
6137         (insertStringAsLines): adjust
6138
6139         * text.C (leftMargin): adjust
6140         (setHeightOfRow): adjust
6141
6142         * rowpainter.C (paintFirst): adjust
6143         (paintLast): adjust
6144
6145         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6146         (outerHook): ditto
6147         (isFirstInSequence): ditto
6148         (getEndLabel): ditto
6149         (outerFont): adjust
6150
6151         * paragraph.C (getParLanguage): comment out some hard stuff.
6152
6153         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6154         (sgmlError): ditto
6155         (simpleDocBookOnePar): ditto
6156         (makeDocBookFile): use ParagraphList::iterator
6157
6158         * CutAndPaste.C (pasteSelection): adjust
6159
6160 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * text2.C (getFont): adjust
6163         (getLayoutFont): adjust
6164         (getLabelFont): adjust
6165
6166         * paragraph_funcs.C (TeXOnePar): adjust
6167
6168         * buffer.C (simpleLinuxDocOnePar): adjust
6169         (simpleDocBookOnePar): adjust
6170
6171         * CutAndPaste.C (pasteSelection): adjust
6172
6173         * BufferView.C (getEncoding): adjust
6174
6175         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6176
6177 2003-04-16  John Levon  <levon@movementarian.org>
6178
6179         * lyxfind.C: use parlist stuff for search/changes
6180
6181 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6182
6183         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6184
6185         * text2.C (deleteEmptyParagraphMechanism): adjust
6186
6187         * text2.[Ch] (ownerParagraph): delete func (both of them
6188
6189 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6190
6191         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6192
6193 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6194
6195         * ParagraphList.C: prepare for NO_NEXT
6196
6197 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * text2.C (getFont): adjust
6200         (getLayoutFont): adjust
6201         (getLabelFont): adjust
6202
6203         * paragraph.C (getFont): adjust
6204         (getLabelFont): adjust
6205         (getLayoutFont): adjust
6206
6207         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6208
6209 2003-04-15  John Levon  <levon@movementarian.org>
6210
6211         From Angus Leeming
6212
6213         * lyx_main.C: handle Include in .ui files
6214
6215 2003-04-15  John Levon  <levon@movementarian.org>
6216
6217         * MenuBackend.C: make the doc files length shorter
6218
6219         * ToolbarBackend.h:
6220         * ToolbarBackend.C: handle toolbar placement flags,
6221         Minibuffer
6222
6223 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6224
6225         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6226         adjust
6227
6228         * paragraph_funcs.C (TeXOnePar): adjust
6229
6230         * paragraph.C (getLabelFont): add outerfont arg, adjust
6231         (getLayoutFont): ditto
6232         (simpleTeXOnePar): adjust
6233
6234         * paragraph_pimpl.C (realizeFont): delete func
6235
6236 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6237
6238         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6239         row argument, constify cur argument.
6240
6241 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * text2.C (getFont): adjust
6244         (getLayoutFont): adjust
6245         (getLabelFont): adjust
6246
6247         * paragraph_funcs.C (TeXOnePar): adjust
6248         (outerFont): new func...
6249         (realizeFont): ...moved out from here, changed this to facilitate
6250         transition
6251
6252         * paragraph.C (getFont): take outerfont as arg, adjust
6253         (simpleTeXOnePar): add outerfont arg, adjust
6254
6255         * buffer.C (simpleLinuxDocOnePar): adjust
6256         (simpleDocBookOnePar): adjust
6257
6258         * CutAndPaste.C (pasteSelection): adjust
6259
6260         * BufferView.C (getEncoding): adjust
6261
6262 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6263
6264         * text2.C (setCharFont): adjust
6265         (setCounter): adjust
6266
6267         * text.C (leftMargin): adjust
6268         (setHeightOfRow): adjust
6269
6270         * rowpainter.C (paintFirst): adjust
6271         (paintLast): adjust
6272
6273         * paragraph_pimpl.C (realizeFont): adjust
6274
6275         * paragraph.C (isFirstInSequence): move from here...
6276         * paragraph_funcs.C (isFirstInSequence): ...to here
6277
6278         * paragraph.C (outerHook): move from here...
6279         * paragraph_funcs.C (outerHook): ...to here
6280
6281         * paragraph.C (depthHook): move from here...
6282         * paragraph_funcs.C (depthHook): ...to here
6283
6284         * paragraph.C (getEndLabel): move from here...
6285         * paragraph_funcs.C (getEndLabel): ...to here
6286
6287         * text2.C (realizeFont): move from here...
6288         * paragraph_funcs.C (realizeFont): ...to here
6289
6290 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6291
6292         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6293
6294 2003-04-14  Angus Leeming  <leeming@lyx.org>
6295
6296         * LColor.[Ch]: scrap LColor mathcursor.
6297
6298 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * lyxlex.[Ch] (text): delete function
6301         * trans.C (Load): adjust
6302         * paragraph_funcs.C (readParToken): adjust
6303
6304 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6307         vector<char> instead of a char[].
6308
6309         * lyxlex_pimpl.C (getString): adjust
6310         (next): adjust
6311         (lex): use getString
6312         (eatLine): adjust
6313         (nextToken): adjust
6314
6315         * lyxlex.C (text): use pimpl_->getString()
6316         (getBool): ditto
6317         (findToken): ditto
6318
6319 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6320
6321         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6322         (makeFontEntriesLayoutSpecific): temp var for par.size()
6323         (setLayout): temp var for ownerParagraphs().end()
6324         (fullRebreak): temp var for rows().end()
6325         (selectionAsString): temp var for boost::next(startpit), realize
6326         that the while really is a regular for loop.
6327         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6328         setCursor in one place.
6329         (setParagraph): temp vr for ownerParagraphs().end()
6330         (updateCounters): make the while loop a for loop
6331         (cutSelection): temp var for ownerParagraphs().end()
6332         (updateInset): make the do {} while() a regular for loop
6333         (getCursorX): use temp vars
6334         (setCurrentFont): use temp vars
6335         (getColumnNearX): use temp vars
6336
6337 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6338
6339         * text.C (transformChar): use temp var for getChar
6340         (computeBidiTables): use temp var for row->par()
6341         (fill): move temp vars for row->par() and pit->layout() earlier in
6342         the function.
6343         (labelFill): use temp var for row->par()
6344         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6345         asc and desc, realize that pit never changes and that firstpit is
6346         just a duplicate and not needed. Exchange rit->par() with pit in a
6347         lot of places.
6348         (breakAgain): use a temp var for boost::next(rit)
6349         (breakAgainOneRow): ditto
6350         (breakParagraph): use a temp var for rows().begin()
6351         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6352         (cursorRightOneWord): use temp var for cursor.par() and
6353         cursor.pos(), remove usage of tmpcursor.
6354         (cursorLeftOneWord): use temp var for cursor.par() and
6355         cursor.pos() only set cur at end of function.
6356
6357 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6358
6359         * text.C, text2.C: exchange all usage of Paragraph::next with
6360         boost::next(ParagraphList::iterator)
6361
6362         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6363
6364         * text2.C (cursorTop): simplify implementation
6365         (cursorBottom): ditto
6366         (setParagraph): use ParagraphList::iterator
6367         (setCurrentFont): adjust
6368         (getColumnNearX): adjust
6369         (cursorRight): adjust
6370         (cursorLeft): remove usage of Paragraph::previous
6371         (cursorUpParagraph): ditto
6372         (deleteEmptyParagraphMechanism): slight cleanup
6373
6374         * text.C (isBoundary): take a Paragraph const & instead of a
6375         pointer as arg.
6376         (addressBreakPoint): ditto
6377         (leftMargin): remove usage of Paragraph::previous.
6378         (setHeightOfRow): ditto
6379         (cursorLeftOneWord): ditto
6380         (selectNextWordToSpellcheck): ditto
6381         (Delete): ditto
6382         (backspace): ditto
6383         (breakParagraph): remove one usage of Paragraph::next
6384         (redoParagraph): ditto
6385         (acceptChange): ditto
6386         (insertChar): adjust
6387         (rowBreakPoint): adjust
6388
6389         * bufferview_funcs.C (toggleAndShow): adjust
6390
6391 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6392
6393         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6394         methods to access it.
6395         * lyxtext.h:
6396         * text.C: Added updateRowPositions to compute all row positions.
6397         Make top_y and getRowNearY() to use the cached y position
6398
6399 2003-04-11  John Levon  <levon@movementarian.org>
6400
6401         * text.C (rowBreakPoint): reintroduce the labelEnd
6402         checks, code copied from the row fill stuff. Deep voodoo.
6403
6404         * text.C (fill): add a comment and debugging for the
6405         next poor soul.
6406
6407 2003-04-11  John Levon  <levon@movementarian.org>
6408
6409         * text.C: make sure fullrow insets get wrapped to the next line,
6410         even when they're in a manual label
6411
6412 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6413
6414         * text2.C (insertParagraph): make it take ParagraphList::iterator
6415         as arg.
6416         (setLayout): make it return ParagraphList::iterator
6417         (redoParagraphs): ditto
6418         (setCounter): ditto
6419         (checkParagraph): ditto
6420
6421         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6422
6423         * text2.C: adjust several funcs.
6424         (realizeFont): take a ParagraphList::iterator as arg.
6425         (getLayoutFont): ditto
6426         (getLabelFont): ditto
6427         (setCharFont): ditto
6428
6429         * text.C: adjust several funcs.
6430
6431 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6432
6433         * text.C (selectNextWordToSpellcheck): don't accidentally
6434         skip insets
6435
6436 2003-04-10  John Levon  <levon@movementarian.org>
6437
6438         * ToolbarBackend.C (getIcon): special handling for
6439         LFUN_MATH_DELIM
6440
6441 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6442
6443         * text2.C (cursorRight): a getChar assert fixed
6444
6445 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * text2.C (getFont): change to take a ParagraphList::iterator
6448         instead of Paragraph*
6449         Adjust several functions.
6450
6451         * text.C (transformChar): change to take a ParagraphList::iterator
6452         instead of Paragraph*
6453         (singleWidth): ditto
6454         Adjust several functions.
6455
6456         * rowpainter.C: adjust several functions
6457         * rowpainter.h:store a ParagraphList::iterator and not a
6458         Paragraph&.
6459
6460
6461 2003-04-09  John Levon  <levon@movementarian.org>
6462
6463         * lyxfunc.C:
6464         * lfuns.h:
6465         * LyXAction.h:
6466         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6467         and the "help" bits as well
6468
6469 2003-04-09  John Levon  <levon@movementarian.org>
6470
6471         * ToolbarBackend.h:
6472         * ToolbarBackend.C: allow multiple toolbars
6473
6474 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6475
6476         * undo_funcs.C (setCursorParUndo): adjust
6477
6478         * text_funcs.C (transposeChars): adjust
6479
6480         * text3.C (gotoNextInset): adjust
6481         (dispatch): adjust
6482
6483         * text2.C (setLayout): adjust
6484         (changeDepth): adjust
6485         (setFont): adjust
6486         (redoParagraphs): adjust
6487         (selectionAsString): adjust
6488         (setParagraph): adjust
6489         (insertInset): adjust
6490         (cutSelection): adjust
6491         (copySelection): adjust
6492         (pasteSelection): adjust
6493         (insertStringAsLines): adjust
6494         (updateInset): adjust
6495         (setCursor): change to take a ParagraphList::iterator parameter
6496         (setCursorIntern): change to take a ParagraphList::iterator parameter
6497         (setCurrentFont): adjust
6498         (cursorLeft): adjust
6499         (cursorRight): adjust
6500         (deleteEmptyParagraphMechanism): adjust
6501
6502         * text.C (breakParagraph): adjust
6503         (insertChar): adjust
6504         (acceptChange): adjust
6505         (rejectChange): adjust
6506         (selectNextWordToSpellcheck): adjust
6507         (changeCase): adjust
6508         (Delete): adjust
6509         (backspace): adjust
6510
6511         * lyxfind.C (SearchForward): adjust
6512         (SearchBackward): adjust
6513         (nextChange): adjust
6514
6515         * lyxcursor.C (par): adjust
6516
6517         * lyxcursor.h: store a ParagraphList::iterator instead of a
6518         Paragraph*
6519
6520         * lyx_cb.C (getPossibleLabel): adjust
6521
6522         * bufferview_funcs.C (toggleAndShow): adjust
6523
6524         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6525         (dispatch): adjust
6526
6527         * BufferView.C (removeAutoInsets): adjust
6528         (lockedInsetStoreUndo): adjust
6529
6530 2003-04-09  John Levon  <levon@movementarian.org>
6531
6532         * ToolbarBackend.C: try icon without argument
6533         if with argument fails
6534
6535 2003-04-08  John Levon  <levon@movementarian.org>
6536
6537         * ToolbarBackend.h:
6538         * ToolbarBackend.C: add getIcon(), handle tooltip,
6539         and change from "Icon" to "Item".
6540
6541 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6542
6543         * BufferView.C (lockInset): another bad getchar crunched
6544
6545 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6546
6547         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6548         again)
6549
6550 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6551
6552         * lyxfind.C (searchForward, searchBackwards): bug 782
6553
6554 2003-04-07  John Levon  <levon@movementarian.org>
6555
6556         * paragraph.C: remove dead comment
6557
6558         * text.C: remove troublesome depth-fiddling code
6559         in leftMargin() and rightMargin() (bug 1017)
6560
6561         * text.C: fix breaking of rows in nested lists
6562         (bug 1004)
6563
6564         * text2.C (updateCounters): fix up depth values
6565         (bug 1013)
6566
6567 2003-04-07  John Levon  <levon@movementarian.org>
6568
6569         * BufferView_pimpl.C: clear message when doc finishes resizing,
6570         and after a mouse event
6571
6572         * lyxfunc.C: clear message after exiting inset
6573
6574 2003-04-07  John Levon  <levon@movementarian.org>
6575
6576         * bufferview_funcs.C: show math status not outside
6577         status in the statusbar
6578
6579 2003-04-07  John Levon  <levon@movementarian.org>
6580
6581         * lyxfunc.C: note status changed after a depth change
6582
6583 2003-04-04  Angus Leeming  <leeming@lyx.org>
6584
6585         * LaTeX.h: move AuxInfo operator==, != out of line.
6586         Remove LaTeX virtual destructor; nothing derives from it.
6587         Move operator()() out of public area and rename it startscript().
6588         Change protected for private.
6589
6590 2003-04-04  Angus Leeming  <leeming@lyx.org>
6591
6592         * lyxfunc.C:
6593         * text2.C: remove unneeded #includes.
6594
6595 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6596
6597         * text2.C (dEPM): fix the heigth of the next row
6598
6599 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6600
6601         * text.C: squashed an invalid getChar requester + some ws changes
6602
6603 2003-04-03  John Levon  <levon@movementarian.org>
6604
6605         * bufferview_funcs.h:
6606         * bufferview_funcs.C:
6607         * lyxfunc.C:
6608         * lyxtext.h:
6609         * text2.C: make getStatus work for the env depth lfuns
6610
6611 2003-04-03  John Levon  <levon@movementarian.org>
6612
6613         * bufferview_funcs.h:
6614         * bufferview_funcs.C:
6615         * lyxfunc.C:
6616         * lyxtext.h:
6617         * text2.C: parlistize decDepth(), by merging it with incDepth()
6618
6619 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6620
6621         * lyxrow.h: store a ParagraphList::iterator instead of a
6622         Paragraph* and adjust other class functions to suit.
6623
6624         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6625         above.
6626
6627 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6628
6629         * text2.C (setCursor): do not anchor to cursor row for the time being
6630
6631 2003-04-02  John Levon  <levon@movementarian.org>
6632
6633         * LyXAction.C:
6634         * lfuns.h:
6635         * lyx_main.C:
6636         * lyxtext.h:
6637         * text.C:
6638         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6639
6640 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6641
6642         * paragraph.h: make ParagraphList and ParagraphList::iterator
6643         friends of Paragraph.
6644
6645         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6646
6647         * ParagraphList.C: Use the private next_ and previous_ from
6648         Paragraph.
6649
6650 2003-04-01  John Levon  <levon@movementarian.org>
6651
6652         * ToolbarBackend.h:
6653         * ToolbarBackend.C:
6654         * Makefile.am: rename, remove defaults gunk
6655
6656         * MenuBackend.h:
6657         * MenuBackend.C: remove defaults gunk
6658
6659         * Languages.h:
6660         * Languages.C: remove defaults gunk
6661
6662         * lyx_main.h:
6663         * lyx_main.C: error out if files couldn't be found.
6664
6665 2003-04-02  John Levon  <levon@movementarian.org>
6666
6667         * text2.C: make incDepth() use parlist
6668
6669 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * undo_funcs.C (firstUndoParagraph): adjust
6672
6673         * text3.C (gotoInset): adjust
6674         (dispatch): adjust, and rewrite loop.
6675
6676         * text2.C (init): adjust, and rewrite loop.
6677         (redoParagraphs): adjust
6678         (updateInset): adjust, and rewrite loop.
6679         (deleteEmptyParagraphMechanism): adjust
6680
6681         * tabular.C (LyXTabular): adjust
6682         (SetMultiColumn): adjust
6683         (TeXRow): adjust
6684
6685         * lyxtext.[Ch] (ownerParagraph): delete function
6686         (ownerParagraphs): new function returns a ParagraphList.
6687
6688         * BufferView.C (removeAutoInsets): adjust
6689         (insertErrors): adjust
6690         (setCursorFromRow): adjust
6691
6692 2003-04-01  Angus Leeming  <leeming@lyx.org>
6693
6694         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6695         in the frontends.
6696
6697 2003-04-02  John Levon  <levon@movementarian.org>
6698
6699         * lyxtext.h:
6700         * text.C:
6701         * Makefile.am:
6702         * text_funcs.h:
6703         * text_funcs.C: make transposeChars a free function
6704
6705         * lyxrow_funcs.C: remove wrong comment
6706
6707 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6708
6709         * lyxtext.h: adjust
6710         * rowpainter.C: adjust
6711         * text.C: adjust
6712         * text2.C: adjust
6713         * text3.C: adjust
6714
6715         * lyxrow_funcs. [Ch]: new files
6716
6717         * lyxrow.[Ch]: remove next and previous pointers
6718         (next,previous): remove accessor functions
6719         (isParEnd): move to lyxrow_funcs
6720         (lastPos): move to lyxrow_funcs
6721         (nextRowIsAllInset): move to lyxrow_funcs
6722         (lastPrintablePos): move to lyxrow_funcs
6723         (numberOfSeparators): move to lyxrow_funcs
6724         (numberOfHfills): move to lyxrow_funcs
6725         (numberOfLabelHfills): move to lyxrow_funcs
6726         (hfillExpansion): move to lyxrow_funcs
6727
6728         * lyxfunc.C: adjust
6729
6730         * bufferview_funcs.C (toggleAndShow): adjust
6731
6732         * RowList.h: Remove class RowList from file leave just a
6733         std::list<Row>.
6734
6735         * RowList.C: delete file
6736
6737         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6738         and lyxrow_funcs.h
6739
6740 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6741
6742         * text3.C (cursorPrevious): adjust
6743         (cursorNext): adjust
6744         (dispatch): adjust
6745
6746         * text2.C (redoHeightOfParagraph): adjust
6747         (redoDrawingOfParagraph): adjust
6748         (setCursor): adjust
6749
6750         * text.C (breakParagraph): adjust
6751         (insertChar): adjust
6752         (backspace): adjust
6753
6754         * rowpainter.C (RowPainter): adjust
6755         (leftMargin): simplify and adjust
6756         (most rowpainter functions): adjust.
6757
6758         * rowpainter.h: store the row as RowList::iterator not as Row*
6759
6760         * lyxcursor.C (row): taka RowList::iterator as arg
6761         (irow): ditto
6762
6763         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6764         of Row*.
6765
6766 2003-04-01  Angus Leeming  <leeming@lyx.org>
6767
6768         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6769         stuff like bool Bool.
6770
6771 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6772
6773         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6774         rewrite a loop
6775
6776 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6777
6778         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6779         RowList::iterator.
6780
6781         * lyxtext.h (rows): drop one version and leve a const variant that
6782         returns a RowList::iterator.
6783
6784 2003-03-31  Angus Leeming  <leeming@lyx.org>
6785
6786         * text.C (fill): ensure that the signature is the same as that in the
6787         header file.
6788
6789 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6790
6791         * text2.C (redoParagraphs): adjust
6792         (updateCounters): adjust
6793         (checkParagraph): adjust
6794         (getColumnNearX): adjust and reformat a bit.
6795
6796         * text.C (top_y): adjust
6797         (workWidth): adjust
6798         (leftMargin): adjust
6799         (prepareToPrint): adjust
6800         (getRow): adjust
6801         (getRowNearY): adjust
6802
6803         * lyxtext.h: make rowlist_ mutable.
6804
6805         * RowList.h: add const_iterator
6806         * RowList.C: adjust for RowList::const_iterator.
6807
6808         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6809         adjust.
6810
6811 2003-03-31  John Levon  <levon@movementarian.org>
6812
6813         * lyxrc.h:
6814         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6815
6816         * lyx_main.C: set default fonts from using lyx_gui funcs
6817
6818         * exporter.C: pdf_mode moved from lyxrc
6819
6820         * lyx_cb.C:
6821         * lyxfunc.C: changes from above
6822
6823 2003-03-31  John Levon  <levon@movementarian.org>
6824
6825         * lyx_main.C: fix to the last fix
6826
6827 2003-03-31  John Levon  <levon@movementarian.org>
6828
6829         * bufferlist.C: "Load original" -> "Load Original"
6830
6831         * converter.C:
6832         * exporter.C:
6833         * importer.C:
6834         * lyx_main.C:
6835         * format.C: more Alert cleanups
6836
6837 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6838
6839         * text2.C (removeParagraph): make it take a RowList::iterator as
6840         arg, adjust.
6841         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6842         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6843
6844         * text.C (anchor_row): make it take a RowList::iterator as arg,
6845         adjust.
6846         (computeBidiTables): make it take a const reference to Row instead
6847         of Row pointer, adjust.
6848         (leftMargin): make it take a RowList::iterator as arg, adjust.
6849         (rowBreakPoint): adjust
6850         (breakAgainOneRow): make it take a RowList::iterator as arg,
6851         adjust.
6852         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6853
6854         * bufferview_funcs.C (toggleAndShow): adjust
6855
6856 2003-03-30  John Levon  <levon@movementarian.org>
6857
6858         * Makefile.am:
6859         * BoostFormat.h:
6860         * boost-inst.C: moved to support
6861
6862         * several files: changes as a result
6863
6864 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6865
6866         * text2.C (LyXText): adjust.
6867         (init): adjust
6868         (removeRow): make it take a RowList::iterator as arg, adjust.
6869         (fullRebreak): adjust
6870         (deleteEmptyParagraphMechanism): adjust
6871         (clearPaint): adjust
6872         (postPaint): adjust
6873
6874         * text.C (top_y): adjust
6875         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6876         (breakAgain): make it take a RowList::iterator as arg, adjust.
6877         (breakParagraph): adjust
6878         (insertChar): adjust
6879         (backspace): adjust
6880
6881         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6882         need_break_row, and refresh_row.
6883
6884         * text3.C (dispatch): adjust
6885
6886         * text2.C (checkParagraph): adjust
6887         (setCursor): adjust
6888         (setCursorFromCoordinates): adjust
6889
6890         * text.C (top_y): adjust
6891         (workWidth): adjust
6892         (getRow): make it return a RowList::iterator, adjust
6893         (getRowNearY): make it return a RowList::iterator, adjust
6894
6895         * text2.C (init): adjust
6896         (insertRow): remove function
6897         (insertParagraph): adjust
6898         (redoParagraphs): adjust
6899         (fullRebreak): adjust
6900         (updateCounters): adjust
6901
6902         * text.C (top_y): rewrite to use RowList iterators.
6903         (top_y): adjust
6904         (setHeightOfRow): rewrite to sue RowList iterators.
6905         (appendParagraph): adjust
6906         (breakAgain): adjust
6907         (breakAgainOneRow): adjust
6908         (breakParagraph): adjust
6909         (getRow): adjust
6910         (getRowNearY): adjust, and remove commented code.
6911
6912         * lyxtext.h (firstRow): delete function
6913         (lastRow): delete function
6914         (rows): new function (const and non-const versions.)
6915         (insertRow): delete function
6916
6917         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6918
6919 2003-03-29  John Levon  <levon@movementarian.org>
6920
6921         * BufferView_pimpl.C: always update scrollbar top
6922         because pasting text when we're anchored could mean we
6923         miss an update altogether
6924
6925 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6926
6927         * text2.C (init): use rowlist_.end() and not 0.
6928         (insertRow): change to take a RowList::iterator as arg, adjust
6929         for this.
6930         (insertParagraph): change to take a RowList::iterator as arg,
6931         adjust for this.
6932         (redoParagraphs): remove some debug msgs.
6933
6934         * text.C (appendParagraph): change to take a RowList::iterator
6935         arg, adjust for this.
6936         (breakAgain): add an assert
6937         (breakAgainOneRow): ditto
6938
6939 2003-03-29  John Levon  <levon@movementarian.org>
6940
6941         * text2.C: do not clear selection after inc/decDepth
6942         (bug 550)
6943
6944 2003-03-29  John Levon  <levon@movementarian.org>
6945
6946         * BufferView.C:
6947         * buffer.C: fix broken strerrors according to Lars
6948
6949 2003-03-29  John Levon  <levon@movementarian.org>
6950
6951         * converters.C: more Alert cleanups
6952
6953 2003-03-29  John Levon  <levon@movementarian.org>
6954
6955         * bufferview_funcs.C: remove pointless Alert
6956
6957         * buffer.C: fix confusing error message when
6958         a template is chmoded 000
6959
6960 2003-03-29  John Levon  <levon@movementarian.org>
6961
6962         * BufferView.C:
6963         * BufferView.h:
6964         * BufferView_pimpl.C: Alert fixes
6965
6966         * Makefile.am:
6967         * tabular.C:
6968         * tabular-old.C: remove unused table compat reading
6969
6970 2003-03-29  John Levon  <levon@movementarian.org>
6971
6972         * BufferView.C:
6973         * buffer.C:
6974         * lyx_cb.h:
6975         * lyx_cb.C: more Alert cleanups
6976
6977         * lyxfunc.C: don't allow chktex if not latex document
6978
6979 2003-03-29  John Levon  <levon@movementarian.org>
6980
6981         * lyx_cb.C:
6982         * BufferView.C:
6983         * buffer.C: warnings pushed down from support/,
6984         kill err_alert
6985
6986 2003-03-29  John Levon  <levon@movementarian.org>
6987
6988         * lyxfunc.C: safety check for C-r (revert)
6989
6990 2003-03-29  John Levon  <levon@movementarian.org>
6991
6992         * bufferlist.h:
6993         * bufferlist.C: several UI fixes using Alert::prompt.
6994         Fix the pointless looping quit code. Fix stupid revert
6995         behaviour (bug 938)
6996
6997         * lyxvc.h:
6998         * lyxvc.C:
6999         * lyx_cb.C: use Alert::prompt
7000
7001         * lyx_main.C: remove a silly question
7002
7003         * lyxfunc.C: remove a couple of silly questions,
7004         use Alert::prompt
7005
7006 2003-03-28  John Levon  <levon@movementarian.org>
7007
7008         * text2.C: fix bug 974 (End on empty par)
7009
7010 2003-03-28  John Levon  <levon@movementarian.org>
7011
7012         * BufferView_pimpl.C:
7013         * LyXAction.C:
7014         * lfuns.h: remove do-nothing math greek lfuns
7015
7016 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7017
7018         * lyxgluelength.h (isValidGlueLength): add default arg on
7019         parameter 2. Remove default arg from friend in class.
7020
7021         * lyxlength.h (isValidLength): add default arg on parameter 2.
7022         Remove default arg from friend in class.
7023
7024         * text2.C (LyXText): adjust, initialize refresh_row.
7025         (init): adjust
7026         (removeRow): adjust
7027         (insertRow): adjust
7028         (insertParagraph): adjst
7029         (redoParagraphs): adjust
7030         (fullRebreak): adjust
7031         (updateCounters): adjust
7032         (deleteEmptyParagraphMechanism): first attempt at fixing a
7033         crashing bug.
7034
7035         * text.C (top_y): adjust
7036         (setHeightOfRow): adjust
7037         (getRow): adjust
7038         (getRowNearY): adjust
7039
7040         * lyxtext.h: include RowList.h
7041         (~LyXText): not needed anymore, deleted.
7042         (firstRow): modify for RowList
7043         (lastRow): new function
7044         Delete firstrow and lastrow class variables, add a Rowlist
7045         rowlist_ class variable.
7046
7047         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7048         paragraph is empty.
7049
7050         * RowList.C (insert): fix case where it == begin().
7051
7052 2003-03-26  Angus Leeming  <leeming@lyx.org>
7053
7054         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7055         the thesaurus dialog.
7056
7057 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7058
7059         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7060
7061         * RowList.[Ch]: new files
7062
7063         * ParagraphList.C (erase): handle the case where it == begin
7064         correctly.
7065
7066 2003-03-25  John Levon  <levon@movementarian.org>
7067
7068         * Makefile.am:
7069         * aspell_local.h:
7070         * aspell.C: add new aspell support
7071
7072         * lyxrc.h:
7073         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7074         have it accessible.
7075
7076 2003-03-25  Angus Leeming  <leeming@lyx.org>
7077
7078         * lfuns.h:
7079         * LyXAction.C (init): new LFUN_INSET_INSERT.
7080
7081         * BufferView_pimpl.C (dispatch): split out part of the
7082         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7083
7084         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7085         LFUN_INSET_APPLY.
7086
7087 2003-03-25  Angus Leeming  <leeming@lyx.org>
7088
7089         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7090
7091 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7092
7093         * text2.C:
7094         * text3.C: remove useless row->height(0)
7095
7096 2003-03-25  John Levon  <levon@movementarian.org>
7097
7098         * lyxtext.h:
7099         * text2.C:
7100         * text3.C: rename the refreshing stuff to better names
7101
7102 2003-03-24  John Levon  <levon@movementarian.org>
7103
7104         * BufferView_pimpl.h:
7105         * BufferView_pimpl.C: update layout choice on a mouse
7106         press/release
7107
7108 2003-03-23  John Levon  <levon@movementarian.org>
7109
7110         * Makefile.am: fix commandtags.h reference
7111
7112 2003-03-22  John Levon  <levon@movementarian.org>
7113
7114         * BufferView_pimpl.C:
7115         * lyxtext.h:
7116         * rowpainter.C:
7117         * rowpainter.h:
7118         * text.C:
7119         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7120
7121 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7122
7123         * lyxtext.h:
7124         * text.C: take the rtl methods out of line
7125
7126 2003-03-21 André Pönitz <poenitz@gmx.net>
7127
7128         * metricsinfo.[Ch]: new files containing structures to be passed around
7129         during the two-phase-drawing...
7130
7131 2003-03-21 André Pönitz <poenitz@gmx.net>
7132
7133         * lyxtextclass.C: read 'environment' tag.
7134
7135 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7136
7137         * text2.C (removeRow): fix bug 964
7138
7139 2003-03-20  John Levon  <levon@movementarian.org>
7140
7141         * rowpainter.C:
7142         * text.C:
7143         * text2.C: paint cleanups. Inset::update() dropped font
7144         parameter
7145
7146 2003-03-19  John Levon  <levon@movementarian.org>
7147
7148         * lyxfunc.C: only fitcursor/markDirty if available()
7149
7150 2003-03-19  John Levon  <levon@movementarian.org>
7151
7152         * commandtags.h: rename to ...
7153
7154         * lfuns.h: ... this, and renumber / cleanup
7155
7156 2003-03-19  John Levon  <levon@movementarian.org>
7157
7158         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7159         fit the cursor after an lfun
7160
7161         * BufferView.h:
7162         * BufferView.C:
7163         * BufferView_pimpl.h:
7164         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7165
7166         * LyXAction.C: layout-character should have ReadOnly
7167
7168         * ParagraphParameters.C:
7169         * buffer.C:
7170         * bufferview_funcs.C:
7171         * lyx_cb.C:
7172         * lyxfind.C:
7173         * lyxtext.h:
7174         * text.C:
7175         * text2.C:
7176         * text3.C:
7177         * undo_funcs.C: changes from above
7178
7179 2003-03-18  John Levon  <levon@movementarian.org>
7180
7181         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7182         remove it from update()
7183
7184         * lyxfunc.C: update layout choice after an lfun
7185
7186         * text3.C: remove extra updateLayoutChoice()s
7187
7188 2003-03-18  John Levon  <levon@movementarian.org>
7189
7190         * text.C: top_y change means full repaint, fix
7191         a drawing bug with cursor movement
7192
7193 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7194
7195         * lyxtext.h:
7196         * text.C:
7197         * text2.C: anchor row on setCursor
7198
7199 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7200
7201         * lyxtext.h: remove almost all mutable keywords
7202         * text.C:
7203         * text2.C:
7204         * text3.C: remove const keywords accordingly
7205
7206 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7207
7208         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7209         anon namespace
7210         (TeXEnvironment): ditto
7211         (TeXOnePar): ditto
7212
7213 2003-03-17  John Levon  <levon@movementarian.org>
7214
7215         * text.C (rowBreakPoint): remove attempt to fix displayed
7216         math insets inside a manual label
7217
7218 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7219
7220         * lyxtext.h: remove BufferView* as first arg from almost all class
7221         functions.
7222         * other files: adjust.
7223
7224 2003-03-17  John Levon  <levon@movementarian.org>
7225
7226         * lyxtext.h:
7227         * undo_funcs.C:
7228         * text2.C: more paint cleanups
7229
7230         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7231
7232         * rowpainter.h:
7233         * rowpainter.C: remove "smart" background painting code
7234
7235 2003-03-16  John Levon  <levon@movementarian.org>
7236
7237         * lyxtext.h:
7238         * text.C:
7239         * text2.C:
7240         * text3.C: add helper functions for setting refresh_row/y
7241
7242 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7243
7244         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7245         newline inset which *can* get inserted in the pass_thru layouts.
7246         This is primarily for literate documents.
7247
7248 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7249
7250         * buffer.C: increment LYX_FORMAT to 223
7251
7252 2003-03-14 André Pönitz <poenitz@gmx.net>
7253
7254         * textclass.h: prepare for environment handling, ws changes
7255         * lyxlayout.C: read latexheader and latexfooter tags
7256
7257 2003-03-14  John Levon  <levon@movementarian.org>
7258
7259         * text2.C: rewrite ::status() a bit
7260
7261 2003-03-13  John Levon  <levon@movementarian.org>
7262
7263         * lyxtext.h: add some docs
7264
7265 2003-03-13  John Levon  <levon@movementarian.org>
7266
7267         * lyxtext.h:
7268         * text.C:
7269         * text2.C:
7270         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7271
7272 2003-03-13  John Levon  <levon@movementarian.org>
7273
7274         * text3.C: fix appendix redrawing
7275
7276 2003-03-13  John Levon  <levon@movementarian.org>
7277
7278         * text.C (setHeightOfRow):
7279         * rowpainter.h:
7280         * rowpainter.C: make appendix mark have the text
7281           "Appendix" so the user knows what it is
7282
7283         * LColor.h:
7284         * LColor.C: s/appendixline/appendix/ from above
7285
7286 2003-03-13  John Levon  <levon@movementarian.org>
7287
7288         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7289
7290         * text.C: fix a getChar(pos) bug properly
7291
7292 2003-03-13  Angus Leeming  <leeming@lyx.org>
7293
7294         * commandtags.h:
7295         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7296         Probably only temporary. Let's see how things pan out.
7297
7298         * BufferView.C (unlockInset):
7299         * BufferView_pimpl.C (fitCursor):
7300         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7301
7302         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7303         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7304
7305         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7306         new functions that convert ParagraphParameters to and from a string.
7307
7308         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7309         BufferView::Pimpl's dispatch.
7310         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7311
7312 2003-03-13 André Pönitz <poenitz@gmx.net>
7313
7314         * lyxfunc.C:
7315         * text3.C:
7316         * factory.C: make it aware of InsetEnv
7317
7318 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7319
7320         * text2.C (setCursor): never ask for one past last
7321         (setCursor): add some debugging messages.
7322
7323         * text.C (singleWidth): never ask for one past last
7324         (singleWidth): ditto
7325         (leftMargin): ditto
7326         (rightMargin): ditto
7327         (rowBreakPoint): ditto
7328         (setHeightOfRow): ditto
7329         (prepareToPrint): ditto
7330
7331         * rowpainter.C (paintBackground): never ask for one past last
7332         (paintText): never ask for one past last
7333
7334         * paragraph_pimpl.C (getChar): make the assert stricter, never
7335         allow the one past last pos to be taken
7336
7337         * paragraph.C (getChar): ws changes only
7338
7339         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7340         (numberOfSeparators): ditto
7341         (numberOfHfills): ditto
7342
7343 2003-03-12  John Levon  <levon@movementarian.org>
7344
7345         * author.h:
7346         * author.C:
7347         * bufferparams.h:
7348         * bufferparams.C:
7349         * paragraph_funcs.C: fix per-buffer authorlists
7350
7351 2003-03-12  John Levon  <levon@movementarian.org>
7352
7353         * text.C: fix newline in right address
7354
7355 2003-03-12  Angus Leeming  <leeming@lyx.org>
7356
7357         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7358         duplicate those in LyXFunc::dispatch.
7359
7360         * commandtags.h:
7361         * LyXAction.C:
7362         * ToolbarDefaults.C:
7363         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7364         Add LFUN_FONTFREE_UPDATE.
7365
7366         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7367         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7368
7369         * bufferview_func.[Ch]: several new functions to facilliate
7370         transfer of data to and from the character dialog.
7371
7372 2003-03-12  John Levon  <levon@movementarian.org>
7373
7374         * buffer.C:
7375         * paragraph.h:
7376         * paragraph.C:
7377         * paragraph_funcs.C:
7378         * paragraph_pimpl.C:
7379         * sgml.C:
7380         * tabular.C:
7381         * text.C:
7382         * text3.C: remove META_NEWLINE in favour of an inset
7383
7384         * rowpainter.h:
7385         * rowpainter.C: remove paintNewline (done by inset)
7386
7387 2003-03-12  John Levon  <levon@movementarian.org>
7388
7389         * paragraph_pimpl.C: complain about bad getChar()s
7390         for a while at least
7391
7392 2003-03-12  John Levon  <levon@movementarian.org>
7393
7394         * buffer.h:
7395         * buffer.C: move paragraph read into a separate function,
7396         a little renaming to reflect that.
7397
7398         * bufferparams.h:
7399         * bufferparams.C: remove the author_ids map, not necessary now
7400
7401         * factory.h:
7402         * factory.C: moved Buffer::readInset to here
7403
7404         * paragraph_funcs.h:
7405         * paragraph_funcs.C: readParagraph free function moved from
7406         buffer.C
7407
7408         * tabular.C: name change
7409
7410 2003-03-12  John Levon  <levon@movementarian.org>
7411
7412         * buffer.C:
7413         * ParagraphParameters.C: move par params input to
7414         a read() method
7415
7416         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7417         behave like a normal read from the stream wrt reading
7418         a line vs. a \\token
7419
7420 2003-03-12  John Levon  <levon@movementarian.org>
7421
7422         * paragraph.C:
7423         * ParagraphParameters.h:
7424         * ParagraphParameters.C: move output code to a
7425         ::write() method
7426
7427 2003-03-12  John Levon  <levon@movementarian.org>
7428
7429         * BufferView.C (insertLyXFile):
7430         * buffer.h:
7431         * buffer.C:
7432         * tabular.C: use a parlist iterator for creating the
7433           document.
7434
7435 2003-03-12  John Levon  <levon@movementarian.org>
7436
7437         * buffer.C: make current_change static local not
7438           static file-scope
7439
7440 2003-03-12  John Levon  <levon@movementarian.org>
7441
7442         * buffer.C: fix insertStringAsLines for change tracking
7443
7444 2003-03-12  John Levon  <levon@movementarian.org>
7445
7446         * BufferView.C:
7447         * tabular.C:
7448         * buffer.h:
7449         * buffer.C:
7450         * bufferparams.h:
7451         * bufferparams.C: move author list into params. Rename some
7452           functions. Move the header reading into a separate token
7453           loop. Move the header token reading into BufferParams.
7454
7455 2003-03-12  John Levon  <levon@movementarian.org>
7456
7457         * changes.C: put debug inside lyxerr.debugging() checks
7458
7459 2003-03-11 André Pönitz <poenitz@gmx.net>
7460
7461         * factory.C: make it aware of InsetHFill
7462
7463 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7464
7465         * buffer.C (latexParagraphs): move function from here...
7466         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7467         args.
7468
7469 2003-03-10  Angus Leeming  <leeming@lyx.org>
7470
7471         * LyXAction.C (init): fix bug in poplating array with multiple entries
7472         with the same LFUN (spotted by JMarc).
7473
7474 2003-03-10  John Levon  <levon@movementarian.org>
7475
7476         * text.C:
7477         * text2.C: move getColumnNearX() near its
7478         only call site
7479
7480 2003-03-10  John Levon  <levon@movementarian.org>
7481
7482         * text.C: fix break before a minipage
7483
7484 2003-03-10  John Levon  <levon@movementarian.org>
7485
7486         * text.C: fix the last commit
7487
7488 2003-03-09  John Levon  <levon@movementarian.org>
7489
7490         * lyxtext.h:
7491         * text.C:
7492         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7493         bug 365 (don't break before insets unless needed). Don't
7494         return a value > last under any circumstances.
7495
7496 2003-03-09  Angus Leeming  <leeming@lyx.org>
7497
7498         * BufferView_pimpl.C (trackChanges, dispatch): call
7499         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7500
7501 2003-03-09  Angus Leeming  <leeming@lyx.org>
7502
7503         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7504         than Dialogs::showAboutlyx().
7505
7506 2003-03-09  Angus Leeming  <leeming@lyx.org>
7507
7508         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7509         than Dialogs::showTabularCreate().
7510
7511 2003-03-09  John Levon  <levon@movementarian.org>
7512
7513         * lyxtext.h:
7514         * text.C:
7515         * text2.C: 3rd arg to nextBreakPoint was always the same.
7516           Use references.
7517
7518 2003-03-08  John Levon  <levon@movementarian.org>
7519
7520         * lyxrow.C:
7521         * paragraph.C:
7522         * paragraph.h:
7523         * rowpainter.C:
7524         * text.C:
7525         * text2.C: Remove the "main" bit from the "main body"
7526           notion.
7527
7528 2003-03-08  John Levon  <levon@movementarian.org>
7529
7530         * text.C (leftMargin): The left margin of an empty
7531         manual label paragraph should not include the label width
7532         string length.
7533
7534         * text.C (prepareToPrint): don't attempt to measure hfills
7535         for empty manual label paragraphs - the answer should be 0
7536
7537 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * CutAndPaste.C: remove commented code and reindent.
7540
7541 2003-03-08  John Levon  <levon@movementarian.org>
7542
7543         * lyxfunc.h:
7544         * lyxfunc.C: move reloadBuffer()
7545
7546         * BufferView.h:
7547         * BufferView.C: to here
7548
7549         * lyxvc.C: add comment
7550
7551         * vc-backend.h:
7552         * vc-backend.C: call bv->reload() to avoid
7553           getStatus() check on MENURELOAD
7554
7555 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7556
7557         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7558         to an old format .dep file.
7559
7560 2003-03-07  Angus Leeming  <leeming@lyx.org>
7561
7562         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7563         when the LFUN_MOUSE_RELEASE should have been handled by
7564         inset->localDispatch.
7565
7566 2003-03-07  Angus Leeming  <leeming@lyx.org>
7567
7568         * BufferView_pimpl.C (dispatch):
7569         * LyXAction.C (init):
7570         * ToolbarDefaults.C (init):
7571         * commandtags.h:
7572         * lyxfunc.C (getStatus):
7573         remove LFUN_INSET_GRAPHICS.
7574
7575         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7576
7577 2003-03-07  Angus Leeming  <leeming@lyx.org>
7578
7579         * commandtags.h:
7580         * LyXAction.C (init):
7581         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7582
7583         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7584
7585         * commandtags.h:
7586         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7587
7588         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7589         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7590
7591 2003-03-07  Angus Leeming  <leeming@lyx.org>
7592
7593         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7594         remove "ert".
7595
7596 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7597
7598         * ParagraphList.C (front): new function
7599         (back): implement
7600
7601 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7602
7603         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7604         and top_row_offset_. removed var first_y.
7605         * text.C (top_y):
7606         * text2.C (LyXText, removeRow):
7607         * text3.C:
7608         * BufferView_pimpl.C:
7609         use these methods instead of using first_y
7610
7611 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * text2.C (pasteSelection): adjust for checkPastePossible
7614
7615         * CutAndPaste.C: remove Paragraph * buf and replace with
7616         ParagraphList paragraphs.
7617         (DeleteBuffer): delete
7618         (cutSelection): change the tc type to textclass_type
7619         (copySelection): change the tc type to textclass_type
7620         (copySelection): adjust for ParagraphList
7621         (pasteSelection): change the tc type to textclass_type
7622         (pasteSelection): adjust for Paragraphlist
7623         (nrOfParagraphs): simplify for ParagraphList
7624         (checkPastePossible): simplify for ParagraphList
7625         (checkPastePossible): remove unused arg
7626
7627         * ParagraphList.C (insert): handle the case where there are no
7628         paragraphs yet.
7629
7630         * CutAndPaste.h: make CutAndPaste a namespace.
7631
7632         * text3.C (dispatch): adjust
7633
7634         * text.C (breakParagraph): add a ParagraphList as arg
7635
7636         * paragraph_funcs.C (breakParagraph): change to take a
7637         BufferParams and a ParagraphList as args.
7638         (breakParagraphConservative): ditto
7639         (mergeParagraph): ditto
7640         (TeXDeeper): add a ParagraphList arg
7641         (TeXEnvironment): ditto
7642         (TeXOnePar): ditto
7643
7644         * buffer.C (readLyXformat2): adjust
7645         (insertStringAsLines): adjust
7646         (latexParagraphs): adjust
7647
7648         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7649         (cutSelection): adjust
7650         (pasteSelection): adjust
7651
7652         * BufferView_pimpl.C (insertInset): adjust
7653
7654 2003-03-05  Angus Leeming  <leeming@lyx.org>
7655
7656         * commandtags.h:
7657         * LyXAction.C (init):
7658         * BufferView_pimpl.C (dispatch):
7659         * lyxfunc.C (getStatus):
7660         remove LFUN_CHILD_INSERT.
7661
7662         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7663
7664 2003-03-05  Angus Leeming  <leeming@lyx.org>
7665
7666         * commandtags.h:
7667         * LyXAction.C (init):
7668         * src/factory.C (createInset):
7669         * lyxfunc.C (getStatus):
7670         * text3.C (dispatch):
7671         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7672
7673         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7674
7675 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7676
7677         * ParagraphList.C (insert): handle insert right before end()
7678         (erase): fix cases where it can be first or last paragraph.
7679
7680 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7683         Paragraph::next and Paragraph::previous
7684         (TeXOnePar): ditto
7685
7686         * text.C (breakParagraph): adjust
7687
7688         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7689         BufferParams& as arg.
7690         (breakParagraph): use ParagraphList::insert
7691         (breakParagraphConservative): take a Buffer* instead of a
7692         BufferParams& as arg.
7693         (breakParagraphConservative): use ParagraphList::insert.
7694
7695         * buffer.C (insertStringAsLines): un-const it
7696         (insertStringAsLines): adjust
7697
7698         * ParagraphList.C (insert): new function
7699
7700         * CutAndPaste.C (pasteSelection): adjust
7701
7702         * text.C (backspace): adjust
7703
7704         * tabular.C (SetMultiColumn): adjust
7705
7706         * CutAndPaste.C (cutSelection): adjust
7707         (pasteSelection): adjust
7708
7709         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7710         Buffer const * as arg
7711
7712         * ParagraphList.C (erase): new function
7713         * paragraph_funcs.C (mergeParagraph): use it
7714         (mergeParagraph): make it take a Buffer* instead of a
7715         BufferParams* as arg
7716
7717         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7718         as arg
7719         (breakParagraphConservative): ditto
7720
7721         * paragraph.h: remove the breakParagraph friend
7722
7723         * paragraph.C (eraseIntern): new function
7724         (setChange): new function
7725
7726         * paragraph_funcs.C (mergeParagraph): make it take a
7727         ParagraphList::iterator instead of a Paragraph *, adjust
7728         accordingly.
7729
7730         * paragraph.h: move an #endif so that the change tracking stuff
7731         also works in the NO_NEXT case.
7732
7733 2003-03-04  Angus Leeming  <leeming@lyx.org>
7734
7735         * commandtags.h:
7736         * LyXAction.C: new LFUN_INSET_MODIFY.
7737
7738         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7739         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7740
7741 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7742
7743         * several files: ws changes only
7744
7745         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7746         (TeXEnvironment): ditto
7747         (TeXDeeper): ditto
7748
7749         * buffer.C (makeLaTeXFile): adjust
7750         (latexParagraphs): make it take ParagraphList::iterator as args
7751
7752 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7753
7754         * buffer.C (latexParagraphs): adjust
7755
7756         * paragraph.C (TeXOnePar): move function...
7757         (optArgInset): move function...
7758         (TeXEnvironment): move function...
7759         * paragraph_pimpl.C (TeXDeeper): move function...
7760         * paragraph_funcs.C: ...here
7761
7762         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7763
7764 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * buffer.C (readInset): remove compability code for old Figure and
7767         InsetInfo insets
7768
7769 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * buffer.C: ws changes
7772         (readInset):
7773
7774         * BufferView_pimpl.C: ditto
7775         * author.C: ditto
7776         * buffer.h: ditto
7777         * bufferlist.h: ditto
7778         * changes.h: ditto
7779         * lyxfunc.C: ditto
7780
7781 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7782
7783         * converter.[Ch]: split into itself +
7784         * graph.[Ch]
7785         * format.[Ch]
7786         * Makefile.am: += graph.[Ch] + format.[Ch]
7787         * MenuBackend.C
7788         * buffer.C
7789         * exporter.C
7790         * importer.C
7791         * lyx_main.C
7792         * lyxfunc.C
7793         * lyxrc.C: added #include "format.h"
7794
7795 2003-02-27  Angus Leeming  <leeming@lyx.org>
7796
7797         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7798           a label.
7799
7800         * factory.C (createInset): add "label" to the factory.
7801
7802         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7803           string and do no more.
7804
7805 2003-02-27  Angus Leeming  <leeming@lyx.org>
7806
7807         * commandtags.h:
7808         * LyXAction.C (init):
7809         * factory.C (createInset):
7810         * BufferView_pimpl.C (dispatch):
7811           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7812
7813         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7814
7815         * lyxfunc.C (dispatch):
7816         * text3.C (dispatch): pass name to params2string.
7817
7818 2003-02-26  Angus Leeming  <leeming@lyx.org>
7819
7820         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7821           blocks together.
7822           Rearrange the ~includes. Strip out the unnecessary ones.
7823
7824         * factory.C (createInset): reformat.
7825           create new insets for the various LFUN_XYZ_APPLY lfuns.
7826
7827 2003-02-26  John Levon  <levon@movementarian.org>
7828
7829         * lyxrow.h:
7830         * lyxrow.C: add isParStart,isParEnd helpers
7831
7832         * paragraph.h: make isInserted/DeletedText take refs
7833
7834         * paragraph_funcs.h:
7835         * paragraph_funcs.C: remove #if 0'd code
7836
7837         * lyxtext.h:
7838         * text3.C:
7839         * text2.C:
7840         * text.C: use lyxrow helpers above.
7841           Move draw and paint routines to RowPainter.
7842           Make several methods use refs not pointers.
7843           Make backgroundColor() const.
7844           Add markChangeInDraw(), isInInset().
7845           Merge changeRegionCase into changeCase.
7846           Make workWidth() shouldn't-happen code into an Assert.
7847
7848         * rowpainter.h:
7849         * rowpainter.C: new class for painting a row.
7850
7851         * vspace.h:
7852         * vspace.C: make inPixels take a ref
7853
7854 2003-02-26  Angus Leeming  <leeming@lyx.org>
7855
7856         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7857         LFUN_REF_APPLY.
7858
7859 2003-02-25  John Levon  <levon@movementarian.org>
7860
7861         * ispell.C: give the forked command a more accurate name
7862
7863 2003-02-22  John Levon  <levon@movementarian.org>
7864
7865         * toc.h:
7866         * toc.C: make TocItem store an id not a Paragraph *
7867           (bug #913)
7868
7869 2003-02-21  Angus Leeming  <leeming@lyx.org>
7870
7871         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7872           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7873           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7874           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7875           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7876           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7877
7878         * BufferView_pimpl.C (dispatch):
7879         * LyXAction.C (init):
7880         * factory.C (createInset):
7881         * lyxfunc.C (getStatus, dispatch):
7882         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7883
7884 2003-02-21  Angus Leeming  <leeming@lyx.org>
7885
7886         * BufferView_pimpl.C (MenuInsertLyXFile):
7887         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7888         * lyxfunc.C (menuNew, open, doImport):
7889           no longer pass a LyXView & to fileDlg.
7890
7891 2003-02-21  Angus Leeming  <leeming@lyx.org>
7892
7893         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7894         * LyXAction.C: change, BIBKEY to BIBITEM.
7895         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7896         Change InsetBibKey to InsetBibitem.
7897         Change BIBKEY_CODE to BIBITEM_CODE.
7898         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7899         * factory.C: replace insetbib.h with insetbibitem.h.
7900         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7901         * paragraph.C: replace insetbib.h with insetbibitem.h.
7902         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7903         Change bibkey() to bibitem().
7904         * text.C: remove insetbib.h.
7905         * text2.C: replace insetbib.h with insetbibitem.h.
7906         change bibkey() to bibitem().
7907         * text3.C: remove insetbib.h.
7908         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7909
7910 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7911
7912         * lyxrc.C (output): enclose user email in quotes (in case there are
7913         several words)
7914
7915 2003-02-18  John Levon  <levon@movementarian.org>
7916
7917         * buffer.h: add std::
7918
7919 2003-02-17  John Levon  <levon@movementarian.org>
7920
7921         * SpellBase.h:
7922         * ispell.h:
7923         * ispell.C:
7924         * pspell.h:
7925         * pspell.C: reworking. Especially in ispell, a large
7926           number of clean ups and bug fixes.
7927
7928         * lyxfunc.C: fix revert to behave sensibly
7929
7930 2003-02-17 André Pönitz <poenitz@gmx.net>
7931
7932         * LyXAction.C:
7933         * commandtags.h: new LFUN_INSERT_BIBKEY
7934
7935         * layout.h:
7936         * lyxlayout.C:
7937         * buffer.C:
7938         * factory.C:
7939         * text.C:
7940         * text2.C:
7941         * text3.C:
7942         * paragraph.[Ch]:
7943         * paragraph_func.C: remove special bibkey handling
7944
7945 2003-02-17  John Levon  <levon@movementarian.org>
7946
7947         * text.C (Delete): fix case where delete at the end of
7948           the very first paragraph would not merge the pars
7949
7950 2003-02-17  John Levon  <levon@movementarian.org>
7951
7952         * lyxrow.C: fix lastPrintablePos()
7953
7954 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7955
7956         * bufferparams.C (writeLaTeX): add a std:here
7957
7958         * buffer.C: and remove a using directive there
7959
7960 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7961
7962         * buffer.C (makeLaTeXFile): move the code that generates the
7963           preamble...
7964
7965         * bufferparams.C (writeLaTeX): ... in this new method
7966
7967         * LaTeXFeatures.C (getEncodingSet): make const
7968           (getLanguages): make const
7969
7970         * MenuBackend.C (binding): returns the binding associated to this
7971           action
7972           (add): sets the status of each item by calling getStatus. Adds
7973           some intelligence.
7974           (read): add support for OptSubMenu
7975           (expand): remove extra separator at the end of expanded menu
7976
7977 2003-02-15  John Levon  <levon@movementarian.org>
7978
7979         * BufferView.C:
7980         * BufferView_pimpl.C:
7981         * bufferlist.h:
7982         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7983           inset code that had no actual effect. Remove unneeded status
7984           code.
7985
7986 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7987
7988         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7989           in preamble
7990
7991 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7992
7993         * text.C (drawLengthMarker): also draw an arrow marker for
7994           symbolic lengths (medskip...)
7995
7996 2003-02-14  John Levon  <levon@movementarian.org>
7997
7998         * tabular.h:
7999         * tabular.C: better method names
8000
8001 2003-02-14  John Levon  <levon@movementarian.org>
8002
8003         * BufferView_pimpl.C:
8004         * bufferlist.C:
8005         * buffer.C:
8006         * converter.C:
8007         * lyx_cb.C:
8008         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8009           it's a more accurate name. Remove some pointless uses.
8010
8011 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8012
8013         * text2.C (LyXText): change order of initilizers to shut off
8014           warnings
8015
8016 2003-02-14  John Levon  <levon@movementarian.org>
8017
8018         * buffer.C: use ParIterator for getParFromID()
8019
8020         * paragraph.h:
8021         * paragraph.C:
8022         * paragraph_pimpl.h:
8023         * paragraph_pimpl.C: remove unused getParFromID()
8024
8025 2003-02-14  John Levon  <levon@movementarian.org>
8026
8027         * buffer.C: remove some very old #if 0'd parse code
8028
8029 2003-02-13  John Levon  <levon@movementarian.org>
8030
8031         * text.h:
8032         * text.C:
8033         * text2.C: move hfillExpansion(), numberOfSeparators(),
8034           rowLast(), rowLastPrintable(), numberofHfills(),
8035           numberOfLabelHfills() ...
8036
8037         * lyxrow.h:
8038         * lyxrow.C: ... to member functions here.
8039
8040         * paragraph.h:
8041         * paragraph.C:
8042         * lyxtext.h:
8043         * text.C: remove LyXText::beginningOfMainBody(), and call
8044           p->beginningOfMainBody() directly. Move the check for
8045           LABEL_MANUAL into the latter.
8046
8047         * text.h:
8048         * text.C:
8049         * text2.C:
8050         * vspace.C:
8051         * BufferView.h:
8052         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8053
8054         * text.h:
8055         * text.C:
8056         * text2.C:
8057         * text3.C:
8058         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8059           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8060
8061 2003-02-13  John Levon  <levon@movementarian.org>
8062
8063         * CutAndPaste.C: remove debug
8064
8065 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8066
8067         * paragraph.C (asString): remove two unused variables
8068
8069         * lyxtextclass.C (readTitleType):
8070           (Read):
8071           (LyXTextClass): handle new members titletype_ and titlename_
8072
8073         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8074
8075 2003-02-09  John Levon  <levon@movementarian.org>
8076
8077         * buffer.h:
8078         * buffer.C: replace hand-coded list with a map for the dep clean
8079
8080 2003-02-08  John Levon  <levon@movementarian.org>
8081
8082         * LaTeX.C: consolidate code into showRunMessage() helper
8083
8084 2003-02-08  John Levon  <levon@movementarian.org>
8085
8086         * lyxfind.C:
8087         * lyxtext.h:
8088         * text2.C:
8089         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8090           and pass the size in explicitly
8091
8092         * BufferView_pimpl.h:
8093         * BufferView_pimpl.C:
8094         * BufferView.h:
8095         * BufferView.C: add getCurrentChange()
8096
8097         * BufferView_pimpl.h:
8098         * BufferView_pimpl.C: handle change lfuns
8099
8100         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8101           for changes. Mark pasted paragraphs as new.
8102
8103         * support/lyxtime.h:
8104         * support/lyxtime.C:
8105         * DepTable.C: abstract time_t as lyx::time_type
8106
8107         * LColor.h:
8108         * LColor.C: add colours for new text, deleted text, changebars
8109
8110         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8111           package use "usenames" option.
8112
8113         * commandtags.h:
8114         * lyxfunc.C:
8115         * LyXAction.C: add change lfuns
8116
8117         * Makefile.am:
8118         * author.h:
8119         * author.C: author handling
8120
8121         * buffer.h:
8122         * buffer.C: add a per-buffer author list, with first entry as
8123           current author. Handle new .lyx tokens for change tracking. Output
8124           author list to .lyx file. Output dvipost stuff to .tex preamble.
8125           Bump lyx format to 222.
8126
8127         * bufferlist.h:
8128         * bufferlist.C: add setCurrentAuthor() to reset current author details
8129           in all buffers.
8130
8131         * bufferparams.h:
8132         * bufferparams.C: add param for tracking
8133
8134         * bufferview_funcs.C: output change info in minibuffer
8135
8136         * Makefile.am:
8137         * changes.h:
8138         * changes.C: add change-tracking structure
8139
8140         * debug.h:
8141         * debug.C: add CHANGES debug flag
8142
8143         * lyxfind.h:
8144         * lyxfind.C: add code for finding the next change piece
8145
8146         * lyxrc.h:
8147         * lyxrc.C: add user_name and user_email
8148
8149         * lyxrow.h:
8150         * lyxrow.C: add a metric for the top of the text line
8151
8152         * lyxtext.h:
8153         * text.C: implement accept/rejectChange()
8154
8155         * lyxtext.h:
8156         * text.C: paint changebars. Paint new/deleted text in the chosen
8157         colours. Strike through deleted text.
8158
8159         * paragraph.h:
8160         * paragraph.C:
8161         * paragraph_pimpl.h:
8162         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8163           in the current change to the insert functions. Rework erase to
8164           mark text as deleted, adding an eraseIntern() and a range-based
8165           erase(). Implement per-paragraph change lookup and
8166           accept/reject.
8167
8168         * paragraph_funcs.C: Fixup paste for change tracking.
8169
8170         * tabular.C: mark added row/columns as new.
8171
8172         * text.C: fix rowLast() to never return -1. Don't allow
8173           spellchecking of deleted text. Track transpose changes. Don't
8174           allow paragraph break or merge where appropriate.
8175
8176         * text2.C: leave cursor at end of selection after a cut.
8177
8178 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8179
8180         * text.C (getLengthMarkerHeight):
8181         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8182         visible on screen too.
8183
8184 2003-02-07  John Levon  <levon@movementarian.org>
8185
8186         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8187
8188 2003-02-05  Angus Leeming  <leeming@lyx.org>
8189
8190         * lyxserver.C (read_ready): revert my patch of 11 September last year
8191         as it sends PC cpu through the roof. Presumably this means that
8192         the lyxserver will no longer run on an Alpha...
8193
8194 2003-01-30  Angus Leeming  <leeming@lyx.org>
8195
8196         * factory.C (createInset): create an InsetCommandParam of type "index"
8197         and use it to 'do the right thing'.
8198
8199         * text2.C (getStringToIndex): ensure that cursor position is always
8200         reset to the reset_cursor position.
8201
8202 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8203
8204         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8205         disabled.
8206
8207 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8208
8209         * bufferview.C:
8210         * lyxcb.C:
8211         * lyxfunc.C: Output messages with identical spelling, punctuation,
8212         and spaces
8213
8214 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8215
8216         * MenuBackend.C (expandFormats): List only viewable export formats
8217         in "View" menu
8218
8219         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8220         message
8221
8222         * lyxfunc.C (getStatus): Make sure that formats other than
8223         "fax" can also be disabled
8224
8225 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8226
8227         * text3.C (dispatch): put the lfuns that insert insets in 3
8228         groups, and call doInsertInset with appropriate arguments.
8229         (doInsertInset): new function, that creates an inset and inserts
8230         it according to some boolean parameters.
8231
8232 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8233
8234         * buffer.C (readFile): remember to pass on 'par' when calling
8235         readFile recursively.
8236
8237 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8238
8239         * MenuBackend.C (expandFormats): add "..." to import formats.
8240
8241 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8242
8243         * paragraph.C (asString): Remove XForms RTL hacks.
8244
8245 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8246         * buffer.C: fix typo
8247
8248 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8249
8250         * Makefile.am (LIBS): delete var
8251         (lyx_LDADD): add @LIBS@ here instead.
8252
8253 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8254
8255         * Clarify the meaning of "wheel mouse jump"
8256
8257 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8258
8259         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8260         tabular in a float
8261
8262 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8263
8264         * importer.C (Loaders): do not preallocate 3 elements in the
8265         vector, since one ends up with 6 elements otherwise
8266
8267 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8268
8269         * DepTable.C (write): write the file name as last element of the
8270         .dep file (because it may contain spaces)
8271         (read): read info in the right order
8272
8273 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8274
8275         * paragraph_pimpl.C (simpleTeXBlanks):
8276         (simpleTeXSpecialChars):
8277         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8278
8279         * tabular.C (latex): add some missing case statements. Reindent.
8280
8281         * MenuBackend.C (expandToc): remove unused variable.
8282
8283 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8284
8285         * LColor.C:
8286         * LaTeX.C:
8287         * LyXAction.C:
8288         * MenuBackend.C:
8289         * buffer.C:
8290         * exporter.C:
8291         * lyxfunc.C:
8292         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8293         and the like.
8294
8295 2003-01-05  John Levon  <levon@movementarian.org>
8296
8297         * BufferView.h:
8298         * BufferView.C: add getEncoding()
8299
8300         * kbsequence.h:
8301         * kbsequence.C: do not store last keypress
8302
8303         * lyxfunc.h:
8304         * lyxfunc.C: store last keypress here instead. Pass encoding
8305           to getISOEncoded()
8306
8307 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8308
8309         * lyx_main.C (init): remove annoying error message when following
8310         symbolic links (bug #780)
8311
8312 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8313
8314         * text.C (insertChar):
8315         * lyxrc.C (getDescription): remove extra spaces
8316
8317 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8318
8319         * lyxrc.C (getDescription): remove extra spaces
8320
8321 2002-12-20  John Levon  <levon@movementarian.org>
8322
8323         * text3.C: hack fix for page up/down across tall rows
8324
8325 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8326
8327         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8328         not been invoked
8329
8330 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8331
8332         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8333         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8334         thesaurus is not compiled in
8335
8336 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8337
8338         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8339
8340 2002-12-16  Angus Leeming  <leeming@lyx.org>
8341
8342         * lyxrc.[Ch]:
8343         * lyx_main.C (init): remove override_x_deadkeys stuff.
8344
8345 2002-12-12  John Levon  <levon@movementarian.org>
8346
8347         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8348           insert. Only remove shift modifier under strict
8349           circumstances.
8350
8351 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8352
8353         * MenuBackend.C (expandToc): fix crash.
8354
8355 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8356
8357         * MenuBackend.C (expandToc): gettext on float names.
8358
8359 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8360
8361         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8362         implement bool empty() [bug 490]
8363
8364 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8365
8366         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8367
8368 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8369
8370         * several files: ws changes
8371
8372 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8373
8374         * text2.C (setCounter): clean up a bit, use boost.format.
8375         (updateCounters): initialize par upon declaration.
8376
8377         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8378         if the layout exists. We do not just store the layout any more.
8379         (SwitchLayoutsBetweenClasses): use boost.format
8380
8381 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8382
8383         * converter.C (convert): if from and to files are the same, use a
8384         temporary files as intermediary
8385
8386 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8387
8388         * commandtags.h:
8389         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8390
8391 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8392
8393         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8394
8395 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8396
8397         * tabular.C (asciiPrintCell): use string(size, char) instead of
8398         explicit loop.
8399
8400         * sgml.C (openTag): fix order of arguments to string constructor
8401         (closeTag): ditto
8402
8403         * lyxfunc.C (dispatch): use boost.format
8404
8405         * lots of files: change "c" -> 'c'
8406
8407 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8408
8409         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8410
8411 2002-11-25  Angus Leeming  <leeming@lyx.org>
8412
8413         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8414
8415         * lyx_main.C (init): compile fix.
8416
8417 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8418
8419         * lyx_cb.C (start): boost.formatify
8420         do not include <iostream>
8421
8422         * lengthcommon.C: ws only
8423
8424         * boost-inst.C,BoostFormat.h: add more explict instantations
8425
8426 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8427
8428         * lots of files: handle USE_BOOST_FORMAT
8429
8430 2002-11-21  John Levon  <levon@movementarian.org>
8431
8432         * pspell.C: fix compile
8433
8434 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8435
8436         * lyxfunc.C (dispatch): use boost::format
8437         (open): ditto
8438         (doImport): ditto
8439
8440         * lyxfont.C (stateText): use boost::format
8441
8442         * lyx_main.C (LyX): use boost::format
8443         (init): ditto
8444         (queryUserLyXDir): ditto
8445         (readRcFile): ditto
8446         (parse_dbg): ditto
8447         (typedef boost::function): use the recommened syntax.
8448
8449         * importer.C (Import): use boost::format
8450
8451         * debug.C (showLevel): use boost::format
8452
8453         * converter.C (view): use boost::format
8454         (convert): ditto
8455         (move): ditto
8456         (scanLog): ditto
8457
8458         * bufferview_funcs.C (currentState): use boost::format
8459
8460         * bufferlist.C (emergencyWrite): use boost::format
8461
8462         * buffer.C (readLyXformat2): use boost::format
8463         (parseSingleLyXformat2Token): ditto
8464
8465         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8466
8467         * LaTeX.C (run): use boost::format
8468
8469         * Chktex.C (scanLogFile): use boost::format
8470
8471         * BufferView_pimpl.C (savePosition): use boost::format
8472         (restorePosition): ditto
8473         (MenuInsertLyXFile): ditto
8474
8475         * BoostFormat.h: help file for explicit instation.
8476
8477 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8478
8479         * tabular.C (latex): Support for block alignment in fixed width
8480         columns.
8481
8482 2002-11-17  John Levon  <levon@movementarian.org>
8483
8484         * BufferView_pimpl.C:
8485         * lyx_cb.C:
8486         * lyxfunc.C: split filedialog into open/save
8487
8488 2002-11-08  Juergen Vigna  <jug@sad.it>
8489
8490         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8491         by my last patch (hopefully).
8492
8493 2002-11-08  John Levon  <levon@movementarian.org>
8494
8495         * iterators.h:
8496         * iterators.C:
8497         * buffer.h:
8498         * buffer.C:
8499         * paragraph.h:
8500         * paragraph.C:
8501         * toc.h:
8502         * toc.C: ParConstIterator, and use it (from Lars)
8503
8504 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8505
8506         * lyxtextclass.[Ch]: revise and add doxygen comments
8507
8508 2002-11-07  John Levon  <levon@movementarian.org>
8509
8510         * text.C: fix progress value for spellchecker
8511
8512         * toc.C: fix navigate menu for insetwrap inside minipage
8513
8514         * paragraph_funcs.C: added FIXME for suspect code
8515
8516 2002-11-07  John Levon  <levon@movementarian.org>
8517
8518         * BufferView_pimpl.C: fix redrawing of insets
8519           on buffer switch
8520
8521 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8522
8523         * text2.C (updateCounters): fix bug 668
8524
8525 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8526
8527         * text3.C (dispatch): Do not make the buffer dirty when moving the
8528         cursor.
8529
8530 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8531
8532         * vc-backend.C: STRCONV
8533         (scanMaster): ditto
8534
8535         * text2.C (setCounter): STRCONV
8536
8537         * paragraph.C (asString): STRCONV
8538
8539         * lyxlength.C (asString): STRCONV
8540         (asLatexString): ditto
8541
8542         * lyxgluelength.C (asString): STRCONV
8543         (asLatexString): ditto
8544
8545         * lyxfunc.C (dispatch): STRCONV
8546         (open): ditto
8547
8548         * lyxfont.C (stateText): STRCONV
8549
8550         * importer.C (Import): STRCONV
8551
8552         * counters.C (labelItem): STRCONV
8553         (numberLabel): ditto
8554         (numberLabel): remove unused ostringstream o
8555
8556         * chset.C: STRCONV
8557         (loadFile): ditto
8558
8559         * bufferview_funcs.C (currentState): STRCONV
8560
8561         * buffer.C (readFile): STRCONV
8562         (asciiParagraph): ditto
8563         (makeLaTeXFile): ditto
8564
8565         * Spacing.C (writeEnvirBegin): STRCONV
8566
8567         * LaTeXFeatures.C (getLanguages): STRCONV
8568         (getPackages): ditto
8569         (getMacros): ditto
8570         (getBabelOptions): ditto
8571         (getTClassPreamble): ditto
8572         (getLyXSGMLEntities): ditto
8573         (getIncludedFiles): ditto
8574
8575         * LaTeX.C: STRCONV
8576         (run): ditto
8577         (scanAuxFile): ditto
8578         (deplog): ditto
8579
8580         * LString.h: add the STRCONV macros
8581
8582         * BufferView_pimpl.C (savePosition): STRCONV
8583         (restorePosition): ditto
8584         (MenuInsertLyXFile): ditto
8585
8586         * vc-backend.C (scanMaster): change from submatch[...] to
8587         submatch.str(...)
8588
8589         * funcrequest.C: include config.h
8590
8591         * factory.C: include config.h
8592
8593         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8594
8595         * box.C: include config.h
8596
8597         * LaTeX.C (scanAuxFile): change from submatch[...] to
8598         submatch.str(...)
8599         (deplog): ditto
8600
8601 2002-10-25  Angus Leeming  <leeming@lyx.org>
8602
8603         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8604
8605         * ispell.[Ch] (setError): new method.
8606         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8607         Use setError() insetead of goto END.
8608
8609         * lyx_cb.C (AutoSave): move out child process into new class
8610         AutoSaveBuffer.
8611
8612 2002-10-30  John Levon  <levon@movementarian.org>
8613
8614         * text3.C: make start appendix undoable
8615
8616 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8617
8618         * lyxlength.C (inPixels): Fix returned value.
8619
8620         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8621         environment.
8622
8623 2002-10-24  Angus Leeming  <leeming@lyx.org>
8624
8625         * lyxgluelength.h: no need to forward declare BufferParams
8626         or BufferView, so don't.
8627
8628 2002-10-21  John Levon  <levon@movementarian.org>
8629
8630         * BufferView.C: menuUndo ->undo, redo
8631
8632         * BufferView.h: document, remove dead, make some methods private
8633
8634         * paragraph_funcs.h:
8635         * paragraph_funcs.C:
8636         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8637
8638         * buffer.h:
8639         * buffer.C:
8640         * sgml.h:
8641         * sgml.C: move sgml open/close tag into sgml.C
8642
8643         * bufferview_funcs.h: unused prototype
8644
8645         * lyxfunc.h:
8646         * lyxfunc.C: remove unused
8647
8648         * lyxtext.h:
8649         * text.C: remove unused
8650
8651 2002-10-21  John Levon  <levon@movementarian.org>
8652
8653         * BufferView.h:
8654         * BufferView.C:
8655         * BufferView_pimpl.h:
8656         * BufferView_pimpl.C: fix mouse wheel handling based on
8657           patch from Darren Freeman
8658
8659 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8660
8661         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8662
8663 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8664
8665         * lyxlength.C (inPixels): Fix hanfling of negative length.
8666         Fix LyXLength::MU case.
8667
8668 2002-10-16  John Levon  <levon@movementarian.org>
8669
8670         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8671
8672 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8673
8674         * converter.C (view): add support for $$i (file name) and $$p
8675         (file path) for the viewer command. If $$i is not specified, then
8676         it is appended to the command (for compatibility with old syntax)
8677
8678 2002-10-14  Juergen Vigna  <jug@sad.it>
8679
8680         * undo_funcs.C (textHandleUndo): alter the order in which the
8681         new undopar is added to the LyXText, as we have to set first
8682         the right prev/next and then add it as otherwise the rebuild of
8683         LyXText is not correct. Also reset the cursor to the right paragraph,
8684         with this IMO we could remove the hack in "redoParagraphs()".
8685
8686 2002-10-09  Angus Leeming  <leeming@lyx.org>
8687
8688         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8689         to turn off an optimisation if a new inset is to be inserted.
8690
8691 2002-10-11 André Pönitz <poenitz@gmx.net>
8692
8693         * lyxtext.h: make some functions public to allow access
8694         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8695
8696 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8697
8698         * text3.C (dispatch): when changing layout, avoid an infinite loop
8699         [bug #652]
8700
8701 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8702
8703         * lyxrc.C (read): treat a viewer or converter command of "none" as
8704         if it were empty.
8705
8706         * MenuBackend.C (expandFormats): for an update, also allow the
8707         formats that are not viewable
8708
8709         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8710         script if it is newer than the lyxrc.defaults in user directory
8711
8712 2002-10-07 André Pönitz <poenitz@gmx.net>
8713
8714         * text.C: Vitaly Lipatov's small i18n fix
8715
8716 2002-09-25  Angus Leeming  <leeming@lyx.org>
8717
8718         * ispell.h: doxygen fix.
8719
8720 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8721
8722         * buffer.h (readFile): Add a new argument to the method, to allow
8723         reading of old-format templates.
8724
8725 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8726
8727         * toc.C (getTocList): Get TOC from InsetWrap.
8728
8729 2002-09-16  John Levon  <levon@movementarian.org>
8730
8731         * lyxfunc.C: check tabular for cut/copy too
8732
8733 2002-09-12  John Levon  <levon@movementarian.org>
8734
8735         * LyXAction.C: tidy
8736
8737         * factory.h:
8738         * factory.C: add header
8739
8740         * paragraph_funcs.h:
8741         * paragraph_funcs.C: cleanup
8742
8743 2002-09-11  John Levon  <levon@movementarian.org>
8744
8745         * PrinterParams.h: odd/even default to true
8746
8747 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8748
8749         * PrinterParams.h: update printer parameters for new xforms dialog
8750
8751 2002-09-11  Angus Leeming  <leeming@lyx.org>
8752
8753         * lyxserver.C (read_ready): re-write to make it more transparent
8754         and to make it work in coherent fashion under Tru64 Unix.
8755
8756 2002-09-11  André Pönitz <poenitz@gmx.net>
8757
8758         * commandtags.h:
8759         * LyXAction.C:
8760         * text3.C: implement LFUN_WORDSEL
8761
8762 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8763
8764         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8765         make floatlist_ a boost::shared_ptr<FloatList>
8766
8767         * lyxtextclass.C: include FloatList.h
8768         (LyXTextClass): initialize floatlist_
8769         (TextClassTags): add TC_NOFLOAT
8770         (Read): match "nofloat" to TC_NOFLOAT and use it.
8771         (readFloat): modify call to floatlist_
8772         (floats): ditto
8773         (floats): ditto
8774
8775         * FloatList.[Ch] (FloatList): remove commented out float
8776         initialization.
8777         (erase): new function
8778
8779 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8780
8781         * MenuBackend.C (expandToc): fix crash when there is no document
8782         open
8783
8784 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8785
8786         * many files: Add insetwrap.
8787
8788 2002-09-09  John Levon  <levon@movementarian.org>
8789
8790         * text2.C: remove confusing and awkward depth wraparound
8791
8792 2002-09-09  John Levon  <levon@movementarian.org>
8793
8794         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8795
8796         * buffer.h:
8797         * buffer.C: remove getIncludeonlyList()
8798
8799         * paragraph.C:
8800         * lyxfunc.C: remove headers
8801
8802 2002-09-09  Juergen Vigna  <jug@sad.it>
8803
8804         * text.C (getColumnNearX): fix form Michael this is most
8805         probably a cut&paste bug.
8806
8807 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8808
8809         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8810
8811         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8812         references, ws changes.
8813
8814         * text2.C (init): update counters after init
8815         (insertParagraph): no need to set counter on idividual paragraphs.
8816         (setCounter): access the counters object in the textclass object
8817         on in the buffer object.
8818         (updateCounters): ditto
8819
8820         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8821         shared_ptr<Counters> to avoid loading counters.h in all
8822         compilation units.
8823         (LyXTextClass): initialize ctrs_
8824         (TextClassTags): add TC_COUNTER, and ...
8825         (Read): use it here.
8826         (CounterTags): new tags
8827         (readCounter): new function
8828         (counters): new funtion
8829         (defaultLayoutName): return a const reference
8830
8831         * counters.C (Counters): remove contructor
8832         (newCounter): remove a couple of unneeded statements.
8833         (newCounter): simplify a bit.
8834         (numberLabel): some small formatting changes.
8835
8836         * buffer.[Ch]: remove all traces of counters, move the Counters
8837         object to the LyXTextClass.
8838
8839 2002-09-06  Alain Castera  <castera@in2p3.fr>
8840
8841         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8842         package to set the horizontal alignment on fixed width columns.
8843
8844         * lyx_sty.C:
8845         * lyx_sty.h: added tabularnewline macro def.
8846
8847         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8848
8849 2002-09-06  John Levon  <levon@movementarian.org>
8850
8851         * LyXAction.C: tooltips for sub/superscript
8852
8853         * MenuBackend.C: a bit more verbose
8854
8855         * lyxfunc.C: tiny clean
8856
8857         * undo_funcs.C: document undo_frozen
8858
8859 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8860
8861         * counters.C (Counters): add missing algorithm counter.
8862
8863         * text2.C (setCounter): lookup the counter with layouts latexname
8864         instead of by section number.
8865         (setCounter): use a hackish way to lookup the correct enum
8866         counter.
8867         a float name->type change
8868         reset enum couners with counter name directly instead of depth value.
8869
8870         * counters.C (Counters): remove the push_backs, change to use the
8871         float type not the float name.
8872         (labelItem): remove unused string, float name->type change
8873
8874         * counters.h: don't include vector, loose the enums and sects vectors
8875
8876 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8877
8878         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8879         (Read): add float->TC_FLOAT to textclassTags
8880         (Read): and handle it in the switch
8881         (readFloat): new function
8882
8883         * FloatList.C (FloatList): comment out the hardcoded float
8884         definitions.
8885
8886         * lyxlayout.h: ws change.
8887
8888 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8889
8890         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8891
8892 2002-09-03  Angus Leeming  <leeming@lyx.org>
8893
8894         * BufferView_pimpl.h: qualified name is not allowed in member
8895         declaration: WorkArea & Pimpl::workarea() const;
8896
8897         * factory.C: added using std::endl directive.
8898
8899         * text3.C: added using std::find and std::vector directives.
8900
8901 2002-08-29  André Pönitz <poenitz@gmx.net>
8902
8903         * lyxtext.h:
8904         * text2.C: remove unused member number_of_rows
8905
8906         * Makefile.am:
8907         * BufferView2.C: remove file, move contents to...
8908         * BufferView.C: ... here
8909
8910         * BufferView_pimpl.C:
8911         * factory.C: move more inset creation to factory
8912
8913         * vspace.C: avoid direct usage of LyXText, ws changes
8914
8915         * BufferView.[Ch]:
8916                 don't provide direct access to WorkArea, use two simple
8917                 acessors haveSelction() and workHeight() instead
8918
8919
8920 2002-08-29  John Levon  <levon@movementarian.org>
8921
8922         * BufferView_pimpl.C (dispatch): do not continue when
8923           no buffer
8924
8925 2002-08-28  André Pönitz <poenitz@gmx.net>
8926
8927         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8928
8929         * BufferView.h:
8930         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8931
8932 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8933
8934         * buffer.C: increment LYX_FORMAT to 221
8935
8936         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8937         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8938
8939         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8940
8941         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8942
8943 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8944
8945         * factory.C (createInset): use LyXTextClass::floats
8946
8947         * MenuBackend.C (expandFloatListInsert):
8948         (expandFloatInsert):
8949         (expandToc):
8950
8951         * text2.C (setCounter):
8952
8953         * LaTeXFeatures.C (useFloat):
8954         (getFloatDefinitions):
8955
8956         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8957
8958         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8959         floatlist_, with accessor floats().
8960
8961         * FloatList.h: remove global FloatList
8962
8963 2002-08-26  André Pönitz <poenitz@gmx.net>
8964
8965         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8966
8967         * BufferView.h:
8968         * BufferView2.C:
8969         * BufferView_pimpl.C:
8970         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8971
8972 2002-08-25  John Levon  <levon@movementarian.org>
8973
8974         * LyXAction.C: fix margin note description
8975
8976 2002-08-24  John Levon  <levon@movementarian.org>
8977
8978         * buffer.C:
8979         * bufferlist.C:
8980         * bufferview_funcs.C:
8981         * lyxfont.C:
8982         * undo_funcs.C: cleanups
8983
8984         * lyxfunc.C: disable CUT/COPY when no selection
8985
8986 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8987
8988         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8989         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8990
8991         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8992         Add backward compatibility to "mono", "gray" and "no".
8993
8994 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8995
8996         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8997         (and file_format >= 200).
8998
8999 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9000
9001         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9002
9003 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9004
9005         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9006
9007 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9008
9009         * BufferView_pimpl.C:
9010         * LyXAction.C:
9011         * buffer.C:
9012         * commandtags.h:
9013         * lyxfunc.C:
9014         * paragraph.[Ch]:
9015         * text2.C:
9016         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9017         inset and code to make it  work with the paragraph code. The inset
9018         can be anywhere in the paragraph, but will only do the expected
9019         thing in LaTeX if the layout file contains the parameter line
9020                         OptionalArgs    1
9021         (or more generally, a nonzero value) for that layout.
9022
9023 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9024
9025         * paragraph.h: remove the declaration of undefined counters class
9026         function.
9027
9028 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9029
9030         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9031         Dr. Richard Hawkins.
9032
9033 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9034
9035         * paragraph_funcs.h: remove some unneeded includes
9036
9037         * text.C (backspace): pasteParagraph now in global scipe
9038
9039         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9040         (pasteSelection): ditto
9041
9042         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9043         * paragraph_funcs.C (pasteParagraph): ... here
9044
9045 2002-08-20  André Pönitz <poenitz@gmx.net>
9046
9047         * commandtags.h: new LFUNs for swapping/copying table row/colums
9048
9049         * LyXAction.C:
9050         * lyxfunc.C: support for new lfuns
9051
9052 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9053
9054         * tabular.C:
9055         * buffer.[Ch]: remove NO_COMPABILITY stuff
9056
9057 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9058
9059         * boost.C (throw_exception): new file, with helper function for
9060         boost compiled without exceptions.
9061
9062         * paragraph.h:
9063         * lyxlength.C:
9064         * buffer.C:
9065         * ParameterStruct.h:
9066         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9067
9068         * bufferlist.C (emergencyWriteAll): use boost bind
9069
9070         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9071
9072         * text.C: include paragraph_funcs.h
9073         (breakParagraph): breakParagraph is now in global scope
9074
9075         * paragraph_funcs.[Ch]: new files
9076
9077         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9078         global scope
9079
9080         * buffer.C: include paragraph_funcs.h
9081         (insertStringAsLines): breakParagraph is now in global scope
9082
9083         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9084         paragraph_funcs.C
9085
9086         * CutAndPaste.C: include paragraph_funcs.h
9087         (cutSelection): breakParagraphConservative is now in global scope
9088         (pasteSelection): ditto
9089
9090         * buffer.h: declare oprator== and operator!= for
9091         Buffer::inset_iterator
9092
9093         * bufferlist.C (emergencyWrite): don't use fmt(...)
9094
9095         * text3.C: add using std::endl
9096
9097         * BufferView.C (moveCursorUpdate): remove default arg
9098
9099 2002-08-20  André Pönitz <poenitz@gmx.net>
9100
9101         * buffer.[Ch]: move inline functions to .C
9102
9103         * BufferView2.C:
9104         * BufferView_pimpl.C:
9105         * text.C:
9106         * buffer.[Ch]: use improved inset_iterator
9107
9108         * buffer.C:
9109         * paragraph.[Ch]: write one paragraph at a time
9110
9111 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9112
9113         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9114         style if style is not specified.
9115
9116 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9117
9118         * text2.C (setCounter): when searching for right label for a
9119         caption, make sure to recurse to parent insets (so that a caption
9120         in a minipage in a figure float works) (bug #568)
9121
9122 2002-08-20  André Pönitz <poenitz@gmx.net>
9123
9124         * text3.C: new file for LyXText::dispatch() and helpers
9125
9126         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9127
9128         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9129
9130 2002-08-19  André Pönitz <poenitz@gmx.net>
9131
9132         * lyxtext.h:
9133         * text.C: new LyXText::dispatch()
9134
9135         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9136
9137 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9138
9139         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9140
9141         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9142         Hebrew text.
9143
9144 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9145
9146         * Makefile.am: use $(variables) instead of @substitutions@
9147
9148 2002-08-15  André Pönitz <poenitz@gmx.net>
9149
9150         * lyxfunc.C:
9151         * BufferView_pimpl.C: streamlining mathed <-> outer world
9152         interaction
9153
9154         * commandtags.h:
9155         * LyXAction.C: remove unused LFUN_MATH
9156
9157 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9158
9159         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9160
9161 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9162
9163         * paragraph.C (Paragraph): reformat a bit
9164         (cutIntoMinibuffer): use builtin InsetList function instad of
9165         doing it manually.
9166         (getInset): ditto
9167
9168         * buffer.C: include boost/bind.hpp, add using std::for_each
9169         (writeFileAscii): use ParagraphList iterators
9170         (validate): use for_each for validate traversal of paragraphs
9171         (getBibkeyList): use ParagraphList iterators
9172         (resizeInsets): use for_each to resizeInsetsLyXText for all
9173         paragraphs.
9174         (getParFromID): use ParagraphList iterators
9175
9176         * BufferView2.C (lockInset): use paragraph list and iterators
9177
9178 2002-08-14  John Levon  <levon@movementarian.org>
9179
9180         * lyxserver.C: remove spurious xforms include
9181
9182 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9183
9184         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9185
9186 2002-08-13  André Pönitz <poenitz@gmx.net>
9187
9188         * LyXAction.[Ch]:
9189         * lyxfunc.C: further cleaning
9190
9191 2002-08-13  André Pönitz <poenitz@gmx.net>
9192
9193         * funcrequest.h: new constructor
9194
9195         * funcrequest.C: move stuff here from .h
9196
9197         * Makefile.am:
9198         * BufferView_pimpl.C:
9199         * LyXAction.C:
9200         * toc.C:
9201         * lyxfunc.C: subsequent changes
9202
9203         * lyxfunc.h: new view() member function
9204
9205         * lyxfunc.C: subsequent changes
9206
9207 2002-08-13  Angus Leeming  <leeming@lyx.org>
9208
9209         * BufferView2.C:
9210         * BufferView_pimpl.C:
9211         * buffer.C:
9212         * converter.C:
9213         * importer.C:
9214         * lyxfunc.C:
9215         * lyxvc.C:
9216         * toc.C:
9217         * vc-backend.C:
9218         changes due to the changed LyXView interface that now returns references
9219         to member variables not pointers.
9220
9221 2002-08-13  Angus Leeming  <leeming@lyx.org>
9222
9223         * WordLangTuple (word, lang_code): return references to strings,
9224         not strings.
9225
9226         * BufferView.h:
9227         * SpellBase.h:
9228         * lyxtext.h: forward-declare WordLangTuple.
9229
9230         * BufferView2.C:
9231         * ispell.C:
9232         * pspell.C:
9233         * text.C: #include "WordLangTuple.h".
9234
9235         * lyxtext.h:
9236         * text.C: (selectNextWordToSpellcheck): constify return type.
9237
9238 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9239
9240         * buffer.C:
9241         * buffer.h:
9242         * lyxtext.h:
9243         * paragraph.C:
9244         * paragraph_pimpl.h:
9245         * text.C:
9246         * text2.C:
9247         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9248         suggested by Angus.
9249         Made updateCounter always count from start of buffer, and removed
9250         second argument (par).
9251         Reverted floats number display to '#'. Perhaps I'll try again when the
9252         code base is sanitized a bit.
9253
9254 2002-08-12  Angus Leeming  <leeming@lyx.org>
9255
9256         * buffer.[Ch] (getLabelList): constify.
9257
9258 2002-08-07  André Pönitz <poenitz@gmx.net>
9259
9260         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9261
9262         * funcrequest.h: extension to keep mouse (x,y) position
9263
9264 2002-08-12  Juergen Vigna  <jug@sad.it>
9265
9266         * BufferView2.C (insertErrors): forbid undo when inserting error
9267         insets.
9268
9269         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9270
9271 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9272
9273         * ParagraphList.[Ch]: new files
9274
9275         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9276
9277         * BufferView2.C (lockInset): ParagraphList changes
9278         * toc.C: ditto
9279         * text2.C: ditto
9280         * bufferlist.C: ditto
9281         * buffer.h: ditto
9282         * buffer.C: ditto
9283
9284 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9285
9286         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9287         unused class variable counter_,
9288
9289         * paragraph.[Ch] (getFirstCounter): delete unused function
9290
9291         * counters.C: include LAssert.h
9292         (reset): add a new function with no arg, change other version to
9293         not have def. arg and to not allow empty arg.
9294
9295         * text2.C (setCounter): remove empty arg from call to Counters::reset
9296
9297 2002-08-11  John Levon  <levon@movementarian.org>
9298
9299         * Makefile.am: add WordLangTuple.h
9300
9301 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9302
9303         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9304         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9305
9306         * insets/insettext.C: InsetList changes
9307
9308         * graphics/GraphicsSupport.C (operator()): InsetList changes
9309
9310         * toc.C (getTocList): InsetList changes
9311
9312         * paragraph_pimpl.[Ch]: InsetList changes
9313
9314         * paragraph.[Ch]: InsetList changes
9315
9316         * buffer.C (inset_iterator): InsetList changes
9317         (setParagraph): ditto
9318         * buffer.h (inset_iterator): ditto
9319         * iterators.C (operator++): ditto
9320         * iterators.h: ditto
9321
9322         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9323
9324         * InsetList.[Ch]: new files, most InsetList handling moved out of
9325         paragraph.C.
9326
9327         * BufferView2.C (removeAutoInsets): InsetList changes
9328         (lockInset): ditto
9329         (ChangeInsets): ditto
9330
9331 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9332
9333         * paragraph_pimpl.h (empty): new function
9334
9335         * paragraph.[Ch] (empty): new function
9336
9337         * other files: use the new Paragraph::empty function
9338
9339 2002-08-09  John Levon  <levon@movementarian.org>
9340
9341         * lyxtext.h: remove unused refresh_height
9342
9343 2002-08-09  John Levon  <levon@movementarian.org>
9344
9345         * Makefile.am:
9346         * sgml.h:
9347         * sgml.C:
9348         * buffer.C:
9349         * paragraph.h:
9350         * paragraph.C: move sgml char escaping out of paragraph
9351
9352         * paragraph.h:
9353         * paragraph.C: remove id setter
9354
9355         * buffer.C:
9356         * paragraph.C:
9357         * paragraph_pimpl.C: remove dead tex_code_break_column
9358
9359         * bufferview_funcs.C: small cleanup
9360
9361         * lyxfunc.C: remove dead proto
9362
9363         * lyxtext.h: make some stuff private. Remove some dead stuff.
9364
9365         * lyxgluelength.C: make as[LyX]String() readable
9366
9367 2002-08-08  John Levon  <levon@movementarian.org>
9368
9369         * LyXAction.h:
9370         * LyXAction.C:
9371         * MenuBackend.C:
9372         * ToolbarDefaults.C:
9373         * lyxfunc.C:
9374         * lyxrc.C:
9375         * toc.C: lyxaction cleanup
9376
9377 2002-08-08  John Levon  <levon@movementarian.org>
9378
9379         * BufferView2.C: small cleanup
9380
9381         * lyxfind.h:
9382         * lyxfind.C: move unnecessary header into the .C
9383
9384 2002-08-08  John Levon  <levon@movementarian.org>
9385
9386         * funcrequest.h: just tedious nonsense
9387
9388         * lyx_main.h:
9389         * lyx_main.C: cleanups
9390
9391         * buffer.C:
9392         * vspace.C: remove dead header lyx_main.h
9393
9394 2002-08-07  Angus Leeming  <leeming@lyx.org>
9395
9396         * Paragraph.[Ch]:
9397         * paragraph_pimpl.h:
9398         Forward declare class Counters in paragraph.h by moving the ctrs member
9399         variable into Paragraph::Pimpl.
9400         (counters): new method, returning a reference to pimpl_->ctrs.
9401
9402         * text2.C: ensuing changes.
9403
9404 2002-08-07  John Levon  <levon@movementarian.org>
9405
9406         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9407
9408         * BufferView_pimpl.C: announce X selection on double/triple
9409           click
9410
9411         * lyx_main.C: use correct bool in batch dispatch
9412
9413         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9414
9415 2002-08-07  André Pönitz <poenitz@gmx.net>
9416
9417         * funcrequest.h: new class to wrap a kb_action and its argument
9418
9419         * BufferView.[Ch]:
9420         * BufferView_pimpl[Ch]:
9421         * LaTeX.C:
9422         * LyXAction.[Ch]:
9423         * lyxfunc.[Ch]:
9424         * lyxrc.C: subsequent changes
9425
9426
9427 2002-08-07  John Levon  <levon@movementarian.org>
9428
9429         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9430           document options change.
9431
9432 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9433
9434         * counters.[Ch]
9435         * text2.C
9436         * paragraph.[Ch]
9437         * makefile.am: move counters functionality over from
9438         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9439
9440 2002-08-06  John Levon  <levon@movementarian.org>
9441
9442         * WordLangTuple.h: new file for word + language code tuple
9443
9444         * SpellBase.h:
9445         * pspell.h:
9446         * pspell.C:
9447         * ispell.h:
9448         * ispell.C:
9449         * lyxtext.h:
9450         * text.C:
9451         * text2.C:
9452         * BufferView.h:
9453         * BufferView2.C: use WordLangTuple
9454
9455         * layout.h:
9456         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9457
9458 2002-08-06  John Levon  <levon@movementarian.org>
9459
9460         * lyx_main.C: fix cmdline batch handling
9461
9462 2002-08-06  André Pönitz <poenitz@gmx.net>
9463
9464         * lyxrc.C: set default for show_banner to true
9465
9466 2002-08-06  John Levon  <levon@movementarian.org>
9467
9468         * pspell.C: fix a crash, and allow new aspell to work
9469
9470 2002-08-06  John Levon  <levon@movementarian.org>
9471
9472         * lyxfunc.C:
9473         * kbmap.C: small cleanup
9474
9475         * vspace.h:
9476         * vspace.C: add const
9477
9478 2002-08-05  John Levon  <levon@movementarian.org>
9479
9480         * LyXAction.C: back to tabular-insert
9481
9482 2002-08-04  John Levon  <levon@movementarian.org>
9483
9484         * BufferView.h:
9485         * BufferView.C: cosmetic change
9486
9487         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9488
9489         * bufferlist.C:
9490         * buffer.h:
9491         * buffer.C:
9492         * lyxcb.h:
9493         * lyxcb.C:
9494         * lyxserver.C:
9495         * lyxvc.C:
9496         * vc-backend.C:
9497         * BufferView2.C: purge all "Lyx" not "LyX" strings
9498
9499         * lyxcursor.h:
9500         * lyxcursor.C: attempt to add some documentation
9501
9502         * lyxfunc.C:
9503         * commandtags.h:
9504         * LyXAction.C:
9505         * ToolbarDefaults.C:
9506         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9507           merge with LFUN_TABULAR_INSERT
9508
9509         * Makefile.am:
9510         * SpellBase.h:
9511         * ispell.h:
9512         * ispell.C:
9513         * pspell.h:
9514         * pspell.C: split up i/pspell implementations into separate
9515           files, many cleanups
9516
9517         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9518
9519         * text2.C: some cleanup
9520
9521         * lyxfunc.C: don't check for isp_command == "none" any more, it
9522           didn't make any sense
9523
9524 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9525
9526         * counters.[Ch]
9527         * text2.C
9528         * paragraph.[Ch]
9529         * makefile.am: move counters functionality over
9530         from text2.C/paragraph.[Ch] to counters.[Ch], and
9531         make proper C++.
9532 2002-08-02  John Levon  <levon@movementarian.org>
9533
9534         * buffer.C: s/lyxconvert/lyx2lyx/
9535
9536 2002-08-02  Angus Leeming  <leeming@lyx.org>
9537
9538         * lyxlex.C: revert John's change as it breaks reading of the user
9539         preamble.
9540
9541 2002-08-02  Angus Leeming  <leeming@lyx.org>
9542
9543         * importer.C (Import):
9544         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9545         changes due to LyXView::view() now returning a boost::shared_ptr.
9546
9547 2002-08-02  John Levon  <levon@movementarian.org>
9548
9549         * lyxlex.C: small cleanup
9550
9551 2002-08-02  John Levon  <levon@movementarian.org>
9552
9553         * text2.C (status): small cleanup, no logic change
9554
9555 2002-08-01  John Levon  <levon@movementarian.org>
9556
9557         * buffer.h:
9558         * buffer.C (writeFile): don't output alerts, caller
9559           handles this
9560
9561         * bufferlist.C:
9562         * lyx_cb.C: from above
9563
9564         * lyxfunc.C: allow to open non-existent files
9565
9566 2002-07-31  John Levon  <levon@movementarian.org>
9567
9568         * lyxserver.C: don't let incidental errors get
9569           in the way (errno)
9570
9571 2002-07-30  John Levon  <levon@movementarian.org>
9572
9573         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9574
9575 2002-07-30  John Levon  <levon@movementarian.org>
9576
9577         * lyxserver.h:
9578         * lyxserver.C: remove I/O callback too
9579
9580 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9581
9582         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9583         log.
9584
9585 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9586
9587         * many files: strip,frontStrip -> trim,ltrim,rtrim
9588
9589 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9590
9591         * PrinterParams.h: remove extern containsOnly, and include
9592         support/lstrings.h instead.
9593
9594         * LaTeX.C (scanAuxFile): modify because of strip changes
9595         (deplog): ditto
9596         * buffer.C (makeLaTeXFile): ditto
9597         * bufferparams.C (writeFile): ditt
9598         * lyxfont.C (stateText): ditto
9599         * lyxserver.C (read_ready): ditto
9600         * vc-backend.C (scanMaster): ditto
9601
9602         * BufferView_pimpl.h: ws changes
9603
9604         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9605
9606 2002-07-26  André Pönitz <poenitz@gmx.net>
9607
9608         * kb_sequence.C: remove unnedred usings
9609
9610 2002-07-26  Juergen Vigna  <jug@sad.it>
9611
9612         * lyxfind.C (LyXReplace): we have to check better if the returned
9613         text is not of theLockingInset()->getLockingInset().
9614
9615 2002-07-25  Juergen Vigna  <jug@sad.it>
9616
9617         * lyxfind.C (LyXReplace): don't replace if we don't get the
9618         right LyXText.
9619
9620         * undo_funcs.C (createUndo): remove debugging code.
9621
9622 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9623
9624         * buffer.C (parseSingleLyXformat2Token): Use default placement
9625         when reading old floats.
9626
9627         * FloatList.C (FloatList): Change the default placement of figure
9628         and tables to "tbp".
9629
9630 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9631
9632         * MenuBackend.C: using std::max
9633
9634 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9635
9636         * MenuBackend.C (expandToc):
9637         (expandToc2): code moved from xforms menu frontend. It is now
9638         generic and TOCs are transparent to menu frontends.
9639
9640 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9641
9642         * toc.C (getTocList): protect against buf=0
9643
9644         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9645         Menu as first parameter. Now, this calls itself recursively to
9646         expand a whole tree (this will be useful for TOC handling)
9647         (expandFloatInsert): remove 'wide' version of floats
9648
9649         * MenuBackend.h (submenuname): returns the name of the submenu.
9650         (submenu): returns the submenu itself, provided it has been
9651         created by MenuBackend::expand
9652
9653 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9654
9655         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9656         insets which have noFontChange == true. (bug #172)
9657
9658 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9659
9660         * BufferView_pimpl.C: add connection objects and use them...
9661         (Pimpl): here.
9662
9663 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9664
9665         * MenuBackend.C (expandLastfiles):
9666         (expandDocuments):
9667         (expandFormats):
9668         (expandFloatListInsert):
9669         (expandFloatInsert):
9670         (expand): split expand in parts
9671
9672 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9673
9674         * lyx_gui.C: use lyx_gui::exit()
9675
9676 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9677
9678         * LyXAction.C: show the failing pseudo action
9679
9680 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9681
9682         * buffer.C (readFile): Run the lyxconvert script in order to read
9683         old files.
9684
9685 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9686
9687         * LyXAction.C:
9688         * commandtags.h:
9689         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9690
9691 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9692
9693         * LyXAction.C:
9694         * commandtags.h:
9695         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9696
9697 2002-07-22  Herbert Voss  <voss@lyx.org>
9698
9699         * lengthcommon.C:
9700         * lyxlength.[Ch]: add support for the vertical lengths
9701
9702 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * toc.[Ch]: std:: fixes
9705
9706 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9707
9708         * lyxrc.C: do not include lyx_main.h
9709
9710         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9711         for layouts
9712
9713         * lyxrc.C:
9714         * encoding.C:
9715         * bufferlist.C:
9716         * BufferView2.C: include "lyxlex.h"
9717
9718         * tabular.h:
9719         * bufferparams.h: do not #include "lyxlex.h"
9720
9721         * lyxtextclasslist.C (Add): remove method
9722         (classlist): renamed to classlist_
9723
9724         * paragraph_pimpl.C:
9725         * paragraph.C:
9726         * text2.C:
9727         * CutAndPaste.C:
9728         * bufferview_funcs.C:
9729         * bufferlist.C:
9730         * text.C:
9731         * LaTeXFeatures.C:
9732         * buffer.C:
9733         * toc.C (getTocList): use BufferParams::getLyXTextClass
9734
9735         * toc.C (getTocList): use InsetFloat::addToToc
9736
9737         * toc.[Ch]: new files, containing helper functions to handle table
9738         of contents
9739
9740         * lyxfunc.C (dispatch): no need to remove spaces around command
9741         given as a string
9742         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9743         first command of the sequence; it is not very clever, but I do not
9744         have a better idea, actually
9745
9746         * LyXAction.C (LookupFunc): make sure to remove space at the
9747         beginning and end of the command
9748
9749 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9750
9751         * MenuBackend.C (getMenubar): new method: return the menubar of
9752         this menu set
9753         (read): treat differently reading of menu and menubar (in
9754         particular, the menubar has no name now)
9755         (Menu::menubar): remove
9756
9757         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9758         saving is finished
9759
9760 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9761
9762         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9763         a bibitem inset in a RTL paragraph.
9764
9765 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9766
9767         * paragraph_pimpl.C: constify
9768
9769         * BufferView_pimpl.C:
9770         * LaTeX.C:
9771         * lyxfunc.C: fix dispatch in a nicer way
9772
9773 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9774
9775         * lyxfunc.C (dispatch):
9776         * BufferView_pimpl.C:
9777         * BufferView_pimpl.h:
9778         * BufferView.C:
9779         * BufferView.h: rename Dispatch() to dispatch()
9780
9781         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9782
9783         * lyxlayout.C (Read): honor DependsOn tag
9784
9785         * lyxlayout.[Ch] (depends_on): new method
9786
9787         * version.C.in: update lyx_docversion
9788
9789         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9790
9791         * paragraph.C (validate): remove from here...
9792         * paragraph_pimpl.C (validate): ... and move here
9793         (isTextAt): make it const
9794
9795         * buffer.C (getLists): ws cleanup
9796
9797 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9798
9799         * language.C (read): Use iso8859-1 encoding in latex_lang
9800         (this prevents LyX from crashing when using iso10646-1 encoding).
9801
9802 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9803
9804         * text2.C (toggleInset): if cursor is inside an inset, close the
9805         inset and leave cursor _after_ it
9806
9807 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9808
9809         * lyxfunc.C: move minibuffer completion handling out of here
9810
9811 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9812
9813         * BufferView_pimpl.C:
9814         * LaTeX.C: fix dispatch calls
9815
9816 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9817
9818         * text.C (drawChars): Fix Arabic text rendering.
9819
9820 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9821
9822         * LyXAction.C:
9823         * commandtags.h:
9824         * lyxfunc.C: remove message-push/pop
9825
9826         * lyxserver.C:
9827         * lyxfunc.h:
9828         * lyxfunc.C: rationalise some code by removing verboseDispatch
9829           in favour of a bool argument to dispatch()
9830
9831 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9832
9833         * lyx_main.C (init): make sure to read symlinks as absolute paths
9834
9835 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9836
9837         * lyxfunc.h:
9838         * lyxfunc.C: no need for commandshortcut to be a member
9839
9840 2002-07-15  André Pönitz <poenitz@gmx.net>
9841
9842         * converter.C: add support for $$s (scripts from lib/scripts dir)
9843         * lyx_main.C: white space
9844
9845 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9846
9847         * bufferlist.C:
9848         * lyxrc.h:
9849         * lyxrc.C: remove second exit confirmation
9850
9851 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9852
9853         * BufferView.h:
9854         * BufferView.C:
9855         * BufferView2.C:
9856         * BufferView_pimpl.h:
9857         * BufferView_pimpl.C:
9858         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9859
9860 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9861
9862         * MenuBackend.C (expand): add numeric shortcuts to document menu
9863
9864         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9865
9866 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9867
9868         * lyxfont.C (setLyXFamily):
9869         (setLyXSeries):
9870         (setLyXShape):
9871         (setLyXSize):
9872         (setLyXMisc):
9873         (lyxRead):
9874         * debug.C (value):
9875         * buffer.C (asciiParagraph): use ascii_lowercase
9876
9877 2002-07-15  Mike Fabian  <mfabian@suse.de>
9878
9879         * lyxlex_pimpl.C (search_kw):
9880         * lyxlex.C (getLongString):
9881         * converter.h (operator<):
9882         * converter.C (operator<):
9883         * buffer.C (parseSingleLyXformat2Token):
9884         (asciiParagraph):
9885         * ToolbarDefaults.C (read):
9886         * MenuBackend.C (checkShortcuts):
9887         (read):
9888         * LColor.C (getFromGUIName):
9889         (getFromLyXName): use the compare_ascii_no_case instead of
9890         compare_no_case, because in turkish, 'i' is not the lowercase
9891         version of 'I', and thus turkish locale breaks parsing of tags.
9892
9893 2002-07-16  Angus Leeming  <leeming@lyx.org>
9894
9895         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9896         now takes a Buffer const & argument.
9897
9898 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9899
9900         * BufferView.C (resize): check there's a buffer to resize
9901
9902 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9903
9904         * lyxfunc.C: remove dead code
9905
9906         * lyxserver.h:
9907         * lyxserver.C: use lyx_guii::set_read_callback
9908
9909 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9910
9911         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9912         an inset in a RTL paragraph.
9913
9914 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9915
9916         * lyxfunc.C: repaint after a font size update
9917
9918 2002-07-15  André Pönitz <poenitz@gmx.net>
9919
9920         * lyxlength.C: inBP should be able to return negative values
9921
9922 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * lyxfunc.C: use lyx_gui::update_fonts()
9925
9926 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9927
9928         * lyxfunc.C: use lyx_gui::update_color()
9929
9930 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * bufferlist.C:
9933         * lyxfunc.h:
9934         * lyxfunc.C:
9935         * lyxrc.h:
9936         * lyxrc.C: remove file->new asks for name option, and let
9937           buffer-new take an argument
9938
9939 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9940
9941         * BufferView_pimpl.C: remove unneeded extra repaint()
9942
9943 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9944
9945         * LyXAction.C: allow command-sequence with NoBuffer
9946
9947         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9948
9949 2002-07-10  Angus Leeming  <leeming@lyx.org>
9950
9951         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9952
9953 2002-07-09  Angus Leeming  <leeming@lyx.org>
9954
9955         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9956
9957 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * lengthcommon.h: whitespace
9960
9961         * lyxfunc.C: update scrollbar after goto paragraph
9962
9963         * lyxtext.h: factor out page break drawing, and fix it so
9964           page break/added space paints as selected nicely
9965
9966 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9967
9968         * BufferView_pimpl.C: add FIXMEs, clean up a little
9969
9970 2002-07-09  André Pönitz <poenitz@gmx.net>
9971
9972         * lyxfont.[Ch]: support for wasy symbols
9973
9974 2002-07-08  André Pönitz <poenitz@gmx.net>
9975
9976         * BufferView_pimpl.C: apply John's patch for #93.
9977
9978 2002-07-05  Angus Leeming  <leeming@lyx.org>
9979
9980         * BufferView_pimpl.C (buffer): generate previews if desired.
9981
9982         * LColor.h: add "preview" to the color enum.
9983
9984         * LColor.C (LColor): add a corresponding entry to the items array.
9985
9986         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9987         with this buffer.
9988
9989 2002-07-05  Angus Leeming  <leeming@lyx.org>
9990
9991         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9992         The body of the code is now in the method that is passed an ostream &
9993         rather than a file name.
9994         Pass an additional only_preamble parameter, useful for the forthcoming
9995         preview stuff.
9996
9997 2002-07-03  André Pönitz <poenitz@gmx.net>
9998
9999         * lyxfunc.C: simplify getStatus() a bit for math stuff
10000
10001 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10002
10003         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10004
10005 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10006
10007         * text.C (changeRegionCase): do not change case of all the
10008         document when region ends at paragraph end (bug #461)
10009
10010 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10011
10012         * paragraph.C (startTeXParParams):
10013         (endTeXParParams): add \protect when necessary
10014
10015 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10016
10017         * BufferView_pimpl.C (workAreaExpose): remove warning
10018
10019 2002-06-27  Angus Leeming  <leeming@lyx.org>
10020
10021         * Makefile.am: add lyxlayout_ptr_fwd.h.
10022
10023 2002-06-26  André Pönitz <poenitz@gmx.net>
10024
10025         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10026
10027 2002-06-25  Angus Leeming  <leeming@lyx.org>
10028
10029         * lyxfunc.C (dispatch): Comment out the call to
10030         grfx::GCache::changeDisplay. The method no longer exists now that the
10031         pixmap generation part of the graphics loader has been moved into
10032         InsetGraphics.
10033
10034 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10035
10036         * text2.C: layout as layout
10037
10038         * text.C: layout as layout
10039
10040         * tabular.C (OldFormatRead): layout as layout
10041
10042         * paragraph_pimpl.C (TeXDeeper): layout as layout
10043         (realizeFont): layout as layout
10044
10045         * paragraph.C (writeFile): layout as layout
10046         (validate): layout as layout
10047         (getFont): layout as layout
10048         (getLabelFont): layout as layout
10049         (getLayoutFont): layout as layout
10050         (breakParagraph): layout as layout
10051         (stripLeadingSpaces): layout as layout
10052         (getEndLabel): layout as layout
10053         (getMaxDepthAfter): layout as layout
10054         (applyLayout): layout as layout
10055         (TeXOnePar): layout as layout
10056         (simpleTeXOnePar): layout as layout
10057         (TeXEnvironment): layout as layout
10058         (layout): layout as layout
10059         (layout): layout as layout
10060
10061         * lyxtextclass.C (compare_name): new functor to work with
10062         shared_ptr, layout as layout
10063         (Read): layout as layout
10064         (hasLayout): layout as layout
10065         (operator): layout as layout
10066         (delete_layout): layout as layout
10067         (defaultLayout): layout as layout
10068
10069         * lyxlayout_ptr_fwd.h: new file
10070
10071         * lyxlayout.C (Read): layout as layout
10072
10073         * lyx_cb.C (MenuInsertLabel): layout as layout
10074
10075         * bufferlist.C (newFile): layout as layout
10076
10077         * buffer.C (readLyXformat2): layout as layout
10078         (parseSingleLyXformat2Token): layout as layout
10079         (insertStringAsLines): layout as layout
10080         (asciiParagraph): layout as layout
10081         (latexParagraphs): layout as layout
10082         (makeLinuxDocFile): layout as layout
10083         (simpleLinuxDocOnePar): layout as layout
10084         (makeDocBookFile): layout as layout
10085         (simpleDocBookOnePar): layout as layout
10086         (getLists): layout as layout
10087
10088         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10089
10090         * CutAndPaste.C (cutSelection): layout as layout
10091         (pasteSelection): layout as layout
10092         (SwitchLayoutsBetweenClasses): layout as layout
10093
10094         * BufferView_pimpl.C (Dispatch): layout as layout
10095         (smartQuote): layout as layout
10096
10097         * BufferView2.C (unlockInset): layout as layout
10098
10099 2002-06-24  André Pönitz <poenitz@gmx.net>
10100
10101         * lyxfunc.C: fix #487
10102
10103 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10104
10105         * lyxrc.h:
10106         * lyxrc.C:
10107         * lyxfunc.C: remove display_shortcuts, show_banner
10108
10109 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10110
10111         * Buffer_pimpl.C: oops, update on resize
10112
10113 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10114
10115         * buffer.C:
10116         * converter.C:
10117         * exporter.C:
10118         * lyxfunc.C:
10119         * BufferView.h:
10120         * BufferView.C: use repaint()
10121
10122         * BufferView_pimpl.h:
10123         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10124           as it's a clearer description. Remove superfluous
10125           redraws.
10126
10127 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10128
10129         * text.C: fix bug 488. Not ideal, but getting
10130           getWord() to work properly for the insets that
10131           matter is more difficult ...
10132
10133 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10134
10135         * BufferView_pimpl.C:
10136         * LyXAction.C:
10137         * commandtags.h:
10138         * lyxfunc.C: remove the six million index lyxfuncs to just
10139           one, and DTRT (bug 458)
10140
10141 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10142
10143         * BufferView.h:
10144         * BufferView.C:
10145         * BufferView_pimpl.h:
10146         * BufferView_pimpl.C: clean up resize() stuff,
10147           and unnecessary updateScreen()s
10148
10149 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * BufferView.h:
10152         * BufferView.C:
10153         * BufferView_pimpl.h:
10154         * BufferView_pimpl.C:
10155         * lyxfind.h:
10156         * lyxfind.C:
10157         * minibuffer.C: remove focus management of workarea,
10158           not needed. Use screen's greyOut()
10159
10160 2002-06-17  Herbert Voss  <voss@lyx.org>
10161
10162         * converter.C: (convert) do not post a message, when converting
10163         fails, let the calling function decide what to do in this case
10164
10165 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10166
10167         * lyxfunc.C: tidy up a little
10168
10169 2002-06-16    <alstrup@diku.dk>
10170
10171         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10172         Got rid of FORMS_H_LOCATION include. Now we are
10173         GUII.
10174
10175 2002-06-15  LyX Development team  <lyx@rilke>
10176
10177         * buffer.[Ch] (sgmlOpenTag):
10178         (sgmlCloseTag): Added support for avoiding pernicious mixed
10179         content. Return number of lines written.
10180
10181         (makeLinuxDocFile):
10182         (makeDocBookFile): Fixed calls to sgml*Tag.
10183         Simple white space clean.
10184
10185         (simpleDocBookOnePar): Simple white space clean.
10186
10187         * tabular.[Ch] (docBook): Renamed to docbook and got another
10188         argument to related with the pernicious mixed content.
10189
10190         (docbookRow): Fixed calls for docbook inset method.
10191
10192 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10193
10194         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10195         so it's X11 independent.
10196
10197         * kb*.[Ch]: ditto.
10198
10199         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10200
10201 2002-06-15  Lyx Development team  <lyx@electronia>
10202
10203         * intl.h: Renamed getTrans to getTransManager.
10204
10205 2002-06-14  Angus Leeming  <leeming@lyx.org>
10206
10207         * Makefile.am: nuke forgotten stl_string_fwd.h.
10208
10209 2002-06-12  Angus Leeming  <leeming@lyx.org>
10210
10211         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10212
10213 2002-06-13  Angus Leeming  <leeming@lyx.org>
10214
10215         * LaTeX.C:
10216         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10217
10218 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10219
10220         * kbmap.C (getiso): add support for cyrillic and greek
10221
10222 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * BufferView.h:
10225         * BufferView.C:
10226         * BufferView_pimpl.h:
10227         * BufferView_pimpl.C: move bogus scrolling logic
10228           to xforms
10229
10230 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * lyxfunc.C:
10233         * BufferView_pimpl.C: view->resize() change
10234
10235 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10236
10237         * BufferView_pimpl.C: topCursorVisible
10238           prototype change
10239
10240 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10241
10242         * Makefile.am:
10243         * lyx_gui.h:
10244         * lyx_gui.C: move to frontends/
10245
10246         * main.C:
10247         * lyx_main.h:
10248         * lyx_main.C: changes from above
10249
10250 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10251
10252         * intl.C:
10253         * intl.h:
10254         * kbmap.C:
10255         * kbsequence.C:
10256         * lyx_cb.C:
10257         * lyx_main.C: minor tidy
10258
10259 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10260
10261         * BufferView_pimpl.h:
10262         * BufferView_pimpl.C:
10263         * BufferView.h:
10264         * BufferView.C: make painter() const,
10265           remove dead code
10266
10267         * BufferView2.C: use screen() accessor
10268
10269         * lyx_main.h:
10270         * lyx_main.C: some minor cleanup
10271
10272 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * BufferView_pimpl.h:
10275         * BufferView_pimpl.C: remove enter/leaveView,
10276           use workHeight()
10277
10278 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10279
10280         * BufferView.h:
10281         * BufferView.C:
10282         * BufferView2.C:
10283         * BufferView_pimpl.h:
10284         * BufferView_pimpl.C: only construct screen once,
10285           rename
10286
10287         * lyxrc.C: remove pointless comment
10288
10289 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10290
10291         * BufferView.h:
10292         * BufferView.C: remove active() and belowMouse()
10293
10294         * BufferView_pimpl.h:
10295         * BufferView_pimpl.C: use workarea() not workarea_,
10296           and make it use a scoped_ptr instead
10297
10298 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10299
10300         * lyx_gui.C: add debug message on BadWindow
10301
10302 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10303
10304         * sp_spell.C: fdopen is not part of the C++ standard.
10305
10306         * paragraph.C (InsetIterator): use >= instead of ==
10307
10308 2002-06-07  Angus Leeming  <leeming@lyx.org>
10309
10310         Fixes needed to compile with Compaq cxx 6.5.
10311         * BufferView_pimpl.C:
10312         * DepTable.C:
10313         * buffer.C:
10314         * converter.C:
10315         * encoding.C:
10316         * lyx_gui.C:
10317         * lyx_main.C:
10318         * lyxtextclasslist.C:
10319         * minibuffer.C:
10320         * sp_spell.C:
10321         * tabular_funcs.C:
10322         * vc-backend.C:
10323         all c-library variables have been moved into namespace std. Wrap
10324         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10325
10326         * lyxlength.C:
10327         * tabular-old.C:
10328         * tabular.C:
10329         Add a using std::abs declaration.
10330
10331         * kbmap.h (modifier_pair):
10332         * paragraph.h (InsetTable, InsetList):
10333         * lyxfont.h (FontBits):
10334         type definition made public.
10335
10336         * bufferlist.C (emergencyWriteAll): the compiler complains that
10337         there is more than one possible lyx::class_fun template to choose from.
10338         I re-named the void specialisation as lyx::void_class_fun.
10339
10340         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10341
10342         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10343         the compiler is is unable to find tostr in write_attribute.
10344
10345 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10346
10347         * buffer.C (sgmlError): hide #warning
10348
10349 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10350
10351         * xtl/*: get rid of xtl, which is not in use anyway
10352
10353         * LyXAction.C (init):
10354         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10355         were unimplemented xtl experimentation
10356
10357 2002-06-04  André Pönitz <poenitz@gmx.net>
10358
10359         * lyxfunc.C: disable array operation on simple formulae
10360
10361 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * converter.C: constify a bit
10364
10365 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10366
10367         * lyx_gui.C: check xforms version correctly
10368
10369 2002-04-30  Herbert Voss  <voss@lyx.org>
10370
10371         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10372         "keep" option
10373
10374 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10375
10376         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10377           attempt to register it with a VCS)
10378
10379 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10380
10381         * lyx_main.C (init): honor variables LYX_DIR_13x and
10382         LYX_USERDIR_13x
10383
10384 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10385
10386         * buffer.h:
10387         * buffer.C:
10388         * lyx_main.C: fix a crash on bad command line,
10389           and give a useful exit status on error
10390
10391         * lyxfunc.C (doImport): allow -i lyx to work
10392
10393 2002-03-30  André Pönitz <poenitz@gmx.net>
10394
10395         * lyxfunc.C: mathed font changes
10396
10397 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10398
10399         * LaTeX.C:
10400         * importer.h:
10401         * importer.C:
10402         * lyx_sty.h:
10403         * lyx_sty.C:
10404         * lyxlex.C:
10405         * lyxrow.h:
10406         * lyxtext.h:
10407         * paragraph.h:
10408         * paragraph.C:
10409         * texrow.h:
10410         * texrow.C:
10411         * text.C:
10412         * trans_mgr.h: srcdocs, and some minor cleanups
10413
10414 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10415
10416         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10417         call getFont all the time)
10418
10419 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10420
10421         * switch from SigC signals to boost::signals
10422
10423 2002-05-29  André Pönitz <poenitz@gmx.net>
10424
10425         * paragraph_pimpl.C (getChar): don't call size() too often...
10426
10427 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10428
10429         * paragraph_pimpl.C (insertChar): do not try to update tables when
10430         appending (pos == size())
10431
10432         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10433         in order to reduce drastically the number of comparisons needed to
10434         parse a large document
10435
10436 2002-05-29  André Pönitz <poenitz@gmx.net>
10437
10438         * text.C:
10439         * text2.C:
10440         * lyxtextclass.C:
10441         * sp_pspell.h:
10442         * textclasslist.[Ch]:
10443         * sp_ispell.h: whitespace change
10444
10445 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10446
10447         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10448         lyxaction directly now.
10449
10450 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10451
10452         * trans.C:
10453         * lyxfont.C:
10454         * lyxvc.C: remove unused headers
10455
10456 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * Makefile.am:
10459         * buffer.h:
10460         * undostack.h:
10461         * undostack.C:
10462         * undo_funcs.h:
10463         * undo_funcs.C: some cleanups. Use shared_ptr
10464           and a template for the undo stacks.
10465
10466 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10467
10468         * BufferView_pimpl.h:
10469         * BufferView_pimpl.C:
10470         * kbmap.h:
10471         * kbmap.C:
10472         * kbsequence.h:
10473         * kbsequence.C:
10474         * lyxfunc.h:
10475         * lyxfunc.C:
10476         * text2.C: use key_state/mouse_state
10477
10478 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10479
10480         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10481         and LSubstring
10482
10483         * chset.C: change include order
10484         (loadFile): use boost regex and get rid of LRegex and LSubstring
10485
10486         * Makefile.am (BOOST_LIBS): new variable
10487         (lyx_LDADD): use it
10488
10489         * LaTeX.C: change include order.
10490         (scanAuxFile): use boost regex and get rid of LRegex and
10491         LSubstring
10492         (deplog): ditto
10493
10494 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * ColorHandler.h:
10497         * ColorHandler.C:
10498         * FontInfo.h:
10499         * FontInfo.C: moved to frontends/xforms/
10500
10501         * FontLoader.h:
10502         * FontLoader.C: moved into frontends for GUIIzation
10503
10504         * Makefile.am:
10505         * lyx_gui.C:
10506         * lyxfont.C:
10507         * lyxfunc.C: changes from above
10508
10509 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10510
10511         * LColor.C: remove spurious X include
10512
10513         * BufferView_pimpl.C:
10514         * Makefile.am:
10515         * font.h:
10516         * font.C:
10517         * text.C:
10518         * text2.C: move font metrics to frontends/
10519
10520 2002-05-24  Juergen Vigna  <jug@sad.it>
10521
10522         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10523         setting the undo_cursor.
10524
10525         * ParagraphParameters.h: include local includes first.
10526
10527 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10528
10529         * BufferView_pimpl.C:
10530         * BufferView_pimpl.h:
10531         * Makefile.am:
10532         * WorkArea.h:
10533         * WorkArea.C:
10534         * screen.C: move WorkArea into frontends/
10535
10536         * lyxscreen.h:
10537         * screen.C:
10538         * text.C:
10539         * BufferView.C:
10540         * BufferView2.C: move LyXScreen into frontends/
10541
10542         * lyxlookup.h:
10543         * lyxlookup.C:
10544         * lyx_gui.C: move lyxlookup into frontends/xforms/
10545
10546 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10547
10548         * BufferView2.C:
10549         * BufferView_pimpl.C:
10550         * FontLoader.C:
10551         * LyXView.h:
10552         * LyXView.C:
10553         * Makefile.am:
10554         * WorkArea.C:
10555         * XFormsView.h:
10556         * XFormsView.C:
10557         * buffer.C:
10558         * bufferlist.C:
10559         * bufferview_funcs.C:
10560         * converter.C:
10561         * importer.C:
10562         * lyx_cb.C:
10563         * lyx_gui.C:
10564         * lyx_main.C:
10565         * lyx_find.C:
10566         * lyxfunc.C:
10567         * lyxvc.C:
10568         * minibuffer.C:
10569         * text.C:
10570         * text2.C:
10571         * trans.C:
10572         * vc-backend.C: move LyX/XFormsView into frontends/
10573
10574 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10575
10576         * Makefile.am:
10577         * PainterBase.C:
10578         * PainterBase.h:
10579         * Painter.C:
10580         * Painter.h:
10581         * WorkArea.C:
10582         * WorkArea.h:
10583         * screen.C:
10584         * tabular.C:
10585         * text.C:
10586         * text2.C: move Painter to frontends/
10587
10588 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10589
10590         * buffer.C: comment out some some code that depend upon lyx_format
10591         < 220
10592
10593         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10594         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10595
10596         * buffer.h (NO_COMPABILITY): turn off compability
10597
10598         * ColorHandler.C: include scoped_array.hpp
10599
10600         * font.C: Use more specific smart_ptr header.
10601         * Painter.C: ditto
10602         * gettext.C: ditto
10603         * ShareContainer.h: ditto
10604         * lyx_main.h: ditto
10605         * kbmap.h: ditto
10606         * FontInfo.h: ditto
10607         * BufferView_pimpl.h: ditto
10608         * ColorHandler.h: ditto
10609
10610         * kbmap.C (defkey): change call to shared_ptr::reset
10611
10612 2002-05-21  Juergen Vigna  <jug@sad.it>
10613
10614         * buffer.C (insertErtContents): fix to insert ert asis if it is
10615         non empty. Skip it completely if it contains only whitespaces.
10616
10617 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * BufferView_pimpl.C:
10620         * BufferView2.C: clear selection on paste (bug 393)
10621
10622 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10623
10624         * DepTable.C: include ctime
10625
10626 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10627
10628         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10629
10630 2002-05-14  Juergen Vigna  <jug@sad.it>
10631
10632         * text.C (breakParagraph): fixed function to honor the keepempty
10633         layout in the right maner and also to permit the right breaking
10634         algorithm on empty or non empyt keepempty paragraphs.
10635
10636         * paragraph.C (breakParagraph): we have to check also if the par
10637         is really empty (!size()) for isempty otherwise we do the wrong
10638         paragraph break.
10639
10640 2002-05-10  Juergen Vigna  <jug@sad.it>
10641
10642         * buffer.[Ch] : The following are only changes to the ert
10643         compatibility read reading old LaTeX layout and font stuff and
10644         convert it to ERTInsets.
10645
10646         * buffer.h: added isErtInset().
10647
10648         * buffer.C (struct ErtComp): add a fromlayout bool to check
10649         if we're inside a LaTeX layout.
10650         (isErtInset): new helper function.
10651         (insertErtContents): look for other ert insets before this one
10652         and insert the contents there, so that we don't have subsequent
10653         ERT insets with nothing between them. This way we create only one
10654         inset with multiple paragraphs. Also check if we don't insert only
10655         spaces ' ' as they are ignored anyway afterwards in the .tex file
10656         so if we have only spaces we will ignore this latex part in the
10657         new file.
10658         (parseSingleLyXformat2Token \\layout): better compatibility when
10659         reading layout-latex stuff.
10660         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10661         language tag.
10662         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10663         stuff after reading the inset only get the information back from
10664         the stack.
10665
10666 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10667
10668         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10669
10670         * LaTeXFeatures.C (getBabelOptions): New method.
10671
10672 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10673
10674         * BufferView_pimpl.C (Dispatch): work around missing argument for
10675         'layout'
10676
10677 2002-05-08  Juergen Vigna  <jug@sad.it>
10678
10679         * text.C (leftMargin): handle paragraph leftindent.
10680
10681         * paragraph.C (writeFile): write the new \\leftindent tag.
10682         (validate): handle leftindent code.
10683         (TeXEnvironment): handle paragraphleftindent code again.
10684
10685         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10686
10687         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10688         for paragrap_extra indent code and new token \\leftindent.
10689         (latexParagraphs): handle the leftindent as environment.
10690
10691         * ParameterStruct.h: added leftindent support.
10692
10693         * ParagraphParameters.C (leftIndent): added support functions for
10694         the paragraph left indent.
10695
10696         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10697         more appropriate.
10698
10699 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10700
10701         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10702         inside insetERT.
10703
10704         * text.C (computeBidiTables): No bidi in insetERT.
10705
10706         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10707         in RTL documents.
10708
10709 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10710
10711         * version.C.in: pre 5
10712
10713 2002-05-02  José Matos  <jamatos@fep.up.pt>
10714         * buffer.C (makeDocBookFile): white space changes, add newline to
10715         command styles.
10716         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10717
10718         * tabular.C (docBook): fix typo.
10719
10720 2002-05-03  Juergen Vigna  <jug@sad.it>
10721
10722         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10723         change in LyXText as we can not be sure it was not freed.
10724         (drawOneRow): remove unused code.
10725
10726         * text.C (drawInset): redo the calculation of the need_break_row as
10727         it could have a row which was already freed.
10728         (draw): look at the return value of drawInset and return false if
10729         it also returned false.
10730         (paintRowText): look at the return value of draw and return false if
10731         it also returned false.
10732
10733         * lyxtext.h: added bool return type to drawInset() and draw() so that
10734         if we have a change in the row so that the rowbreak has to be redone
10735         we abort drawing as it will be called again.
10736
10737 2002-05-02  Juergen Vigna  <jug@sad.it>
10738
10739         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10740         a change in the maintext also if we're inside an inset.
10741         (Dispatch): set the cursor again after a break line and after the
10742         screen has been updated as it could be we're in a different row.
10743
10744         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10745         to set the cursor behind the pargraph with > size().
10746         (setCursor): check also for the same paragraph when checking where
10747         to put the cursor if we have a NFR inset.
10748
10749         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10750         parts of layout read further up as it still was in the wrong
10751         position.
10752
10753 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10754
10755         * screen.C (drawFromTo): change sine fullRebreak always return
10756         true.
10757
10758         * buffer.C (parseSingleLyXformat2Token): reindent some
10759
10760         * BufferView_pimpl.C (update): change since fullRebreak always
10761         return true.
10762         (Dispatch): git rid of the last hardcoded "Standard"s.
10763
10764 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10765
10766         * text2.[Ch] (fullRebreak): make it return void now that we always
10767         returned true.
10768
10769 2002-04-30  Juergen Vigna  <jug@sad.it>
10770
10771         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10772         ert compatibility check for "latex" layout.
10773
10774 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10775
10776         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10777         minipages: use col% instead of p%, and also use the current font.
10778         (makeLaTeXFile): Fix use babel condition.
10779         (parseSingleLyXformat2Token): Correct font when reading old floats.
10780
10781 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10782
10783         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10784         inserting list of floats.
10785
10786 2002-04-25  Herbert Voss  <voss@lyx.org>
10787
10788         * MenuBackend.C (expand): don't add the graphics extensions to the
10789         export menu
10790
10791 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10792
10793         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10794         non-existing layout, do not complain if it was the default layout
10795         of the original class (bug #342)
10796
10797 2002-04-24  Juergen Vigna  <jug@sad.it>
10798
10799         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10800         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10801
10802 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10803
10804         * buffer.C (getBibkeyList): If using \bibliography, return the
10805         option field with the reference itself. Enables us to provide natbib
10806         support when using \bibliography.
10807
10808 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10809
10810         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10811
10812         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10813         natbib is provided by the LaTeX class.
10814
10815 2002-04-23  Juergen Vigna  <jug@sad.it>
10816
10817         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10818         Wakeup functions.
10819
10820         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10821
10822 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10823
10824         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10825
10826         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10827         ensuremath around textordmasculine, textordfeminine and
10828         textdegree.
10829
10830 2002-04-19  Juergen Vigna  <jug@sad.it>
10831
10832         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10833         reinitializing the buffer otherwise row-dimensions may be wrong.
10834         (update): reset also the selection cursors if they do exits otherwise
10835         their x/y positions may be wrong.
10836
10837         * text2.C (cursorDown): don't enter the inset if we came from a row
10838         above and are one row over the inset.
10839
10840         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10841         really leaving an inset.
10842
10843 2002-04-18  Juergen Vigna  <jug@sad.it>
10844
10845         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10846         of the selected paragraph does not have the selected layout also if
10847         the last one had!
10848
10849         * text2.C (setLayout): fixed bug which did not change last selected
10850         paragraph.
10851
10852         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10853         changed the read and substituted \\end_float with \\end_inset!
10854
10855         * BufferView_pimpl.C (cursorPrevious):
10856         (cursorNext): fixed to make it work with rows heigher than the work
10857         area without moving the cursor only the draw of the row.
10858         (workAreaMotionNotify): fix jumping over high rows.
10859
10860 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10861
10862         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10863         Ressler.
10864
10865 2002-04-16  Juergen Vigna  <jug@sad.it>
10866
10867         * text2.C (setCursor): set also the irow().
10868         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10869         (cursorUp):
10870         (cursorDown): support for locking an inset if the x_fix value goes
10871         inside it. That way I can transverse insets too with cursor up/down.
10872
10873         * lyxrow.h: added irow helper function same as other (i) functions.
10874
10875         * BufferView_pimpl.C (cursorPrevious):
10876         (cursorNext): fixed for insets!
10877
10878 2002-04-15  Juergen Vigna  <jug@sad.it>
10879
10880         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10881         position otherwise it is wrong in some cases.
10882
10883         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10884         inside the inset before the call.
10885
10886 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10887
10888         * buffer.[Ch] (getBibkeyList): make it const.
10889
10890 2002-04-12  Juergen Vigna  <jug@sad.it>
10891
10892         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10893
10894         * text2.C (getCursorX): new helper function
10895         (setCursor): compute also ix_
10896         (setCursorFromCoordinates): set also ix.
10897
10898         * lyxcursor.h: added ix_ and helper functions.
10899
10900         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10901
10902         * buffer.C (insertStringAsLines): dont break paragraph if the this
10903         paragraph is inside an inset which does not permit it!
10904
10905         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10906         also with no chars on this paragraph.
10907         (paintRowText): only paint stuff if it's inside the workarea!
10908
10909         * paragraph.C (breakParagraph): honor keepempty flag and break the
10910         paragraph always below not above.
10911
10912         * BufferView2.C (unlockInset): update the paragraph layout on inset
10913         unlock as we changed paragraph in such a case.
10914
10915         * lyxfind.C (LyXFind): clear the former selection if not found!
10916
10917         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10918         again called in insertChar().
10919
10920         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10921         an inset which uses the whole row!
10922         (rightMargin): ditto.
10923         (insertChar): force a rebreak if we inserted an inset!
10924
10925 2002-03-28  Herbert Voss  <voss@lyx.org>
10926
10927         * lyxlength.[Ch]: add inBP() to get the right PS-point
10928         units (BigPoint). With inPixels we have rounding errors
10929
10930 2002-04-11  Juergen Vigna  <jug@sad.it>
10931
10932         * text2.C (setCursorFromCoordinates): set iy to the right value.
10933         (setCursor): add check if row->previous exists!
10934
10935         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10936         an old float_type as this was the case in the old code!
10937
10938         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10939
10940         * BufferView2.C (showLockedInsetCursor): use iy
10941         (fitLockedInsetCursor): ditto
10942
10943         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10944         locked insets as there we have the right value now.
10945
10946         * lyxcursor.C: added iy_ variable and iy functions to set to the
10947         baseline of cursor-y of the locked inset.
10948
10949         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10950         (setCursor): fixed for insets which need a full row.
10951
10952         * text.C (rowLastPrintable): don't ignore the last space when before
10953         an inset which needs a full row.
10954         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10955         as last character of a row when before a inset which needs a full row.
10956
10957 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10958
10959         * version.C.in: update date
10960
10961         * text2.C (fullRebreak): try to always return true and see what
10962         happens...
10963
10964 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10965
10966         * MenuBackend.C (expand): use Floating::listName
10967
10968         * FloatList.C (FloatList): add listName argument to the built-in
10969         floats
10970
10971         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10972         text associated with the float.
10973
10974 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10975
10976         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10977
10978 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10979
10980         * ShareContainer.h: add a couple of missing typenames.
10981
10982 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10983
10984         * lyxrc.C (getDescription): use _() correctly rather than N_().
10985
10986 2002-03-28  Herbert Voss  <voss@lyx.org>
10987
10988         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10989         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10990
10991 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10992
10993         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10994         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10995
10996 2002-03-29  Juergen Vigna  <jug@sad.it>
10997
10998         * lyxfunc.C (dispatch): add a missing fitCursor call.
10999
11000         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11001         it was scrolled by a cursor move, so return the bool status.
11002
11003         * BufferView.C (fitCursor): return the bool flag also to the outside
11004         world as this is needed.
11005
11006         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11007
11008         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11009         call the edit() as it is not needed (and wrong) IMO.
11010         (workAreaButtonPress): set the screen_first variable before evt.
11011         unlock the inset as this may change screen_first and then we have
11012         a wrong y position for the click!
11013
11014 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * MenuBackend.C (expand): another translation that I missed
11017
11018 2002-03-28  Juergen Vigna  <jug@sad.it>
11019
11020         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11021
11022         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11023
11024 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11025
11026         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11027
11028         * MenuBackend.C (expand): fix export/view/update when there is no
11029         document open.
11030
11031 2002-03-27  Herbert Voss  <voss@lyx.org>
11032
11033         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11034         and text%
11035
11036 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11037
11038         * bufferview_funcs.C (currentState): only show paragraph number
11039         for is DEVEL_VERSION is set.
11040
11041         * lyxfunc.C (dispatch): put warning in INFO channel
11042
11043         * MenuBackend.C (expand): translate the name of floats
11044
11045         * FloatList.C (FloatList): mark the float names for translation
11046
11047         * converter.C (convert): use LibScriptSearch
11048
11049 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11050
11051         * MenuBackend.C (defaults): fix default menu (we might as well get
11052         rid of it...)
11053
11054 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11055
11056         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11057         directory.
11058
11059 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11060
11061         * lyxvc.C: reorder includes.
11062
11063 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11064
11065         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11066           properly
11067
11068 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11069
11070         * CutAndPaste.C: change layouts earlier on paste
11071           to avoid crashing when calling getFont()
11072
11073 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11074
11075         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11076         irritating #error.
11077
11078 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11079
11080         * WorkArea.C: remove 'Pending' debug message.
11081
11082         * most files: ws cleanup
11083
11084         * buffer.[Ch]: ws changes
11085
11086         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11087
11088 2002-03-21  Juergen Vigna  <jug@sad.it>
11089
11090         * tabular.C (SetMultiColumn): collapse also the contents of the
11091         cells and set the last border right. Added a Buffer const * param.
11092
11093 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11096         linking or not.
11097
11098 2002-03-19  Juergen Vigna  <jug@sad.it>
11099
11100         * text2.C (clearSelection): reset also xsel_cache.
11101
11102         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11103         where it needs to be called (John tells us to do so too :)
11104         (selectionLost): reset sel_cache.
11105
11106         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11107
11108 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11109
11110         * text2.C (setCursorIntern): put debuging code in INSETS channel
11111
11112 2002-03-19  André Pönitz <poenitz@gmx.net>
11113
11114         * lyxfunc.C: tiny whitespace change
11115
11116 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11117
11118         * ToolbarDefaults.C (init):
11119         * LyXAction.C (init):
11120         * commandtags.h:
11121         * BufferView_pimpl.C (Dispatch):
11122         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11123
11124 2002-03-19  Allan Rae  <rae@lyx.org>
11125
11126         * exporter.C (Export): removeAutoInsets before doing anything else.
11127         While I've just introduced a dependency on BufferView this really is
11128         the best place to clean the buffer otherwise you need to cleanup in
11129         a dozen places before calling export or cleanup in a dozen functions
11130         that export calls.
11131
11132         * converter.C (runLaTeX):
11133         (scanLog): Better handling of removeAutoInsets and screen updates.
11134
11135         * lyxfunc.C (dispatch): small whitespace changes
11136
11137 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11138
11139         * WorkArea.C (C_WorkAreaEvent): return a value.
11140         (event_cb): return 1 if we handled the event, 0 otherwise.
11141
11142         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11143
11144 2002-03-18  Juergen Vigna  <jug@sad.it>
11145
11146         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11147         (GetAdditionalWidth): ditto.
11148         (RightLine): ditto.
11149         (LeftLine): ditto.
11150
11151         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11152         inset if we're there actually (probably not used right now but this
11153         is the direction to go for unifying code).
11154         (paste): disable code to clear the selection.
11155
11156         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11157         inside an InsetText and move the check further up as it is in the
11158         wrong place.
11159
11160         * text2.C (pasteSelection): set a selection over the pasted text.
11161
11162 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11163
11164         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11165         and libgraphics to build on Cygwin.
11166
11167 2002-03-15  Juergen Vigna  <jug@sad.it>
11168
11169         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11170         inserting an Inset into the paragraph. I know this is not the best
11171         fix but we already use current_view in CutAndPaste so we will remove
11172         all of it's using at the same time.
11173
11174         * buffer.C (sgmlError): deactivated function till it is rewritten in
11175         the right mode, now it can create problems.
11176
11177         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11178         before accessing it.
11179
11180 2002-03-14  Juergen Vigna  <jug@sad.it>
11181
11182         * undo_funcs.C (textHandleUndo): do the right thing when updating
11183         the inset after the undo/redo.
11184
11185         * text2.C (setCursor): just some testcode for #44 not ready yet.
11186
11187         * undo_funcs.C (textHandleUndo): set the next() and previous()
11188         pointers of the paragraph to 0 before deleting otherwise we have
11189         problems with the Paragraph::[destructor].
11190
11191         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11192         on a paragraph insertion.
11193
11194 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11195
11196         * buffer.C (asciiParagraph): use += operator for char append to
11197         string.
11198
11199         * paragraph.C (getFontSettings): compare >= not just >
11200         (highestFontInRange): ditto
11201         (setFont): ditto
11202
11203 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11204
11205         * paragraph.C: change several algorithm to be more appripriate for
11206         the problem domain. This is lookip in FontList and in the InsetList.
11207
11208 2002-03-13  André Pönitz <poenitz@gmx.net>
11209
11210         * commandtags.h:
11211         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11212
11213 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11214
11215         * commandtags.h:
11216         * LyXAction.C:
11217         * lyxfunc.C:
11218         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11219
11220 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11221
11222         * Painter.C (display): anon helper function, adjust code for this
11223         change.
11224         (pixmap): remove function.
11225
11226         * Painter.h: remove private display variable.
11227
11228         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11229
11230 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11231
11232         * WorkArea.[Ch]: remove figinset_canvas cruft.
11233
11234 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11235
11236         * lyxtextclass.C (operator): add one item cache optimization.
11237
11238         * bufferlist.h: doxy changes
11239
11240         * bufferlist.C: ws changes
11241
11242         * DepTable.[Ch] (ext_exist): place const in the right spot.
11243
11244         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11245         call resizeInsets.
11246         (workAreaExpose): call resizeInsets when the with BufferView changes.
11247         (Dispatch): adjust for protectedBlank removal
11248         (specialChar): call updateInset if the insert went ok.
11249
11250         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11251         specialChar instead.
11252
11253         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11254
11255         * BufferView.h: doxy change
11256
11257         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11258
11259         * lyxtextclass.C (operator[]): remove non-const version
11260         (defaultLayout): remove non-const version
11261
11262 2002-03-12  Juergen Vigna  <jug@sad.it>
11263
11264         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11265         did resize the LyXText too.
11266
11267         * buffer.C (readLyXformat2): set layout information on newly allocated
11268         paragraphs.
11269
11270         * tabular.C (OldFormatRead): set layout information on the paragraph.
11271
11272 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11273
11274         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11275
11276 2002-03-11  Juergen Vigna  <jug@sad.it>
11277
11278         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11279         plainly wrong.
11280         (resizeCurrentBuffer): force also the insets to resize themselfes.
11281         (moveCursorUpdate): fixed up for InsetText.
11282
11283 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11284
11285         * commandtags.h:
11286         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11287         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11288         value of Dialogs::tooltipsEnabled().
11289         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11290
11291 2002-03-08  Juergen Vigna  <jug@sad.it>
11292
11293         * BufferView_pimpl.C (updateInset): update inset inside inset also
11294         if it isn't inside theLockingInset().
11295
11296 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11297
11298         * buffer.C (asciiParagraph): redo some of the word and line length
11299         handling.
11300         (getLists): look for Caption instead of caption.
11301
11302 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11303
11304         * buffer.C (Buffer): initialize niceFile to true
11305         (makeLaTeXFile):
11306         (makeLinuxDocFile):
11307         (makeDocBookFile): make sure niceFile is true on exit
11308
11309 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11310
11311         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11312
11313 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11314
11315         * LyXSendto.C: remove.
11316         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11317         * lyx_gui.C: remove now-redundant comment.
11318         * ColorHandler.h: remove forward declaration of class WorkArea.
11319         * lyxfunc.C: remove #include "WorkArea.h".
11320
11321 2002-03-07  Juergen Vigna  <jug@sad.it>
11322
11323         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11324         got moved away with the DEPM and also set the inset_owner always
11325         right which before could have been omitted.
11326
11327 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11328
11329         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11330         wanted layout is not found.
11331
11332 2002-03-07  Juergen Vigna  <jug@sad.it>
11333
11334         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11335
11336 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11337
11338         * paragraph.C (breakParagraph): use default layout not layout of
11339         prev paragraph.
11340         (Paragraph): clear ParagraphParameters.
11341
11342 2002-03-06  Juergen Vigna  <jug@sad.it>
11343
11344         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11345         otherwise it would not be a valid lenght. Fixed a special case in
11346         the minipage compatibility read where we end the document with a
11347         minipage.
11348
11349         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11350         was set as it could be 0 for InsetTexts first entry.
11351
11352 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11353
11354         * paragraph.C (writeFile): if layout is empty write out
11355         defaultLayoutName().
11356
11357         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11358         file without named layout we set layout to defaultLayoutName().
11359
11360 2002-03-06  Juergen Vigna  <jug@sad.it>
11361
11362         * CutAndPaste.C (copySelection): set layout for new paragraph.
11363
11364         * text.C (prepareToPrint): leave ERT inset left aligned
11365         (leftMargin): don't indent paragraphs inside ERT insets
11366
11367 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11368
11369         * paragraph.C (breakParagraph): dont call clear do the work manually
11370
11371         * paragraph.[Ch] (clear): remove function
11372
11373 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11374
11375         * paragraph.C (Paragraph): dont call clear, the work has already
11376         been done.
11377
11378         * lyxtextclass.C (operator): assert if n is empty
11379
11380         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11381         work manually instead.
11382
11383 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11384
11385         * BufferView_pimpl.C: protect selectionLost against text == 0
11386
11387 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11388
11389         * text.C (breakParagraph): fix a setting layout to '0' problem.
11390
11391 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11392
11393         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11394         final location of file, for the included files, and graphics.
11395
11396 2002-03-05  Juergen Vigna  <jug@sad.it>
11397
11398         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11399
11400 2002-03-04  Juergen Vigna  <jug@sad.it>
11401
11402         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11403
11404         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11405         last column of multicolumn cells.
11406         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11407
11408 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11409
11410         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11411         file if it doesn't go to a temporary file.
11412
11413         * buffer.C (sgmlOpenTag):
11414         (sgmlCloseTag):  remove extra newline insertion.
11415
11416 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11417
11418         * text.C (getRowNearY): comment out debug msg
11419
11420 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11421
11422         * text2.C: first -> first_y
11423
11424         * text.C (getRowNearY): add some attemts at a possible
11425         optimization, not working.
11426
11427         * tabular.[Ch]: add BufferParams to several function so that newly
11428         created paragraph can be initialized to he default layotu for the
11429         buffers textclass.
11430
11431         * tabular-old.C (ReadOld): add buf->params to call of Init
11432
11433         * screen.C: rename text->first to text->first_y
11434
11435         * paragraph.C (breakParagraph): always set layout in the broken
11436         paragraph
11437
11438         * lyxtextclass.C (Read): remove lowercase
11439         (hasLayout): ditto
11440         (operator): ditto
11441         (delete_layout): ditto
11442
11443         * lyxtext.h: rename first -> first_y
11444
11445         * lyxlayout.C (Read): remove lowercase
11446         (name): ditto
11447         (setName): ditto
11448         (obsoleted_by): ditto
11449
11450         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11451
11452         * buffer.C (insertErtContents): add params are to InsetERT
11453         (parseSingleLyXformat2Token): add code to check if a paragraphs
11454         layout really exist.
11455         (parseSingleLyXformat2Token): add params to several inset
11456         constructors
11457         (asciiParagraph): remove lowercase, do the layout comparisons with
11458         no_case
11459
11460         * BufferView_pimpl.C (cursorNext): first -> first_y
11461         (resizeCurrentBuffer): first -> first_y
11462         (updateScrollbar): first -> first_y
11463         (scrollCB): first -> first_y
11464         (workAreaMotionNotify): first -> first_y
11465         (workAreaButtonPress): first -> first_y
11466         (checkInsetHit): first -> first_y
11467         (cursorPrevious): first -> first_y
11468         (cursorNext): first -> first_y
11469         (Dispatch): add buffer_->params to severl inset contructors
11470
11471 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11472
11473         * lyxlayout.C (Read): remove some debug info that I forgot.
11474
11475         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11476         clean up the code slightly.
11477         (makeLinuxDocFile): ditto
11478         (makeDocBookFile): ditto
11479
11480         * text2.C: layout as string
11481
11482         * text.C: layout as string
11483
11484         * paragraph_pimpl.C: layout as string
11485
11486         * paragraph.[Ch]: layout as string
11487
11488         * lyxtextclasslist.[Ch]: layout as string
11489
11490         * lyxtextclass.[Ch]: layout as string
11491
11492         * lyxtext.h: layout as string
11493
11494         * lyxlayout.[Ch]: layout as string
11495
11496         * lyx_cb.C: layout as string
11497
11498         * bufferview_funcs.C: layout as string
11499
11500         * bufferparams.C: layout as string
11501
11502         * buffer.C: layout as string
11503
11504         * LyXView.[Ch]: layout as string
11505
11506         * LaTeXFeatures.[Ch]: layout as string
11507
11508         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11509
11510         * BufferView_pimpl.C: change current_layout to string, remove
11511         lyx::layout_type.
11512         (Dispatch):
11513         (smartQuote):
11514         (insertInset):
11515         (workAreaButtonRelease): layout as string
11516
11517         * BufferView2.C (unlockInset): adjust
11518
11519         * vspace.C (asLatexCommand): use an explict temp variable.
11520
11521 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11522
11523         * Makefile.am: use FRONTEND_*
11524
11525 2002-03-01  Juergen Vigna  <jug@sad.it>
11526
11527         * tabular.C (SetWidthOfMulticolCell): changed to something better
11528         I hope but still work in progress.
11529         (recalculateMulticolumnsOfColumn): renamed function from
11530         recalculateMulticolCells as it is more appropriate now.
11531         (SetWidthOfCell): calculate multicols better.
11532
11533 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11534
11535         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11536
11537         * lyxfunc.C (processKeySym): print sequence also if it is
11538         `deleted' (complete)
11539
11540         * kbsequence.C (print): print sequence even if it is deleted
11541         (complete would be a better word, actually).
11542
11543         * lyxfunc.C (dispatch): print complete options after a prefix key
11544
11545         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11546
11547 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11548
11549         * text2.C (setCharFont): eliminate setCharFont code duplication.
11550
11551 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11552
11553         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11554         LFUN_TABULAR_FEATURE (bug #177)
11555
11556 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11557
11558         * Makefile.am: remove figure.h
11559
11560 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11561
11562         * Bufferview_pimpl.C:
11563         * CutAndPasteC:
11564         * LaTeX.C:
11565         * LyXSendto.C:
11566         * buffer.C:
11567         * bufferlist.C:
11568         * converter.C:
11569         * language.C:
11570         * lyxfunc.C:
11571         * lyxvc.C:
11572         * paragraph.C:
11573         * text.C:
11574         * text2.C: remove #include "lyx_gui_misc.h".
11575
11576         * LaTeX.C: added #include <cstdio>
11577
11578 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11579
11580         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11581         that the paragraph following this one can have.
11582
11583         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11584
11585         * vspace.C (asLatexCommand): fix bogus gcc warning
11586
11587         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11588
11589 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11590
11591         * text2.C (setLayout): get rid of redundant code
11592
11593 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11594
11595         * text2.C (incDepth): make sure depth cannot be increased beyond
11596         reasonable values.
11597
11598 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11599
11600         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11601         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11602
11603         * PainterBase.h (image):
11604         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11605         a LyXImage const *.
11606
11607 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11608
11609         * BufferView.C:
11610         * BufferView.h:
11611         * BufferView_pimpl.C:
11612         * BufferView_pimpl.h:
11613         * LaTeXFeatures.C:
11614         * LyXAction.C:
11615         * LyXView.C:
11616         * Makefile.am:
11617         * UpdateList.h:
11618         * UpdateList.C:
11619         * buffer.C:
11620         * figure.h:
11621         * figureForm.C:
11622         * figureForm.h:
11623         * figure_form.C:
11624         * figure_form.h:
11625         * lyx_cb.C:
11626         * lyx_gui.C:
11627         * lyx_gui_misc.C:
11628         * lyxfunc.C:
11629         * sp_base.h:
11630         * sp_ispell.h:
11631         * sp_pspell.h:
11632         * sp_spell.C: remove fig inset, and the crap house of
11633           cards that follows it
11634
11635 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11636
11637         * Makefile.am:
11638         * lyxserver.C:
11639         * os2_defines.h:
11640         * os2_errortable.h:
11641         * nt_defines.h: move .h into support/
11642
11643         * vms_defines.h: remove
11644
11645         * WorkArea.C: add space in debug output
11646
11647         * text2.C:
11648         * paragraph.C:
11649         * buffer.C: add WITH_WARNINGS
11650
11651         * vc-backend.h:
11652         * vc-backend.C:
11653         * bufferlist.C: s/retrive/retrieve/, add docs
11654
11655         * vspace.h:
11656         * vspace.C:
11657         * kbmap.h:
11658         * lyxlength.h:
11659         * lyxgluelength.h:
11660         * length_common.h:
11661         * chset.h:
11662         * chset.C: add docs
11663
11664         * lyxgui.C: add ID to X error handler
11665
11666         * lyxtestclass.c: fix typo
11667
11668 2002-02-26  Juergen Vigna  <jug@sad.it>
11669
11670         * tabular_funcs.C (write_attribute): changed so that some default
11671         attributes are not written at all.
11672         (getTokenValue): set default values before trying to read the
11673         value so we have the return value always set as default if we don't
11674         find the token we search for.
11675
11676         * tabular.C (Write): write bools as bools not as strings!
11677
11678 2002-02-22  Juergen Vigna  <jug@sad.it>
11679
11680         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11681         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11682
11683         * text.C (leftMargin): don't add an indent for paragraphs inside
11684         tabular cells (fix #208).
11685
11686 2002-02-21  José Matos  <jamatos@fep.up.pt>
11687
11688         * tabular.C (docBook): fixed support for long tables.
11689
11690 2002-02-20  Juergen Vigna  <jug@sad.it>
11691
11692         * text2.C (getFont): get the drawing font of the Inset if this
11693         paragraph is inside an inset (only important for InsetERT for now).
11694
11695         * buffer.C (insertErtContents): use new lanugage params in ERT
11696         constructor.
11697
11698         * CutAndPaste.C: commenting out seemingly uneeded code.
11699
11700 2002-02-19  Allan Rae  <rae@lyx.org>
11701
11702         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11703         Iterators might be simple to use but they also get invalidated.
11704         (removeAutoInsets): renamed saved cursor tracking variables and added
11705         some comments to clarify what everything does.
11706
11707 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11708
11709         * Chktex.C:
11710         * LaTeX.C:
11711         * LyXSendto.C:
11712         * converter.C:
11713         * lyx_cb.C:
11714         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11715         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11716
11717         * lyxfunc.C:
11718         * vc-backend.h: remove #include "support/syscall.h"
11719
11720         * LaTeX.C:
11721         * LyXSendto.C:
11722         * converter.C: rearrange #includes in Lars' approved fashion.
11723
11724         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11725         forward declare class Timeout in the header file.
11726
11727         * XFormsView.C: changes due to the above.
11728
11729         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11730         similar to LyXView.
11731
11732         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11733         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11734
11735 2002-02-18  José Matos  <jamatos@fep.up.pt>
11736
11737         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11738         insets contents.
11739
11740 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11741
11742         * a lot of small ws changes
11743         * add a lot of using std::XXX
11744         * use std construcs some places where approp.
11745         * use some exisint stuff from lyxfunctional where approp.
11746         * Make file changes to use partial linking (lets test this now...)
11747
11748 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11749
11750         * Chktex.C:
11751         * buffer.C:
11752         remove #include "support/syscontr.h" as it's redundant. Always has been.
11753
11754         * Chktex.C:
11755         * LaTeX.C:
11756         * LyXSendto.C:
11757         * converter.C:
11758         * lyx_cb.C:
11759         * vc-backend.C:
11760         change Systemcalls::System to Systemcalls::Wait and
11761         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11762         No change of functionality, just reflects the stripped down Systemcalls
11763         class.
11764
11765 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11766
11767         * debug.[Ch]: add a GRAPHICS type to the enum.
11768
11769 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11770
11771         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11772
11773         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11774         there is an inset.
11775
11776 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11777
11778         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11779         match the changes below.
11780
11781         * text2.C (toggleInset): if there is not editable inset at cursor
11782         position, try to see if cursor is _inside_ a collapsable inset
11783         and close it.
11784
11785 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11786
11787         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11788         document menu has a nice checkbox
11789
11790 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11791
11792         * lyxlength.C (asLatexString): change PW to output as percent of
11793         \textwidth.
11794
11795         * lengthcommon.C: change '%' to 't%'
11796
11797         * lyxfunc.C (dispatch): a few comments from Martin
11798
11799 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * WorkArea.h:
11802         * WorkArea.C:
11803         * BufferView_pimpl.h:
11804         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11805           the X selection.
11806
11807 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11808
11809         * vspace.C (inPixels): fix compiler warning
11810
11811 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11812
11813         * lyxfunc.C (getStatus): fix status message for disabled commands.
11814
11815 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11816
11817         * BufferView_pimpl.C: fix crash on close buffer
11818         during selection (#227)
11819
11820 2002-01-27  Herbert Voss  <voss@lyx.org>
11821
11822         * buffer.C: link old Figure to new graphic inset
11823
11824 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11825
11826         * FontLoader.C (getFontinfo): Change the latex font names in order
11827         to match the names of type1inst.
11828
11829 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11830
11831         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11832
11833         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11834         (extchanged): ditto
11835         (ext_exist): ditto
11836         (remove_files_with_extension): ditto
11837         (remove_file): ditto
11838         (write): ditto
11839
11840         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11841         document is smaller than the work area height. Do not initialize
11842         static variables to 0.
11843
11844 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11845
11846         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11847
11848         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11849         LFUN_LAYOUT_PARAGRAPHS.
11850
11851         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11852         tabular. It is possible to provide a possible cell, which will
11853         typically be the actcell from the corresponding insettabular
11854
11855         * lyxfunc.C (getStatus): small cleanup; disable
11856         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11857         true
11858
11859 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11860
11861         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11862
11863         * paragraph.C (startTeXParParams):
11864         (endTeXParParams): new methods. The LaTeX code to
11865         start/end paragraph formatting
11866         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11867         empty (fixes bug #200)
11868
11869         * vspace.C (inPixels): adapt to the change below
11870         (inPixels): [later] more cleanups (remove unused variables)
11871
11872         * lyxlength.C (inPixels): change to use a width and a height as
11873         parameter.
11874
11875 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11876
11877         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11878         Replaced with \paperwidth
11879
11880         * DepTable.C (insert): add std:: qualifier
11881
11882 2002-01-18  Allan Rae  <rae@lyx.org>
11883
11884         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11885         updated also?
11886
11887         * text.C (drawInset): Turned out I didn't know enough about how
11888         rebreaking worked.  This fixes most of the redraw problems.  I see
11889         an occasional cursor trail when a line is broken now and the cursor
11890         placement can seem out by a few pixels also after a rebreak.
11891
11892 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11893
11894         * buffer.C (parseSingleLyXformat2Token): update because minipage
11895         width is now a LyXLength
11896
11897         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11898
11899         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11900         math insets
11901
11902 2002-01-17  Juergen Vigna  <jug@sad.it>
11903
11904         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11905
11906         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11907         is set correctly and the inset is updated correctly.
11908
11909 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11910
11911         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11912         the beginning of the loop.
11913
11914 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11915
11916         * lyxrc.C: improve help for use_scalable_fonts
11917
11918 2002-01-17  Allan Rae  <rae@lyx.org>
11919
11920         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11921
11922 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11923
11924         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11925         make sure to set their inset_owner to the right value (bug #171)
11926
11927 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11928
11929         * DepTable.h
11930         * DepTable.C: Implement mtime checking to reduce time spent doing
11931         CRCs.
11932
11933 2002-01-16  Juergen Vigna  <jug@sad.it>
11934
11935         * tabular.C (GetAdditionalHeight): one of error fixed.
11936
11937         * lyxrc.C (output): small fix in writing use_pspell.
11938
11939 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11940
11941         * sp_base.h: #include LString.h
11942
11943 2002-01-16  Allan Rae  <rae@lyx.org>
11944
11945         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11946         Can someone check this please?
11947
11948         * text.C (drawInset): It was possible that p.row would be removed by
11949         breakAgainOneRow upsetting a few other settings.  There may be another
11950         small tweak possible by setting need_break_row = 0 when p.row has been
11951         removed but I don't know enough about the logic here.
11952
11953 2002-01-15  Allan Rae  <rae@lyx.org>
11954
11955         * text.C (insertChar): removed conditional truism.
11956
11957         * BufferView2.C (removeAutoInsets): More tweaks.
11958         cur_par_prev could be a stray pointer.  Check for trailing empty line
11959         in case last line was cur_par and only had an error inset on it.
11960
11961 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11962
11963         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11964         absolute
11965
11966         * vc-backend.C (most methods):
11967         * exporter.C (Export):
11968         * converter.C (convert):
11969         (runLaTeX):
11970         * LyXSendto.C (SendtoApplyCB):
11971         * lyxfunc.C (dispatch):
11972         (menuNew):
11973         (open):
11974         (doImport):
11975         * lyx_cb.C (AutoSave):
11976         (InsertAsciiFile):
11977         * BufferView_pimpl.C (MenuInsertLyXFile):
11978         * buffer.C (runChktex): use Buffer::filePath().
11979
11980         * buffer.h: rename filename to filename_; rename filepath to
11981         filepath_ and make it private
11982         (filePath): new method
11983
11984         * buffer.C (writeFile): use fileName()
11985         (getLatexName):
11986
11987         * lyx_main.C (init): fix starting  of LyX when the binary is a
11988         link from so,ewhere else.
11989
11990         * minibuffer.C: include <cctype> for isprint
11991
11992 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11993
11994         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11995         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11996         name clash with InsetCollapsable's width function.
11997
11998 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11999
12000         * lastfiles.C: include <iterator>
12001
12002 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12003
12004         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12005         std::count.
12006
12007         * buffer.C (makeLaTeXFile): ditto.
12008         Also make loop operation more transparent.
12009
12010 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12011
12012         * ToolbarDefaults.C: remove trailing comma closing namespace.
12013
12014         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12015
12016         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12017         as in WorkArea.
12018
12019         * trans.C (Load): comment out unused variable, allowed.
12020
12021 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12022
12023         * minibuffer.[Ch] (append_char): new method to recieve input from the
12024         drop-down completion browser. If a key was pressed, then recieve this
12025         char and append it to the existing string.
12026         (peek_event): modify the positioning data passed to the completion
12027         browser so that it can be placed above the minibuffer rather than below.
12028 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * LyXAction.C (init): alloe error-next for readonly documents.
12031
12032         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12033         count.
12034
12035 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12036
12037         * bufferlist.C (readFile): create the buffer _after_ checking that
12038         the file exists.
12039
12040         * lyxfunc.C (verboseDispatch): fix handling of arguments
12041
12042         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12043
12044         * lyxrc.C: use string::erase() instead of initializing to "".
12045
12046
12047 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * BufferView_pimpl.h:
12050         * BufferView_pimpl.C:
12051         * WorkArea.h:
12052         * WorkArea.C:
12053         * text2.C: tell X when we have made a selection for copying
12054
12055 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12056
12057         * BufferView_pimpl.C (MenuInsertLyXFile):
12058         * lyxfunc.C (menuNew):
12059         (open):
12060         (doImport): add shortcuts to directory buttons
12061
12062         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12063         open a float)
12064
12065         * lyxfunc.C (setStatusMessage):
12066         (getStatusMessage): new methods
12067         (getStatus):use setStatusMessage instead of setErrorMessage
12068         (dispatch): when function is disabled, set error message here
12069         [instead of in getStatus previously]
12070
12071         * BufferView_pimpl.C (workAreaButtonRelease): update
12072         toolbar/menubar here too.
12073
12074 2002-01-13  Allan Rae  <rae@lyx.org>
12075
12076         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12077         Now seems indestructible.  Remaining task is to audit all other
12078         code affected by deleteEmptyParagraphMechanism.  One small quirk
12079         left is that an empty document with an error in the preamble can
12080         be made to report an error but no error box appears.  I don't know
12081         where it goes.
12082         (removeAutoInsets): Improved comments.
12083
12084 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * Thesaurus.h:
12087         * Thesaurus.C: update for Aiksaurus 0.14
12088
12089 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * text2.C (firstParagraph): removed member function, all uses
12092         replaces with ownerParagraph
12093         (redoParagraphs): here
12094         (updateInset): here
12095         (toggleAppendix): here
12096         * BufferView2.C (insertErrors): here
12097         (setCursorFromRow): here
12098
12099 2002-01-13  Allan Rae  <rae@lyx.org>
12100
12101         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12102         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12103         There is still a way to segfault this although you may have to do this
12104         multiple times: Have an InsetERT with an unknown command in it.
12105         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12106         <down-arrow>, <Enter> again, View->DVI, BANG!
12107
12108         * text2.C (setCursor):
12109         (deleteEmptyParagraphMechanism):
12110         * lyxtext.h (setCursor):
12111         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12112         Making use of the return value may help fix other bugs.
12113
12114 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12117
12118         * LyXView.C (updateMenubar): call MenuBar::update here
12119         (updateToolbar): but not here
12120         (showState): do not update toolbar/menubar
12121
12122         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12123         should need to care about that.
12124
12125         * lyxfunc.C (verboseDispatch): simplify a bit
12126         (getStatus): have a version which takes a pseudoaction, and
12127         another which requires a (kb_action,string).
12128
12129         * LyXAction.C (retrieveActionArg): make it work also when action
12130         is not a pseudo-action.
12131         (getActionName): simplify a bit
12132         (helpText):
12133
12134 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12135
12136         * lyxfunc.C (verboseDispatch): new families of methods with
12137         several ways to specify a command and a bool to indicate whether
12138         the command name and shortcut should be displayed in minibuffer
12139         (eventually, we could extend that to a finer bitmask like
12140         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12141         (dispatch): the pristine dispatch command which just, well,
12142         dispatchs! Note it still sets its result to minibuffer; I'm not
12143         sure we want that.
12144
12145         * lyxfunc.h: remove setHintMessage
12146
12147         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12148
12149 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12150
12151         * BufferView_pimpl.C (specialChar): delete new inset if we have
12152         not been able to insert it.
12153
12154         * kbmap.C: revert to using int instead of kb_action, since all we
12155         are dealing with is pseudo-actions.
12156
12157         * LyXAction.C (searchActionArg): change to return int instead of
12158         kb_action, since the result is a pseudoaction.
12159
12160 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12161
12162         * buffer.C (insertErtContents): Fix (partially) the font bug.
12163
12164 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12165
12166         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12167         as the other one is broken on my machine!
12168
12169 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12170
12171         * commandtags.h:
12172         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12173
12174 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12175
12176         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12177         reflect their actual use. Provide compatibility code for older lyxrc
12178         files.
12179
12180         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12181         FL_NORMAL_STYLE.
12182         change names of popup font variables in line with the changes to lyxrc.C
12183
12184 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * buffer.C (asciiParagraph): avoid outputing a word twice after
12187         an inset.
12188
12189         * lyxrc.C (getDescription): document that document_path and
12190         template_path can be empty.
12191
12192 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12193
12194         * LaTeXFeatures.C (getMacros):
12195         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12196
12197         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12198
12199         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12200         getPackages.
12201         (getPackages): rename feature "floats" to "float". Use an array to
12202         iterate over 'simple' features (i.e. just a \usepackage). Add
12203         handling of "amsmath" (renamed from "amsstyle").
12204
12205 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12206
12207         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12208         features list.
12209
12210 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12211
12212         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12213         FuncStaus::FuncStatus & FuncStaus::some_method().
12214
12215 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12216
12217         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12218         of the func_satus stuff. Edited and massaged in various ways by
12219         JMarc.
12220
12221         * lyxfunc.C (getStatus): use FuncStatus
12222
12223 2002-01-08  Juergen Vigna  <jug@sad.it>
12224
12225         * text.C (nextBreakPoint): use function Inset::isChar().
12226
12227         * paragraph.C (TeXOnePar): use function
12228         Inset::forceDefaultParagraphs.
12229
12230         * buffer.C (latexParagraphs): use function
12231         Inset::forceDefaultParagraphs.
12232
12233 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12234
12235         * lyx_gui.C (init): set the style of the menu popups to
12236         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12237
12238 2002-01-07  Juergen Vigna  <jug@sad.it>
12239
12240         * text.C (setHeightOfRow): small fix
12241         (prepareToPrint): don't look at alignment if we don't have the place
12242         for doing it.
12243
12244 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12245
12246         * box.C: New file. Move the Box methods and functions out of box.h,
12247         following Lars' suggestion.
12248
12249 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12250
12251         * box.h: #include "support/LOstream.h", needed for inlined function.
12252
12253         * lyxtextclass.C:
12254         * lyxtextclasslist.C: added some using std declarations.
12255
12256 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * box.h: make signed dimensions to allow insets wider than
12259           the screen (bug #162)
12260
12261         * BufferView_pimpl.C: add some insetHit debug
12262
12263 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12264
12265         * vc-backend.C: add FIXME
12266
12267 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12268
12269         * lyxfunc.C (getStatus): enable code for showing math font status
12270         in toolbar/menu.
12271
12272 2002-01-07  Juergen Vigna  <jug@sad.it>
12273
12274         * text.C (nextBreakPoint): removed debug output not needed anymore.
12275
12276 2002-01-06  Juergen Vigna  <jug@sad.it>
12277
12278         * text.C (nextBreakPoint): fixed up this function we had this bug
12279         since ever but now hopefully we break row better.
12280         (insertChar): we have to check if an inset is the next char as it
12281         could now happen that a large inset is causing a break.
12282
12283 2002-01-05  Juergen Vigna  <jug@sad.it>
12284
12285         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12286         if it doesn't like to be drawed.
12287
12288 2002-01-04  Juergen Vigna  <jug@sad.it>
12289
12290         * BufferView2.C (lockInset): forgot to set a cursor.
12291
12292         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12293
12294 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12295
12296         * FormMathsPanel.C:
12297         * FormMathsPanel.h
12298         * MathsSymbols.C:
12299         * form_maths_panel.C:
12300         * form_maths_panel.h:
12301         * form_maths_panel.fd: implemented sub- and super- buttons in math
12302         panel.
12303
12304         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12305         (or ^ space) to be used as in TeX (req'd by André).
12306
12307         * lyxfunc.C: Allow ^ and _ again to be used both as
12308         super/subscript (mathed) and as themselves (in text).
12309
12310 2002-01-03  Allan Rae  <rae@lyx.org>
12311
12312         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12313         "LyX" or the filename of the current buffer if it has one.  This is a
12314         modified form of John Levon's patch.
12315
12316         * XFormsView.C (setWindowTitle): also set icon title.
12317
12318         * LyXView.h (setWindowTitle): signature changed.
12319         * XFormsView.h (setWindowTitle): ditto.
12320
12321 2002-01-02  Juergen Vigna  <jug@sad.it>
12322
12323         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12324
12325 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12326
12327         * screen.C (topCursorVisible): introduce a temp var for
12328         text->cursor.row(), handle the case where this row is null. (kindo
12329         hachish)
12330
12331         * text2.C (setCursor): add a couple of asserts.
12332
12333         * paragraph.h (inset_iterator): add -> operator
12334
12335         * paragraph.[Ch] (autoDeleteInsets): remove member function
12336
12337         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12338         cursor pos correctly and handle inset deletion by itself.
12339         (insertErrors): move iterator declaration out of for expression
12340
12341         * lyxtextclass.C: add <algorithm>
12342
12343         * Makefile.am: added the new files to sources, removed layout.C
12344
12345         * layout.C: removed file
12346
12347         * layout.h: remove LYX_DUMMY_LAYOUT
12348
12349         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12350         layout.
12351
12352         * lyxlayout.[Ch]:
12353         * lyxtextclass.[Ch]:
12354         * lyxtextclasslist.[Ch]: new files
12355
12356         * include order changes to a lot of files, also changes because of
12357         the six new files.
12358
12359 2001-12-27  Juergen Vigna  <jug@sad.it>
12360
12361         * buffer.C (asciiParagraph): more fixes.
12362
12363         * tabular.C (ascii): make ascii export support export of only the
12364         data separated by a column-delimiter.
12365         (ascii): better support for ascii export.
12366
12367         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12368
12369 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12370
12371         * tabular_funcs.C: use a "using std::getline" instead of the
12372         previous fix from Angus (necessary for cxx + lyxstring)
12373
12374 2001-12-24  Juergen Vigna  <jug@sad.it>
12375
12376         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12377
12378         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12379         problems. First check a minipage also if we have some ert-contents
12380         (not only on par->size(), second set the right depth of the paragraph
12381         on the relink to the root-paragraph-list!
12382
12383         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12384         which then did not anymore update the main paragraphs on undo/redo!
12385
12386 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12387
12388         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12389         code. Support all font-changing funcs (even those which are not in
12390         menu currently). Support for reporting font settings in
12391         mathed (disabled until Andre provides a function on mathed's side).
12392
12393         * func_status.h (toggle): small helper function to set toggle
12394         state on a flag.
12395
12396 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12397
12398         * tabular_funcs.C: getline -> std::getline
12399
12400 2001-12-21  Juergen Vigna  <jug@sad.it>
12401
12402         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12403         accessed and could be 0 (I couldn't generate this but it seems
12404         Michael could!).
12405
12406 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12407
12408         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12409         * tabular_funcs.h: here and include iosfwd
12410
12411 2001-12-20  Juergen Vigna  <jug@sad.it>
12412
12413         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12414         inside inset but undo_par was.
12415
12416 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12417
12418         * Thesaurus.C: always include <config.h> in sources.
12419
12420         * Painter.h:
12421         * lyxlookup.h:
12422         * box.h: do not include <config.h> in header files
12423
12424         * text.C (paintLastRow): remove unused variable
12425
12426         * text.C (transformChar):
12427         (insertChar):
12428         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12429
12430         * Painter.C (text):
12431         * font.C (width): rewrite to use uppercase() instead of
12432         islower/toupper.
12433
12434         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12435
12436 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12437
12438         * lyxfind.C: clean up of find failure position change
12439
12440 2001-12-20  Juergen Vigna  <jug@sad.it>
12441
12442         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12443
12444         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12445         (TeXRow): added to LaTeX a single tabular row.
12446         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12447         (Latex): simplified and finally good LT-h/f support.
12448         (various_functions): just small adaptions for LT-h/f support.
12449
12450         * tabular_funcs.[hC]: added and moved here all not classfunctions
12451         of LyXTabular.
12452
12453 2001-12-19  Juergen Vigna  <jug@sad.it>
12454
12455         * tabular.[Ch]: better support for longtabular options (not finished
12456         yet!)
12457
12458 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12459
12460         * text.C (paintLastRow): use the label font instead of the font of
12461         the last character to compute the size of *_BOX. This makes more
12462         sense and avoids a crash with empty paragraphs.
12463         Use Painter::rectangle to draw EMPTY_BOX.
12464
12465 2001-12-19  Juergen Vigna  <jug@sad.it>
12466
12467         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12468         the paragraphs if the replaced paragraph is not the first one!
12469         Tried to delete not used paragraphs but does not work yet so for
12470         now it's inside #ifdef's and by default off!
12471
12472 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12473
12474         * MenuBackend.C: include "lyx_main.h" instead of declaring
12475         lastfiles (actually was declared as LastFiles* instead of a
12476         scoped_ptr).
12477
12478 2001-12-17  Juergen Vigna  <jug@sad.it>
12479
12480         * tabular.C (AppendColumn): applied John's fix
12481
12482 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12483
12484         * BufferView.h:
12485         * BufferView.C:
12486         * BufferView_pimpl.h:
12487         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12488
12489         * Makefile.am:
12490         * box.h: new start of class for above
12491
12492         * lyxfunc.C: ignore space-only minibuffer dispatches.
12493           Show the command name when it doesn't exist
12494
12495         * minibuffer.C: don't add empty lines to the history
12496
12497         * minibuffer.C: add a space on dropdown completion
12498
12499 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * text.C: fix line above/below drawing in insets
12502
12503 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12504
12505         * lyxlength.C (LyXLength): Initialize private variables.
12506
12507 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12508
12509         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12510         when inserting error insets.
12511
12512 2001-12-13  Juergen Vigna  <jug@sad.it>
12513
12514         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12515         actually sometimes the before-paragraph.
12516         (setUndo): don't clear the redostack if we're not actually undoing!
12517
12518 2001-12-06  Juergen Vigna  <jug@sad.it>
12519
12520         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12521         and fixed redoing of main paragraph, so we can use it now ;)
12522
12523         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12524
12525 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12526
12527         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12528         Juergen's request
12529
12530 2001-12-13  André Pönitz <poenitz@gmx.net>
12531
12532         * undostack.[Ch]:
12533         * undo_func.C: minor cleanup
12534
12535 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12536
12537         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12538         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12539         font in urw-fonts package which is marked as -urw-fontspecific and
12540         does not work (incidentally, changing the encoding in the
12541         fonts.dir of this package to -adobe-fontspecific fixes the
12542         problem).
12543
12544         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12545         is a crash when undoing first paragraph (Juergen, please take a
12546         look). THis does not mean the undo fix is wrong, just that it
12547         uncovers problems.
12548
12549         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12550         the (Paragraph*) version when needed instead of duplicating the
12551         code.
12552
12553         * text.C (workWidth): use Inset::parOwner to find out where the
12554         inset has been inserted. This is a huge performance gain for large
12555         documents with lots of insets. If Inset::parOwner is not set, fall
12556         back on the brute force method
12557
12558         * paragraph_pimpl.C (insertInset):
12559         * paragraph.C (Paragraph):
12560         (cutIntoMinibuffer): set parOwner of insets when
12561         inserting/removing them
12562
12563         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12564
12565 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12566
12567         * commandtags.h:
12568         * LyXAction.C:
12569         * lyx_main.C:
12570         * lyxfunc.C:
12571         * mathed/formulabase.C:
12572         * mathed/math_cursor.[Ch]:
12573         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12574
12575
12576 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12577
12578         * lyxlength.[Ch] (operator!=): new function
12579
12580 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12581
12582         * text.C (workWidth): use Inset::parOwner to find out where the
12583         inset has been inserted. This is a huge performance gain for large
12584         documents with lots of insets. If Inset::parOwner is not set, fall
12585         back on the brute force method
12586
12587         * paragraph_pimpl.C (insertInset):
12588         * paragraph.C (Paragraph):
12589         (cutIntoMinibuffer): set parOwner of insets when
12590         inserting/removing them
12591
12592         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12593
12594 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12595
12596         * tabular-old.C (getTokenValue):
12597         * tabular.C (getTokenValue):
12598         (write_attribute): new versions for LyXLength
12599         (everywhere): adjust the use of widths
12600
12601         * tabular.h: change the type of widths from string to LyXLength
12602
12603 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12604
12605         * paragraph.C: fixed missing line number count when exporting
12606         Environments to LaTeX file
12607
12608         * buffer.C: added informational message for checking line numbers.
12609
12610 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12611
12612         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12613         paragraph, do the 'double space' part, but not the 'empty
12614         paragraph' one.
12615
12616         * text.C (workWidth): small optimization
12617         (getLengthMarkerHeight): use minimal size for negative lengths.
12618
12619 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12620
12621         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12622
12623         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12624
12625 2001-12-11  André Pönitz <poenitz@gmx.net>
12626
12627         * FontLoader.C:
12628         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12629
12630 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12631
12632         * text2.C: keep selection on a setFont()
12633
12634 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12635
12636         * lyx_cb.C: another bv->text misuse, from insert label
12637
12638 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * kbsequence.h:
12641         * kbsequence.C: re-instate nmodifier mask
12642
12643 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12644
12645         * lyx_main.h: make lyxGUI private.
12646
12647 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12648
12649         * lyxfind.C: place the cursor correctly on failed search
12650
12651 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12652
12653         * text.C (getLengthMarkerHeight): for small heights, the arrows
12654         are not always on top/bottom of the text
12655         (drawLengthMarker): smaller arrows; take the left margin in
12656         account; draw also vfills.
12657         (paintFirstRow):
12658         (paintLastRow): remove special code for vfill and standard spaces,
12659         since everything is handled in drawLengthMarker now.
12660
12661 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12662
12663         * buffer.C (insertErtContents): try to handle font and language
12664         interaction a bit better.g
12665
12666         * ColorHandler.C (updateColor): change the hash to cover the whole
12667         LColor enum, ws cleanup
12668         (getGCLinepars): ditto
12669         (getGCLinepars): only lookup in the linecache once.
12670
12671 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12672
12673         * iterators.C (operator++): Make the iterator more robust
12674
12675         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12676         (John's patch)
12677         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12678
12679 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12680
12681         * lyxtext.h:
12682         * text.C: better added space drawing
12683
12684 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12685
12686         * LyXView.C:
12687         * BufferView2.C: fix layout combo update on inset unlock
12688
12689 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * Makefile.am: don't compile unused files
12692
12693 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12694
12695         * lyxfunc.C:
12696         * commandtags.h:
12697         * LyXAction.C: remove old LFUN_LAYOUTNO
12698
12699 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12700
12701         * paragraph_pimpl.h:
12702         * paragraph_pimpl.C: isTextAt() doesn't need font param
12703
12704 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12705
12706         * lyxlex.h:
12707         * lyxlex.C: little cleanup
12708
12709 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12710
12711         * BufferView_pimpl.C: fix insertAscii for insets
12712
12713 2001-12-05  Juergen Vigna  <jug@sad.it>
12714
12715         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12716         set the right font on the "multi" paragraph paste!
12717
12718 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * trans_decl.h:
12721         * trans_mgr.[Ch]:
12722         * trans.[Ch]:
12723         * lyxgluelength.C:
12724         * lyxlength.C: remove out-commented code.
12725
12726         * BufferView_pimpl:
12727         * CutAndPaste.C:
12728         * DepTable.C:
12729         * buffer.C:
12730         * chset.C:
12731         * lastfiles.C:
12732         * lyxlex.C:
12733         * lyxlex_pimpl.C:
12734         * lyxserver.C:
12735         * screen.C:
12736         * tabular-old.C:
12737         * tabular.C:
12738         * text.C:
12739         * trans_mgr.C:
12740         * vc-backend.C: change "while(" to "while ("
12741
12742         * lyxlength.[Ch]: add zero function to check if length is zero or
12743         not
12744         * lyxgluelength.C: use it
12745
12746 2001-12-05  Allan Rae  <rae@lyx.org>
12747
12748         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12749         Works for 2.95.3, from what I understand of Garst's reports this should
12750         work for other g++ versions.  We're screwed if the abs(int) definition
12751         changed between bugfix releases of gcc.
12752
12753 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * text.C: fix chapter label offset !
12756
12757 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12758
12759         * lyxtext.h:
12760         * text.C: fix hfill at end of line, clean up
12761
12762 2001-12-04  Juergen Vigna  <jug@sad.it>
12763
12764         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12765         that we force an update of the inset and it's owners if neccessary.
12766
12767 2001-12-03  Juergen Vigna  <jug@sad.it>
12768
12769         * text.C (rowLast): simplified code
12770
12771 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * lyxfunc.C: fix show options on timeout
12774
12775 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * screen.C (topCursorVisible): scroll half a page when the cursor
12778         reached top of bottom of screen
12779
12780 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * minibuffer.C: deactivate on loss of focus
12783
12784 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * vspace.[Ch] (operator!=): add operator.
12787
12788 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12789
12790         * BufferView_pimpl.C: refuse to open an inset when
12791         there's a selection.
12792
12793 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12794
12795         * BufferView_pimpl.C: allow to click on RHS of full row insets
12796
12797 2001-11-30  Juergen Vigna  <jug@sad.it>
12798
12799         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12800         insets for undo reasons.
12801
12802 2001-11-28  André Pönitz <poenitz@gmx.net>
12803
12804         * vspace.[Ch]: cosmetical changes
12805
12806 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12807
12808         * LyXAction.h:
12809         * LyXAction.C:
12810         * lyxfunc.h:
12811         * lyxfunc.C:
12812         * kbmap.h:
12813         * kbmap.C:
12814         * lyxrc.C:
12815         * kbsequence.h:
12816         * kbsequence.C: part re-write of old kb code
12817
12818         * Painter.C:
12819         * WorkArea.C: remove Lgb_bug_find_hack
12820
12821 2001-11-30  José Matos <jamatos@fep.up.pt>
12822
12823         * buffer.C (makeDocBookFile): add a comment to point a hack.
12824         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12825         Fixed a double write of labels.
12826
12827 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12828
12829         * LaTeX.C:
12830         * LaTeX.h Fixed bug in LaTeX class where it would not
12831         re-run latex if no depfiles were changed, but the .dvi was removed.
12832
12833 2001-11-28  André Pönitz <poenitz@gmx.net>
12834
12835         * all the files from the change on 2001/11/26:
12836         use lyx::layout_type instead of LyXTextClass::size_type
12837         use lyx::textclass_type instead of LyXTextClassList::size_type
12838
12839 2001-11-29  Juergen Vigna  <jug@sad.it>
12840
12841         * text.C: added support for paragraph::isFreeSpacing()
12842
12843         * buffer.C: same as above
12844
12845         * paragraph.h: inserted isFreeSpacing() function to enable
12846         FreeSpacing inside InsetERT.
12847
12848         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12849         of the paragraph's in the cut/copy buffer to 0!
12850
12851         * text2.C (removeRow): remove the assert as it can!
12852
12853         * lyxtext.h: added helper function firstRow returning firstrow and
12854         made firstrow private again.
12855
12856         * BufferView2.C (lockInset): don't relock if we're already locked!
12857
12858         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12859         the only paragraph.
12860         (removeRow): added Assert::(firstrow)
12861
12862         * debug.C: forgot to add INSETTEXT here.
12863
12864 2001-11-28  Juergen Vigna  <jug@sad.it>
12865
12866         * sp_spell.C (initialize): changed error text to more general
12867         spellchecker command use (not only ispell!)
12868
12869         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12870
12871         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12872
12873 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12874
12875         * vspace.C: initialise lyxgluelength on failure
12876
12877 2001-11-28  Allan Rae  <rae@lyx.org>
12878
12879         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12880         declaration & definition that looks like a function declaration.
12881
12882 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12883
12884         * BufferView2.C (copy):
12885         (copyEnvironment): do not clear the selection when doing a copy.
12886
12887         * text.C (paintFirstRow): compilation fix
12888
12889 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12890
12891         * tabular.C (Latex): correct line count when writing latex.
12892
12893 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12894
12895         * paragraph_pimpl.h:
12896         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12897           bug a bit
12898
12899 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12900
12901         * text.C:
12902         * LColor.h:
12903         * LColor.C: change vfillline->added_space
12904
12905         * text.C: add markers and text for added space
12906
12907         * vspace.C: fix comment
12908
12909 2001-11-28  André Pönitz <poenitz@gmx.net>
12910
12911         * paragraph.C: whitespace changes
12912         * all the other files from the change on 2001/11/26:
12913         change *::pos_type into lyx::pos_type
12914
12915 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12916
12917         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12918         language of the document when inserting error insets.
12919
12920 2001-11-26  André Pönitz <poenitz@gmx.net>
12921
12922         * BufferView_pimpl.[Ch]:
12923         *       CutAndPaste.C:
12924         * buffer.[Ch]:
12925         * lyxcursor.[Ch]:
12926         * lyxfind.C:
12927         * lyxfunc.C:
12928         * lyxrow.[Ch]:
12929         * paragraph.[Ch]:
12930         * paragraph_pimpl.[Ch]:
12931         * sp_spell.C:
12932         * text.C:
12933         * text2.C: reduce header dependencies, introduce type for positions
12934
12935 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12936
12937         * <various>: change to use Alert.h
12938
12939 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12940
12941         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12942         when encountering an unknown token.
12943         (readLyXformat2): Show an error message if there were unknown tokens.
12944
12945 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12946
12947         * BufferView2.C:
12948         * BufferView_pimpl.C:
12949         * buffer.C:
12950         * paragraph.h:
12951         * text.C:
12952         * text2.C: use par->isInset()
12953
12954 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12955
12956         * paragraph_pimpl.h:
12957         * paragraph_pimpl.C: cleanup
12958
12959 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12960
12961         * text2.C (removeRow):
12962         * text.C (setHeightOfRow): remove useless (and costly) call to
12963         getRow.
12964
12965 2001-11-20  Allan Rae  <rae@lyx.org>
12966
12967         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12968         Now need Inset*::checkInsertChar() to return true for appropriate
12969         cases so that the characters in the minibuffer will actually be
12970         inserted.
12971
12972 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12973
12974         * text.C: change the order of the includes.
12975         (workWidth): initialize it at once.
12976         (workWidth): make maxw unsigned
12977         (setHeightOfRow): remove unused variable (inset)
12978         (selectSelectedWord): remove unused variable (inset)
12979         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12980
12981 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12982
12983         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12984         server is not running.
12985         (openConnection):
12986         (closeConnection): add debug info when server is disabled.
12987
12988         * ColorHandler.C (getGCForeground): send debug message to GUI
12989         channel.
12990
12991         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12992
12993         * kbmap.C (bind): modify because return conventions of
12994         kb_sequence::parse have changed.
12995
12996         * kbsequence.C (parse): only ignore spaces and not any stupid
12997         control character. This avoids tests like s[i] <= ' ', which are
12998         guaranteed to fail with 8bit characters and signed chars.
12999         Change return code to string::npos when there have been no error
13000         (0 was a bad idea when error is at first character)
13001
13002 2001-11-14  José Matos  <jamatos@fep.up.pt>
13003
13004         * buffer.h:
13005         * buffer.C (simpleDocBookOnePar): removed unused argument.
13006
13007 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13008
13009         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13010         insets which are part of a word. Paragraph::isLetter takes care of
13011         that now. Use Paragraph::isInset to identify insets.
13012         (selectSelectedWord): do not test for hyphenation break.
13013
13014         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13015         that protected spaces are considered as spaces.
13016
13017         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13018         Inset::isLetter.
13019
13020 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * lyxserver.h:
13023         * lyxserver.C: fix it. and small cleanup.
13024
13025 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13026
13027         * BufferView_pimpl.C: use inline helpers
13028
13029         * LaTeXFeatures.h:
13030         * LaTeXFeatures.C: fix typos
13031
13032         * Spacing.h:
13033         * Spacing.C: move spacing_string into class
13034
13035         * ToolbarDefaults.C: move stuff into namespace anon
13036
13037         * layout.h: update enum
13038
13039         * lyxfunc.C: use better debug
13040
13041         * minibuffer.h: fix typo
13042
13043         * debug.h:
13044         * debug.C:
13045         * WorkArea.C: add and use Debug::WORKAREA
13046
13047         * lyxtext.h:
13048         * text.C:
13049         * text2.C: code re-organisation, inline helpers
13050
13051 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13052
13053         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13054         std::vector.empty().
13055
13056 2001-11-09  Allan Rae  <rae@lyx.org>
13057
13058         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13059         '\n's after tables.  Tabular and ERT inset work now makes this no
13060         longer necessary.
13061
13062 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13063
13064         * minibuffer.h:
13065         * minibuffer.C: fix crash, improve drop-down completion
13066
13067 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13068
13069         * lyxserver.h:
13070         * lyxserver.C: invalidate fd's when doing endPipe()
13071
13072 2001-11-08  José Matos  <jamatos@fep.up.pt>
13073
13074         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13075         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13076
13077         * paragraph.h:
13078         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13079
13080 2001-11-07  José Matos  <jamatos@fep.up.pt>
13081
13082         * buffer.h:
13083         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13084         const qualifier.
13085
13086         * buffer.C (sgmlOpenTag):
13087         * buffer.C (sgmlCloseTag): removed debug info.
13088
13089         * buffer.h (sgmlOpenTag):
13090         * buffer.h (sgmlCloseTag): made public.
13091
13092 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13093
13094         * buffer.C (saveParamsAsDefaults):
13095         * lyx_cb.C (MenuLayoutSave): remove
13096
13097         * LyXAction.C (init):
13098         * commandtags.h:
13099         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13100
13101 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13102
13103         * buffer.C (setPaperStuff): removed from here...
13104
13105         * bufferparams.C (setPaperStuff): ... and moved there.
13106
13107 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13108
13109         * minibuffer.h:
13110         * minibuffer.C:
13111         * XFormsView.C: add support for drop-down completion
13112
13113 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13114
13115         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13116         commands.
13117
13118 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13119
13120         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13121         disabled.
13122
13123 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13124
13125         * lyx_main.C: change ref to known bugs
13126
13127 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13128
13129         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13130         to work around older babel problems.
13131
13132 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13133
13134         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13135
13136 2001-10-24  Juergen Vigna  <jug@sad.it>
13137
13138         * tabular-old.C (ReadOld): below variable changes reflected.
13139
13140         * tabular.[Ch]: added ltType struct for longtable header/footer
13141         defines and changed all instances where they are used. Added
13142         future support for double top/bottom rows.
13143
13144 2001-10-24  José Matos  <jamatos@fep.up.pt>
13145
13146         * buffer.h (docbookHandleCaption):
13147         * buffer.C (docbookHandleCaption): removed unused function.
13148         (makeDocBookFile): moved docbook supported version to v4.1.
13149
13150 2001-10-24  José Matos  <jamatos@fep.up.pt>
13151
13152         * tabular.h:
13153         * tabular.C (docbookRow): new function to export docbook code of a row.
13154         (DocBook): now honors the longtable flags.
13155
13156 2001-10-23  José Matos  <jamatos@fep.up.pt>
13157
13158         * LaTeXFeatures.h:
13159         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13160         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13161
13162         * buffer.C (makeLinuxDocFile):
13163         (makeDocBookFile): reworked the preamble, more clean, and with
13164         support for lyx defined entities. Changed the document declaration
13165         to be more XML friendly.
13166
13167         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13168         if we need to output XML that should be done with a filter.
13169
13170 2001-10-22  Juergen Vigna  <jug@sad.it>
13171
13172         * sp_pspell.h (class PSpell): add alive function needed in the
13173         controller to see if the spellchecker could be started.
13174
13175 2001-10-22  Juergen Vigna  <jug@sad.it>
13176
13177         * buffer.C (insertStringAsLines): modify the font for inserting
13178         chars in certain conditions by calling checkInsertChar(font).
13179
13180 2001-10-19  Juergen Vigna  <jug@sad.it>
13181
13182         * text.C (workWidth): use getRow instead of wrong algorithm.
13183         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13184
13185 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13186
13187         * lyxserver.h:
13188         * lyxserver.C:
13189         * lyx_main.h:
13190         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13191
13192 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13193
13194         * text.C (workWidth): do not search for the exact row when
13195         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13196         optimization for big documents.
13197
13198 2001-10-18  Juergen Vigna  <jug@sad.it>
13199
13200         * text.C (workWidth): new function with added Inset * parameter.
13201
13202 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13203
13204         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13205
13206         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13207         change return type of getColumnNearX.
13208
13209
13210         * text.C (changeRegionCase): use uppercase/lowercase instead of
13211         toupper/tolower.
13212         (leftMargin):
13213         (rightMargin): simplify code by factoring out the uses of
13214         textclasslist.
13215         (labelFill):
13216         (numberOfHfills):
13217         (setHeightOfRow):
13218         (appendParagraph): use Paragraph::size_type
13219
13220 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13221
13222         * vspace.C (asLatexString): add a missing break
13223
13224 2001-10-15  Herbert Voss  <voss@perce.de>
13225
13226         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13227
13228 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13229
13230         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13231         is not available.
13232
13233 2001-10-10  André Pönitz <poenitz@gmx.net>
13234
13235         * lyxfunc.C: removed greek_kb_flag.
13236
13237 2001-10-10  Herbert Voss  <voss@perce.de>
13238
13239         * lyx_main.C: delete global string help_lyxdir.
13240
13241 2001-10-09  Herbert Voss  <voss@perce.de>
13242
13243         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13244
13245         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13246
13247         * lyx_main.C: added global string help_lyxdir.
13248
13249         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13250
13251 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13252
13253         * lyxrc.C (set_font_norm_type): support iso8859-4
13254
13255 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13256
13257         * LaTeX.C (deplog): add another regex for MikTeX
13258
13259 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13260
13261         * lyxrc.C (set_font_norm_type): support iso8859-3
13262
13263 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13264
13265         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13266
13267         * LaTeXFeatures.C: remove special case of french and index
13268
13269         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13270         before \begin{document}). This solves several incompatibilities.
13271
13272 2001-10-03  Garst Reese  <reese@isn.net>
13273
13274         * lyx_cb.C: change CheckTex error msg.
13275
13276 2001-10-03  José Matos  <jamatos@fep.up.pt>
13277
13278         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13279
13280 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13281
13282         * .cvsignore: update
13283
13284         * lyx_main.C (commandLineVersionInfo): use new style version info.
13285
13286         * buffer.C (writeFile):
13287         (makeLaTeXFile):
13288         (makeLinuxDocFile):
13289         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13290
13291         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13292
13293         * version.h: update to use stuff in version.C
13294
13295         * version.C.in: new file. Contains version information determined
13296         at compile time. This is a merging of version.h and
13297         version_info.h.in.
13298
13299 2001-10-03  Juergen Vigna  <jug@sad.it>
13300
13301         * BufferView_pimpl.C (update): don't change "dirty" status in
13302         updateInset call.
13303
13304 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13305
13306         * WorkArea.C (c-tor): re-position version string slightly.
13307
13308 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13309
13310         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13311         revert to previous code.
13312
13313         WorkArea.[Ch]: (show, destroySplash): methods removed.
13314
13315         WorkArea.C: rework code so that it's an amalgam of the codes before and
13316         after the splash screen was moved to WorkArea.
13317
13318 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13319
13320         * lyxrc.C (read):
13321         * vspace.C (inPixels):
13322         (lyx_advance):
13323         * kbmap.C (bind):
13324         * buffer.C (insertStringAsLines):
13325         (asciiParagraph): fix types to be large enough
13326
13327         * lyxlex_pimpl.h: change member status from short to int
13328
13329         * layout.h: fix type of endlabeltype
13330
13331         * kbmap.C (bind):
13332         * kbsequence.C (parse): change return type to string::size_type
13333
13334         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13335         variable
13336
13337         * Bullet.C (bulletSize):
13338         (bulletEntry): do not use short ints as parameters
13339
13340         * BufferView2.C (insertLyXFile): change a char to an int.
13341
13342         * WorkArea.C (WorkArea): remove unneeded floats in computation
13343
13344 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13345
13346         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13347
13348         * paragraph.C (asString): Do not ignore newline/hfill chars when
13349         copying to the clipboard.
13350
13351 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13352
13353         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13354         after a multi-line inset.
13355
13356 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13357
13358         * paragraph.C (validate): Set NeedLyXFootnoteCode
13359
13360 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13361
13362         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13363         and decrease-error to decrease.
13364
13365 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13366
13367         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13368         it more readable (should be equivalent)
13369
13370 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13371
13372         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13373
13374 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13375
13376         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13377         of a cursor (row, etc.) after a character has been deleted
13378         (deleteEmptyParagraphMechanism): call the method above on _all_
13379         cursors held by the LyXText when a double space has been
13380         detected/deleted.
13381
13382 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13383
13384         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13385         pixmap.
13386         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13387
13388         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13389         background. Use greyOut() and the new show() methods to toggle between
13390         the foreground and background. Add code to remove the splash after
13391         its initial showing.
13392
13393         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13394         (create_forms): no longer call Dialogs::showSplash.
13395
13396 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * .cvsignore: add version_info.h
13399
13400 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13401
13402         * version_info.h.in: new file
13403
13404         * Makefile.am: add version_info.h.in
13405
13406         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13407         version_info.h instead of VERSION_INFO
13408
13409 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13410
13411         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13412         The ERT inset now returns string().
13413
13414 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13415
13416         * lyxtext.h, text.C (selectNextWord): renamed as
13417         selectNextWordToSpellcheck.
13418
13419         * text.C (selectNextWordToSpellcheck): Modified to not select
13420         words inside an ERT inset.
13421
13422 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13423
13424         * lyx_cb.C (MenuLayoutSave): change a bit the question
13425
13426         * sp_base.h: include <sys/types.h>
13427
13428 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13429
13430         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13431
13432 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13433
13434         * several files: fix typos in user-visible strings
13435
13436 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13437
13438         * text2.C (pasteSelection): do not set the selection, since it
13439         will be cleared later. Actually, the intent was to fix the way the
13440         selection was set, but I figured rmoving the code was just as good.
13441
13442 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13443
13444         * FontLoader.C (available): Check if font is available without
13445         loading the font.
13446
13447 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13448
13449         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13450
13451 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         * lyxrc.[Ch]: added display_graphics variable and associated code.
13454
13455 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13456
13457         * bufferparams.C (hasClassDefaults): new method. Returns true if
13458         the buffer parameters correspond to known class defaults
13459
13460 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13461
13462         * XFormsView.C (show): set minimum size to the main window.
13463
13464 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13465
13466         * text2.C (copySelection):
13467         (cutSelection):
13468         * lyxfind.C (LyXReplace):
13469         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13470         LyXText::selectionAsString.
13471
13472         * paragraph.C (asString): add "label" argument to the second form
13473
13474         * text2.C (selectionAsString): add "label" argument and pass it to
13475         Paragraph::asString.
13476
13477 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13478
13479         * lyx_main.C (commandLineHelp): remove version information
13480
13481 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13482
13483         * lyx_main.C: add -version commandline option
13484
13485 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13486
13487         * paragraph.h: make the optional constructor arg required instead.
13488         some modifications to other files because of this.
13489
13490         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13491
13492         * lyxserver.C (C_LyXComm_callback): make it static
13493
13494         * lyx_main.C (error_handler): make it static
13495
13496         * lyx_gui.C (LyX_XErrHandler): make it static
13497
13498         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13499
13500         * WorkArea.C: make the extern "C" methods static.
13501
13502         * Makefile.am (lyx_LDADD): simplify
13503
13504 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13505
13506         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13507         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13508
13509         * LyXAction.C (init):
13510         * lyxfunc.C (dispatch): associated code removal.
13511
13512 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13513
13514         * lyxfont.h (isSymbolFont): shut off warning
13515
13516         * text.C (setHeightOfRow):
13517         (getVisibleRow): fix crash with empty paragraphs which have a
13518         bottom line
13519
13520 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13521
13522         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13523         code.
13524
13525 2001-09-04  José Matos  <jamatos@fep.up.pt>
13526         * buffer.C
13527         * buffer.h
13528         * tabular.C (docbook): rename docBook method to docbook.
13529
13530 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13531
13532         * Makefile.am: add dependencies to main.o.
13533
13534 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13535
13536         * FontLoader.C (available): Return false if !lyxrc.use_gui
13537
13538 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13539
13540         * FontInfo.C (query):
13541         * converter.C (view):
13542         * importer.C (Import):
13543         * exporter.C (Export): Can not -> cannot.
13544
13545 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13546
13547         * BufferView_pimpl.C: allow to create index inset even if
13548           string is empty
13549
13550 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13551
13552         * buffer.C (getLists): replace boost::tie code with an explicit pair
13553         as boost::tie can break some compilers.
13554
13555         * iterators.h: Added a std:: declaration to the return type of
13556         ParIterator::size.
13557
13558 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13559
13560         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13561           case.
13562
13563 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13564
13565         * iterators.[Ch]: New files. Provide paragraph iterators.
13566
13567         * buffer.C (changeLanguage): Use paragraph iterators.
13568         (isMultiLingual): ditto
13569
13570         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13571
13572 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13573
13574         * FontLoader.C: Support for cmr font.
13575
13576 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13577
13578         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13579         (available): New method.
13580
13581         * FontInfo.C (getFontname): Use scalable fonts even when
13582         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13583         found.
13584
13585 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13586
13587         * converter.C (Formats::view): reverted! Incorrect fix.
13588
13589 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13590
13591         * converter.C (Formats::view): only output the -paper option
13592         if the dvi viewer is xdvi, thereby fixing bug #233429.
13593
13594 2001-08-23  Herbert Voss  <voss@perce>
13595
13596         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13597
13598 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13599
13600         * Spacing.h (Spacing): Set space to Default on in the default
13601         constructor.
13602
13603 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13604
13605         * vc-backend.h (RCS::versionString): add RCS to version
13606         (CVS::versionString): add CVS to version
13607
13608         * vc-backend.C (scanMaster): do not add CVS to version.
13609         (scanMaster): do not add RCS to version
13610
13611         * lyxvc.C (versionString): new method
13612
13613         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13614
13615 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13616
13617         * Spacing.C (set): initialize fval
13618
13619 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13620
13621         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13622         " or \.
13623
13624 2001-08-16  Juergen Vigna  <jug@sad.it>
13625
13626         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13627
13628 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13629
13630         * BufferView_pimpl.C:
13631         * figureForm.C:
13632         * lyxtext.h:
13633         * text2.C: setParagraph takes linespacing now
13634
13635 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13636
13637         * LyxAction.C: add internal LFUN_CITATION_INSERT
13638
13639         * LyXView.C: actually apply fix
13640
13641         * bufferlist.C: fix open non-existent file
13642
13643         * lyxfind.C: fix indentation
13644
13645         * lyxfunc.C: remove unneeded assert, fix typo
13646
13647 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13648
13649         * MenuBackend.C: use "Floatname List"
13650
13651 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13652
13653         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13654         when converting LaTeX layout to insetERT.
13655         Generate a non-collapsed float when reading old float
13656
13657 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13658
13659         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13660         ERT insets.
13661
13662 2001-08-13  Juergen Vigna  <jug@sad.it>
13663
13664         * text.C (fill): return 0 instead of 20 as this seems to be the more
13665         correct value.
13666
13667 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13668
13669         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13670         lyxrc.font_norm.
13671
13672 2001-08-13  Juergen Vigna  <jug@sad.it>
13673
13674         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13675         casesensitive off.
13676         (SearchBackward): comment out the unlocking of the inset_owner this
13677         should not be needed!
13678
13679 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13680
13681         * Many files: Remove inherit_language, and add latex_language
13682
13683         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13684         collapsible insets.
13685
13686 2001-08-10  Juergen Vigna  <jug@sad.it>
13687
13688         * text.C (prepareToPrint): fixed hfill-width in draw!
13689
13690         * BufferView2.C (selectLastWord): save the selection cursor as this
13691         now is cleared in the function LyXText::clearSelection!
13692
13693 2001-08-08  Juergen Vigna  <jug@sad.it>
13694
13695         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13696         BACKSPACE type functions.
13697
13698         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13699         is only cutted from the document but not put in the cut-buffer, where
13700         still the old stuff should be.
13701
13702         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13703
13704         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13705
13706         * tabular.C (SetWidthOfCell): fixed special case where the width
13707         was not updated!
13708         (LeftLine): handle '|' in align_special.
13709         (RightLine): ditto
13710         (LeftAlreadyDrawed): ditto
13711         (SetWidthOfCell): ditto
13712
13713 2001-08-07  Juergen Vigna  <jug@sad.it>
13714
13715         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13716
13717 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13718
13719         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13720         * lyxlex.[hC]: ditto
13721
13722 2001-08-06  Juergen Vigna  <jug@sad.it>
13723
13724         * text.C (getVisibleRow): fix up row clearing a bit.
13725
13726 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13727
13728         * minibuffer.C: make sure the X server sees the changes in the input.
13729
13730 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13731
13732         * paragraph.C (getFont): split into...
13733         (getLabelFont): this
13734         (getLayoutFont): and this
13735         * paragraph_pimpl.C (realizeFont): calling this
13736
13737         * text2.C (getFont): split into...
13738         (getLayoutFont): this
13739         (getLabelFont): and this
13740         (realizeFont): all three calling this
13741
13742         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13743         files where used.
13744
13745 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13746
13747         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13748
13749 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13750
13751         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13752         layouts from the Quote inset insertion.
13753
13754 2001-08-03  Juergen Vigna  <jug@sad.it>
13755
13756         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13757
13758         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13759         only if status not is already CHANGED_IN_DRAW (second level).
13760
13761         * text.C (draw): don't set the need_break_row when inside an
13762         InsetText LyXText.
13763
13764 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13765
13766         * buffer.C (parseSingleLyXformat2Token): handle more latex
13767         conversion cases.
13768
13769         * bufferview_funcs.[hC]: change function names to
13770         begin with small char, adjust other files.
13771
13772 2001-08-02  André Pönitz <poenitz@gmx.net>
13773
13774         * lyxfunc.C:
13775         BufferView_pimpl.C: remove broken special code for math-greek
13776
13777 2001-08-02  Juergen Vigna  <jug@sad.it>
13778
13779         * BufferView_pimpl.C (update): redone this function so that we
13780         update the text again if there was a CHANGE_IN_DRAW.
13781
13782         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13783         (drawFromTo): added a new internal bool which is used by draw() and
13784         redraw() function.
13785         (general): some cursor drawing problems fixed.
13786
13787 2001-08-01  Juergen Vigna  <jug@sad.it>
13788
13789         * lyxfind.C (LyXFind): fixed
13790         (SearchForward): ditto
13791         (SearchBackward): ditto
13792
13793         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13794         spurius drawing of the cursor in the main area.
13795
13796         * text2.C (status): small fix which could lead to a segfault!
13797         (clearSelection): remove unneeded BufferView param.
13798
13799 2001-08-01  André Pönitz <poenitz@gmx.net>
13800
13801         * lyxfunc.C: small change due to changed mathed interface
13802
13803 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13804
13805         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13806
13807 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13808
13809         * lyxfunc.c: fail gracefully if file doesn't exist
13810
13811         * LyXSendto.C:
13812         * buffer.C:
13813         * lyxfunc.C:
13814         * BufferView_pimpl.C: IsDirWriteable() proto changed
13815
13816         * LyXView.C: fix updateWindowTitle() to store the last title
13817
13818 2001-07-31  Juergen Vigna  <jug@sad.it>
13819
13820         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13821         the font (wrong since using of Paragraph::highestFontInRange).
13822
13823         * paragraph.C (highestFontInRange): added a default_size parameter.
13824
13825         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13826         (setHeightOfRow): reformat
13827
13828 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13829
13830         * converter.[hC] + affected files: move to (inital-char)lowercase
13831         function names.
13832
13833         * ParagraphParameters.C (ParagraphParameters): remove commented code
13834
13835         * PainterBase.[Ch]: remove commented code
13836
13837         * LaTeXFeatures.h: add "bool floats" for float.sty
13838
13839         * LaTeXFeatures.C (LaTeXFeatures): init floats
13840         (require): handle float
13841         (getPackages): do it with floats
13842
13843 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13844
13845         * BufferView_pimpl.C (Dispatch): improve handling of
13846         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13847
13848         * commandtags.h: #include lyxfont.h here temporarily to avoid
13849         keybinding bug.
13850
13851         * bufferlist.h: include LString.h here.
13852
13853 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13854
13855         * text2.C (getStringToIndex): new method.
13856
13857 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13858
13859         * *: Reduced header file dependencies all over.
13860
13861 2001-07-30  Baruch Even  <baruch@lyx.org>
13862
13863         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13864
13865 2001-07-29  Baruch Even  <baruch@lyx.org>
13866
13867         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13868
13869 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13870
13871         * ParameterStruct.h (endif): add a default constructor to make
13872         sure that all variables is initialized.
13873
13874         * ParagraphParameters.C (ParagraphParameters): adjust
13875
13876 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13877
13878         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13879         index; also, check that there is something to index, and that it
13880         does not span over several paragraphs.
13881         (doubleClick): use WHOLE_WORD_STRICT for double click.
13882
13883         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13884
13885         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13886         scheme.
13887
13888 2001-07-26  Baruch Even  <baruch@lyx.org>
13889
13890         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13891         an InsetFig figure, backwards compatible reading of old figure code.
13892
13893 2001-07-27  Juergen Vigna  <jug@sad.it>
13894
13895         * text2.C: font.realize function adaption.
13896
13897         * text.C (draw): add a warnings lyxerr text if needed.
13898
13899         * layout.C: font.realize function adaption.
13900
13901         * language.C: add inherit_language and implement it's handlings
13902
13903         * bufferview_funcs.C (StyleReset): remove language parameter from
13904         font creation (should be language_inherit now).
13905
13906         * bufferparams.C (writeFile): handle ignore_language.
13907
13908         * paragraph.C (getFontSettings): the language has to be resolved
13909         otherwise we have problems in LyXFont!
13910
13911         * lyxfont.C (lyxWriteChanges): added document_language parameter
13912         (update): removed unneeded language parameter
13913
13914         * paragraph.C (validate): fixed wrong output of color-package when
13915         using interface colors for certain fonts in certain environments,
13916         which should not seen as that on the final output.
13917
13918 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13919
13920         * BufferView_pimpl.C:
13921         * Thesaurus.h:
13922         * Thesaurus.C:
13923         * Makefile.am:
13924         * commandtags.h:
13925         * LyXAction.C: add thesaurus support
13926
13927         * lyxfind.h:
13928         * lyxfind.C: add "once" parameter, for thesaurus, to not
13929           move to the next match
13930
13931 2001-07-26  Juergen Vigna  <jug@sad.it>
13932
13933         * lyxfont.C (realize): honor ignore_language too!
13934         (resolved): ditto.
13935
13936         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13937
13938         * text.C (draw): one place more for ignore_language to not draw
13939         itself!
13940
13941 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13942
13943         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13944
13945 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13946
13947         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13948         the minipage conversion problem.
13949
13950 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13951
13952         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13953         insert an inset.
13954
13955 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13956
13957         * BufferView.h: don't forward declare WorkArea
13958
13959         * BufferView.C: don't include WorkArea.h
13960
13961 2001-07-25  André Pönitz <poenitz@gmx.net>
13962
13963         * commandtags.h:
13964         * LyXAction.C:
13965         * lyxfunc.C:  new LFUN 'math-space'
13966
13967         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13968
13969 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13970
13971         * text2.C (toggleInset): call open/close
13972
13973 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13974
13975         * lyxfunc.C (dispatch): add debug for the disabled case
13976
13977         * font.C (buttonText): make similar to rectText
13978
13979         * buffer.C (readInset): comment out parsing of insetlist and
13980         insttheorem
13981
13982         * PainterBase.C (rectText): small correction
13983
13984         * BufferView_pimpl.C: comment out insettheorem and insetlist
13985         * LyXAction.C: ditto
13986         * commandtags.h: ditto
13987
13988 2001-07-24  Juergen Vigna  <jug@sad.it>
13989
13990         * text.C (draw): honor the ignore_language.
13991
13992         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13993
13994 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13995
13996         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13997         char inset.
13998
13999 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14000
14001         * lyxtext.h: remove unused (and unimplemented) methods
14002
14003 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14004
14005         * text.C (getVisibleRow): honor background color
14006
14007         * PainterBase.h:
14008         * Painter.h: remove default color argument for fillRectangle
14009
14010         * text.C (backgroundColor): new method
14011
14012 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14013
14014         * text.C (getVisibleRow): adjust
14015
14016         * font.[Ch] (rectText): new method, metrics
14017         (buttonText): new method, metrics
14018
14019         * PainterBase.[hC]: make rectText and buttonText always draw and take
14020         fewer paramteres.
14021
14022 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14023
14024         * ToolbarDefaults.C (read):
14025         * MenuBackend.C (read): allow escaping in all strings
14026
14027         * BufferView_pimpl.C (insertAndEditInset): new method.
14028         (Dispatch): use insertAndEditInset whenever appropriate.
14029
14030         * BufferView_pimpl.C (insertNote): removed
14031
14032         * BufferView_pimpl.C (smartQuote): new method, moved from
14033         BufferView; if an insetquote cannot be inserted, insert a '"'
14034         character instead.
14035
14036         * BufferView2.C: remove insertCorrectQuote();
14037
14038         * lyxfunc.C (getStatus): Add support for all remaingin
14039         inset-insert lfuns.
14040
14041         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14042
14043         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14044         command (necessary to pass " as parameter of self-insert.
14045
14046         * text.C (selectWordWhenUnderCursor):
14047         (selectWord): add word_location parameter
14048         (selectWordWhenUnderCursor): same + remove special code for word
14049         boundary.
14050         (selectNextWord): use kind() to guess type of insetspecialchar,
14051         not latex().
14052
14053         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14054         (insertErtContents): create ert insets as collapsed.
14055         (readInset): better compatibility code for Info inset.
14056
14057 2001-07-20  Juergen Vigna  <jug@sad.it>
14058
14059         * lyxfunc.C (dispatch): use always LyXFind now!
14060
14061         * text2.C (init): add a reinit flag so that the LyXText can be
14062         reinited instead of deleted and reallocated (used in InsetText).
14063
14064         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14065
14066         * text.C: ditto
14067
14068         * text2.C: ditto
14069
14070 2001-07-18  Juergen Vigna  <jug@sad.it>
14071
14072         * text.C (selectNextWord): handle insets inside inset by calling
14073         always the bv->text functions so that we can go up the_locking_inset!
14074
14075         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14076         in strange locations when inside an inset!
14077
14078         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14079         handling to include insets.
14080
14081         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14082
14083 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14084
14085         * LyXAction.C (init):
14086         * commandtags.h:
14087         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14088         LIGATURE_BREAK, since the name is so stupid.
14089
14090 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14091
14092         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14093         InsetInfos.
14094
14095         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14096
14097         * sp_form.[Ch]: remove.
14098
14099         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14100
14101         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14102         InsetInfo.
14103
14104         * src/buffer.C (readInset): ditto.
14105
14106 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14107
14108         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14109         menuSeparator(), endOfSentenceDot(), ldots() and
14110         hyphenationPoint(), which are therefore removed.
14111         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14112
14113         * LyXAction.C (init):
14114         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14115
14116         * paragraph.C (getWord): removed.
14117
14118         * BufferView_pimpl.C (Dispatch): use last word or selection for
14119         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14120
14121         * lyx_main.C (queryUserLyXDir): do not ask before creating
14122         user_dir, except if it has been named explicitely.
14123
14124 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14125
14126         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14127         a document of zero size.
14128
14129 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14130
14131         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14132         approriately in the c-tor and in require().
14133         (getPackages): output the appropriate LaTeX for natbib support.
14134
14135         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14136         variables "use_natbib" and "use_numerical_citations" when reading the
14137         LyX file.
14138         (readInset): read the various natbib cite commands.
14139         (validate): white-space change.
14140
14141         * bufferparams.[Ch]: new variables "bool use_natbib" and
14142         "bool use_numerical_citations".
14143         (writeFile): output them in the LyX file.
14144
14145 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14146
14147         * lyxfunc.C (getStatus): add support for all the inset insertion
14148         commands.
14149
14150         * text2.C (insertInset):
14151         * paragraph.C (insetAllowed):
14152         * BufferView_pimpl.C (insertInset): update to take in account the
14153         renaming of insertInsetAllowed
14154
14155         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14156
14157         * text2.C (getInset): new method. returns inset at cursor position.
14158
14159         * BufferView_pimpl.C (Dispatch): changes because of this.
14160
14161         * LyXAction.C (init): rename open-stuff to inset-toggle.
14162
14163         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14164
14165         * text2.C (toggleInset): renamed from openStuff; use
14166         Inset::open().
14167
14168 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14169
14170         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14171
14172         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14173
14174 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14175
14176         * buffer.C (readLyXformat2): Add filename to the error dialog
14177
14178 2001-07-18  Juergen Vigna  <jug@sad.it>
14179
14180         * tabular.C (GetCellNumber): put an assert here instead of the check!
14181
14182 2001-07-17  Juergen Vigna  <jug@sad.it>
14183
14184         * BufferView_pimpl.C (toggleSelection): adapted too.
14185
14186         * text.C (selectNextWord): adapted for use with insets.
14187         (selectSelectedWord): ditto
14188
14189 2001-07-17  Juergen Vigna  <jug@sad.it>
14190
14191         * sp_spell.C (PSpell): fix initialitation order.
14192
14193 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14194
14195         * paragraph.C: spacing
14196
14197 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14198
14199         * sp_spell.C: repair language selection for pspell
14200
14201 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14202
14203         * lyxfunc.h: change more methods to begin with lower char.
14204
14205 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14206
14207         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14208         for unknown layouts.
14209
14210 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14211
14212         * buffer.C (readLyXformat2): Generate an error dialog if there are
14213         unknown layouts.
14214
14215 2001-07-16  Juergen Vigna  <jug@sad.it>
14216
14217         * sp_spell.C: always compile ISpell part.
14218
14219         * lyxrc.C: added use_pspell entry and it's handling.
14220
14221 2001-07-13  Juergen Vigna  <jug@sad.it>
14222
14223         * sp_spell.C: removed double includes.
14224
14225 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14226
14227         Consistent use of Lsstream.h:
14228         * Lsstream.h: added using std::stringstream for consistencies sake.
14229
14230         * buffer.C: removed using std::stringstream
14231
14232         * lyxfont.C (stateText):
14233         * paragraph.C (asString):
14234         * text.C (selectNextWord, selectSelectedWord):
14235         * text2.C (setCounter):
14236         * vspace.C (asString, asLatexString):
14237         std::ostringstream -> ostringstream.
14238
14239 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14240
14241         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14242         * commandtags.h: add LFUN_HELP_ABOUTLYX
14243         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14244
14245 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14246
14247         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14248         cursorToggle()
14249         * lyx_gui_misc.C: remove spellchecker
14250         * lyxfunc.C: showSpellchecker
14251         * sp_base.h: added
14252         * sp_ispell.h: added
14253         * sp_pspell.h: added
14254         * sp_spell.C: added
14255         * sp_form.[Ch]: removed
14256         * spellchecker.[Ch]: removed
14257
14258 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14259
14260         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14261         is set.
14262         (simpleTeXSpecialChars): Simply print the input character without
14263         any special translation if pass_thru is set.
14264
14265         * layout.h: Added bool pass_thru to layout class for being able to
14266         implement pass through of a paragraph for Literate Programming.
14267
14268         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14269         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14270         * layout.C (Read): add "passthru" to list of layout tags and add
14271         code to set the pass_thru boolean when it is read.
14272
14273 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14274
14275         * trans_decl.h: remove allowed from KmodInfo
14276
14277         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14278         remove allowed code
14279         (Load): adjust
14280
14281         * paragraph_pimpl.C (erase): use boost::prior
14282
14283         * Painter.C (text): use data() instead of c_str() when length is
14284         also provided.
14285         * WorkArea.C (putClipboard): ditto
14286         * font.h (width): ditto
14287
14288         * BufferView2.C: use it-> instead of (*it). for iterators
14289         * texrow.C: ditto
14290         * paragraph_pimpl.C: ditto
14291         * paragraph.C: ditto
14292         * minibuffer.C: ditto
14293         * language.C: ditto
14294         * kbmap.C: ditto
14295         * encoding.C: ditto
14296         * counters.C: ditto
14297         * converter.C: ditto
14298         * chset.C: ditto
14299         * Variables.C: ditto
14300         * TextCache.C: ditto
14301         * MenuBackend.C: ditto
14302         * LyXAction.C: ditto
14303         * LColor.C: ditto
14304         * FloatList.C: ditto
14305         * DepTable.C: ditto
14306         * ColorHandler.C (LyXColorHandler): ditto
14307
14308 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14309
14310         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14311
14312         * text2.C (openStuff): reintroduce this method (which had been
14313         nuked in NEW_INSETS frenzy).
14314
14315         * lyxfunc.C (Dispatch): when an action has not been handled, use
14316         its name in the error message, not its number.
14317
14318         * paragraph.C (inInset): change method name to begin with lowercase.
14319
14320         * undo_funcs.C:
14321         * text2.C: updates because of this.
14322
14323 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14324
14325         * ToolbarDefaults.C (add): add spaces in error message
14326
14327 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14328
14329         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14330         (readLyXformat2): rename return_par to first_par, use lyxlex's
14331         pushToken and remove the manual push handling.
14332         (parseSingleLyXformat2Token): add another ert comp. variable:
14333         in_tabular, rename return_par to first_par. handle newlines better
14334
14335 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14336
14337         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14338
14339 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14340
14341         * text2.C (getParFromID): removed
14342
14343         * buffer.C (getParFromID): new method moved form lyxtext.
14344         * BufferView2.C (insertErrors): adjust
14345         (setCursorFromRow): adjust
14346         * BufferView_pimpl.C (restorePosition): adjust
14347         * lyxfunc.C (Dispatch): adjust
14348         * undo_funcs.C (textUndo): adjust
14349         (textRedo): adjust
14350         (textHandleUndo): adjust
14351         (textHandleUndo): adjust
14352
14353 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14354
14355         * buffer.C: up' the LYX_FORMAT
14356
14357         * lyxfont.h: turn NO_LATEX on as default
14358
14359         * buffer.C (insertErtContents): new methods of tex style compability.
14360         (parseSingleLyXformat2Token): use it several places.
14361         * tabular.C (OldFormatRead): and here
14362
14363 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14364
14365         * text2.C: remove some commented code.
14366         reindent file.
14367
14368         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14369         * trans.C: changes because of the above.
14370
14371 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14372
14373         * text2.C (setCounter): Fix counters bug with bibliography layout.
14374
14375 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14376
14377         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14378         own member functions
14379         (simpleTeXSpecialChars): ditto
14380
14381 2001-07-06  Juergen Vigna  <jug@sad.it>
14382
14383         * a lot of files: changed the access to LyXText::status and the
14384         call of undo-functions.
14385
14386         * undo.[Ch]: added a inset_id to the undo informations.
14387
14388         * undo_funcs.[Ch]: added and moved here all undo functions.
14389
14390         * lyxtext.h: give the status enum a weight, made status_ a private
14391         variable and made accessor functions for it, removed the whole bunch
14392         of undo-functions as they are now in their own file, make some
14393         functions publically available. Added function ownerParagraph with
14394         int parameter.
14395
14396         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14397         made InInset() a const function, added getParFromID() function.
14398
14399         * buffer.[Ch]: added const version for inset_iterator functions,
14400         added getInsetFromID() function.
14401
14402         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14403         changed undo functions for new version.
14404
14405 2001-07-05  Juergen Vigna  <jug@sad.it>
14406
14407         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14408         unknow mechanism does not call the proper constructor but only this
14409         one also if I request the other!?
14410
14411 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14412
14413         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14414
14415         * text2.C (LyXText): use initialization lists.
14416
14417         * lyxtext.h (Selection): initialize set_ and mark_
14418         (init): remove method
14419
14420 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14421
14422         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14423
14424 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14425
14426         * screen.[Ch]: change method names to begin with lowercase
14427
14428         * BufferView_pimpl.C (updateScrollbar): simplify further and
14429         hopefully make it a bit faster.
14430
14431 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14432
14433         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14434         calling directly xforms functions.
14435
14436         * Painter.C (Painter):
14437         * lyx_cb.C (MenuWrite):
14438         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14439         fl_display.
14440
14441         * lyx_gui.C: remove bogus guiruntime extern declaration.
14442
14443 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14444
14445         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14446         in NEW_INSETS
14447         (redoDrawingOfParagraph): ditto
14448         (redoParagraphs): ditto
14449         (cutSelection): don't create a object for CutAndPaste use the
14450         static method directly
14451         (pasteSelection): ditto
14452
14453         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14454         LyXview (+ rename)
14455
14456 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14457
14458         * modifications to some other files because of this.
14459
14460         * Makefile.am (lyx_SOURCES): add XFormsView
14461
14462         * XFormsView.[Ch]: new files
14463
14464         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14465         the main window. Move the gui dependent stuff to XFormsView
14466
14467 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14468
14469         * tabular.C (GetCellInset): update cur_cell also in the row/col
14470         version of this function.
14471
14472         * lyxfunc.C: no need to include figure_form.h here.
14473
14474         * FontLoader.h:
14475         * lyxfunc.h:
14476         * lyxscreen.h:
14477         * text2.C:
14478         * lyxvc.C: no need to include forms.h here.
14479
14480 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14481
14482         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14483
14484         * lyxfunc.C (Dispatch):
14485         * Spacing.C (set):
14486         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14487         constructor argument.
14488
14489 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14490
14491         * paragraph.C (Paragraph): dont't clear, and just set layout.
14492         (makeSameLayout): use params's copy contructor.
14493
14494         * ParagraphParameters.[Ch] (makeSame): delete method
14495
14496 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14497
14498         * Variables.[Ch]: fix indentation, rename set to isSet
14499
14500 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14501
14502         * lyxfunc.C (Dispatch): fix typo
14503
14504 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14505
14506         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14507         upper_bound.
14508
14509         * bufferlist.C: include assert.h for emergencyWrite().
14510
14511 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14512
14513         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14514           give up at last (bug #425202) !
14515
14516 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14517
14518         * lyx_gui_misc.C:
14519         * sp_form.h:
14520         * sp_form.C:
14521         * spellchecker.h:
14522         * spellchecker.C: strip spellchecker options and bring up
14523           preferences tab instead
14524
14525 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14526
14527         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14528         the istringstream constructor
14529
14530 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14531
14532         * paragraph.C (getLayout): fix return value
14533
14534         * paragraph.h: do not declare getLayout as inline.
14535
14536         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14537
14538 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14539
14540         * lyxcursor.h (operator<): new func
14541         (operator>): new func
14542         (operator>=): new func
14543         (operator<=): new func
14544
14545         * text.C (changeCase): use selection.start and selection.end
14546         (changeRegionCase): require from to be <= to. Require par to be a
14547         valid paragraph.
14548
14549         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14550
14551 2001-06-27  Juergen Vigna  <jug@sad.it>
14552
14553         * text.C (cursorLeftOneWord): changed to return the cursor and added
14554         overlay with BufferView * parameter which calls this one.
14555         (getWord): added
14556         (selectWord): use new getWord function.
14557         (changeCase): renamed from changeWordCase as and extended to work
14558         also on selections.
14559
14560         * lyxtext.h: added enum word_location
14561
14562         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14563         changeCase as this operates now also on selections.
14564
14565 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14566
14567         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14568
14569         * many files: send debug output to Debug::INFO instead of
14570         Debug::ANY.
14571
14572         * converter.C (View):
14573         (Convert):
14574         (Move): send debug output to Debug::FILES instead of console.
14575
14576 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14577
14578         * lyxfunc.C (getStatus): use func_status
14579
14580         * func_status.h: new header, describing the results of
14581         LyXFunc::getStatus;
14582
14583         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14584         LFUN_MATH_HALIGN.
14585
14586 2001-06-25  The LyX Project  <jug@sad.it>
14587
14588         * buffer.C (sgmlOpenTag):
14589         (sgmlCloseTag):
14590         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14591
14592 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14593
14594         * text2.C: remove some dead code
14595
14596         * tabular.C (GetCellInset): store the last cell checked (gotten)
14597
14598         * tabular.h: add the helper for the speedup
14599
14600         * lyxtext.h: remove some dead code
14601
14602 2001-06-26  The LyX Project  <Asger>
14603
14604         * paragraph.C: Change export to LaTeX of alignment to
14605         \begin{center} and family for better roundtrip work with reLyX.
14606
14607         * Tune the math drawing a bit.
14608
14609 2001-06-25  The LyX Project  <Asger>
14610
14611         * LColor.C (LColor): New color for math background. New color
14612         for buttons.
14613
14614 2001-06-25  The LyX Project  <jug@sad.it>
14615
14616         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14617
14618         * lyxfunc.C (Open):
14619         * bufferlist.C (newFile): do not restrict to files ending with
14620         .lyx
14621
14622         * BufferView_pimpl.C (MenuInsertLyXFile):
14623
14624 2001-06-24  The LyX Project  <jug@sad.it>
14625
14626         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14627         of compare_no_case
14628
14629 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14630
14631         * lyxtext.h: rename most methods to begin with a small char.
14632         Lots of changes because of this.
14633
14634         * paragraph.C (Paragraph): do not call fitToSize
14635         (erase): call Pimpl::erase
14636         (insertChar): call Pimpl::insertChar
14637         (insertInset): call Pipl::insertInset
14638         (breakParagraph): do not call fitToSize
14639         (breakParagraphConservative): do not call fitToSize
14640         (fitToSize): remove method
14641
14642         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14643
14644 2001-06-24  The LyX Project  <Asger>
14645
14646         * Fix Qt compilation^2
14647
14648 2001-06-24  The LyX Project  <jug@sad.it>
14649
14650         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14651         depthHook(getDepth()-1).
14652
14653         * paragraph.h:
14654         * ParagraphParameters.h:
14655         * ParameterStruct.h: change type of depth to unsigned int ==
14656         depth_type. Many adaptations to other files before of that.
14657
14658 2001-06-24  The LyX Project  <Asger>
14659
14660         * Fix Qt compilation.
14661
14662 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14663
14664         * paragraph.h: renamed several methods to begin with small letter.
14665         several changes to many parts of the code because of this.
14666
14667 2001-06-23  The LyX Project  <jug@sad.it>
14668
14669         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14670         rewritten to discard all double spaces when KeepEmpty is off
14671         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14672         to only handle newlines but not fiddle with spaces and friends.
14673
14674         * lyxfunc.C (MenuNew): when doing 'new from template', use
14675         template_path as default directory
14676
14677 2001-06-23  The LyX Project  <Asger>
14678
14679         * Clean-up of header file includes all over
14680         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14681
14682 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14683
14684         * paragraph.h: renamed from lyxparagraph.h
14685
14686 2001-06-23  Asger  <lyx@violet.home.sad.it>
14687
14688         * Buffer.h: Removed Buffer::resize
14689         * BufferList.h: Removed BufferList::resize
14690         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14691         the document lazily when we change the width, or the font settings.
14692
14693 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14694
14695         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14696
14697 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14698
14699         * buffer.h: remove out of date comment
14700
14701 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14702
14703         * lyxscreen.h:
14704         * screen.C: fix "theoretical" GC leak
14705
14706 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14707
14708         * LaTeX.C (scanAuxFile):
14709         (deplog): remove trailing \r when reading stream (useful under
14710         win32)
14711
14712 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14713
14714         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14715         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14716         and BufferView::theLockingInset(Inset*), so should use them and not
14717         access bv_->text->the_locking_inset directly.
14718
14719         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14720
14721 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14722
14723         * Makefile.am:
14724         * tex-defs.h: remove old unused file
14725
14726 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14727
14728         * BufferView_pimpl.C: fix typo, remove minibuffer message
14729           when buffer has loaded
14730
14731 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14732
14733         * lyxfunc.C (Dispatch): use stringstream
14734         (MenuNew): use stringstream
14735         (Open): use stringstream
14736
14737         * importer.C (Import): use stringstream
14738
14739         * bufferview_funcs.C (CurrentState): use stringstream
14740
14741         * LaTeX.C (run): use stringstream
14742
14743         * BufferView_pimpl.C (savePosition): use stringstream
14744         (restorePosition): use stringstream
14745         (MenuInsertLyXFile): use stringstream
14746
14747 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14748
14749         * BufferView.C:
14750         * Bullet.C:
14751         * ColorHandler.C:
14752         * FontInfo.C:
14753         * FontLoader.C:
14754         * LColor.C:
14755         * LaTeXFeatures.C:
14756         * Painter.C:
14757         * gettext.C:
14758         * lyx_gui_misc.C:
14759         * lyxserver.C:
14760         * vspace.C: removed // -*- C++ -*- as first line.
14761
14762         * lyxfind.h:
14763         * version.h: added // -*- C++ -*- as first line.
14764
14765 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14766
14767         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14768
14769         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14770         of string
14771
14772 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14773
14774         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14775         of floats.
14776
14777 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14778
14779         * gettext.C: include LString.h even when --disable-nls is on.
14780
14781 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14782
14783         * converter.h (Get): changed argument type from int to
14784         FormatList::size_type to avoid unnecessary conversion.
14785
14786         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14787         before using it.
14788
14789 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14790
14791         * gettext.h: include LString.h even when --disable-nls is on.
14792
14793 2001-06-07  Juergen Vigna  <jug@sad.it>
14794
14795         * text.C (BreakAgain): subst spaces with tabs.
14796
14797         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14798         (resizeInsetsLyXText): set force on resizeLyXText.
14799
14800 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14801
14802         * gettext.h (gettext_init):
14803         (locale_init): use a real definition instead of a macro
14804
14805 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14806
14807         * Bufferview_pimpl.C:
14808         * LColor.h:
14809         * LColor.C: further lcolor tidies
14810
14811 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14812
14813         * BufferView_pimpl.C (updateScrollbar): simplify.
14814
14815         * BufferView2.C: don't include insets/insetinfo.h, change
14816         prototype for insertInset and call the Pimpl version. let
14817         updateInset call Pimpl version.
14818
14819         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14820         gotoInset to BufferView::Pimpl
14821
14822 2001-06-01  Juergen Vigna  <jug@sad.it>
14823
14824         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14825         inside a LockingInset (is the update needed at all?).
14826
14827 2001-05-31  Juergen Vigna  <jug@sad.it>
14828
14829         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14830         here not the old one otherwise how should we compare it afterwards
14831         if it's the same!
14832
14833 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14834
14835         * lyxfont.C:
14836         * tabular.C:
14837         * tabular-old.C:
14838         * FontInfo.C: bring C functions into global namespace when
14839         necessary
14840
14841 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14842
14843         * LString.h: make sure config.h has been loaded before LString.h.
14844
14845         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14846         (one for each char read by EatLine!).
14847
14848         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14849         variables.
14850
14851 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14852
14853         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14854         to the same as the par we break from
14855
14856 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14857
14858         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14859
14860         * MenuBackend.C (expand): also create menu entries for wide
14861         versions of the floats.
14862
14863         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14864
14865         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14866
14867         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14868         frontends/Makefile.am
14869
14870         * text2.C: adjust
14871         * text.C: adjust
14872
14873
14874         * tabular.C (getTokenValue): add std::
14875
14876         * tabular-old.C (getTokenValue): add std::
14877         (getTokenValue): ditto
14878         (getTokenValue): ditto
14879
14880         * screen.C (ToggleSelection): adjust
14881
14882         * lyxtext.h: put selection cursors inside a Selection struct.
14883
14884         * lyxfunc.C (moveCursorUpdate): adjust
14885
14886         * lyxfont.C (latexWriteStartChanges): add std::
14887
14888         * lyxfind.C: adjust
14889
14890         * font.h: delete with(char const *, LyXFont const &)
14891
14892         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14893
14894         * FontInfo.C (getFontname): add std::
14895
14896         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14897         (workAreaButtonPress): adjust
14898         (tripleClick): adjust
14899         (update): adjust
14900         (moveCursorUpdate): adjust
14901         (Dispatch): adjust
14902
14903         * BufferView2.C (gotoInset): adjust
14904
14905 2001-05-30  Juergen Vigna  <jug@sad.it>
14906
14907         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14908         to check pspell I add this as default as I now have new pspell
14909         libraries and they seem to use this.
14910
14911 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14912
14913         * text2.C (CutSelection): make the cursor valid before the call to
14914         ClearSelection.
14915
14916 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14917
14918         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14919         relied on 0 terminated strings and other horrors. Bug found due to
14920         the new assert in lyxstring!
14921
14922         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14923         KP_ keys.
14924
14925 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14926
14927         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14928         to latinkeys.bind.
14929
14930         * lyxfunc.C (processKeySym): change method of getting to the
14931         self-insert char.
14932
14933         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14934         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14935         * BufferView_pimpl.[Ch]: here as private methods.
14936
14937 2001-05-28  Juergen Vigna  <jug@sad.it>
14938
14939         * text.C (SetHeightOfRow): added the update() call again as it is
14940         needed to initialize inset dimensions!
14941
14942 2001-05-16  Juergen Vigna  <jug@sad.it>
14943
14944         * text2.C (SetCharFont): Add new function with BufferView * and
14945         bool toggleall parameters for setting insets internal fonts.
14946         (SetFont): Freeze the undo as we may change fonts in Insets and
14947         all this change should be inside only one Undo!
14948
14949         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14950         setting font's in insets as for them we have the SetFont function!
14951
14952 2001-05-15  Juergen Vigna  <jug@sad.it>
14953
14954         * text2.C (ClearSelection): to be sure we REALLY don't have any
14955         selection anymore!
14956
14957         * tabular.C (TeXCellPreamble): fixed the left border problem for
14958         multicolumn cells.
14959
14960 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14961
14962         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14963         dependancy file
14964
14965 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14966
14967         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14968         LFUN_BREAKPARAGRAPH.
14969
14970         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14971         help test to "internal only", similar for LFUN_INSERT_URL
14972
14973         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14974         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14975         auto_region_delete and deadkeys.
14976
14977 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14978
14979         * LColor.h:
14980         * LColor.C: remove some dead entries, tidy a little
14981
14982 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14983
14984         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14985         commented code.
14986         (Dispatch): implement LFUN_ESCAPE
14987
14988         * commandtags.h: add LFUN_ESCAPE
14989
14990         * LyXAction.C (init): add entry for LFUN_ESCAPE
14991
14992         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14993         Remove commented code.
14994         (insertNote): moved here
14995         (open_new_inset): moved here
14996
14997         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14998         BufferView_pimpl
14999
15000 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15001
15002         * kbmap.C (findbinding): clean it up and make it work correctly.
15003
15004         * lyx_main.C (init): do not pass argc and argv as parameters
15005
15006 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15007
15008         * buffer.C: fix path for OS/2 & Win32
15009
15010         * lyx_gui.C:
15011         * lyx_main:
15012         * lyx_main.C: Added os:: class.
15013
15014         * os2_defines.h: update
15015
15016 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15017
15018         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15019         better by trying again with reduced state.
15020
15021 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15022
15023         * lyxrc.C (read): print error about invalid key sequence only when
15024         debugging (because not all latinX keysyms are known to some X
15025         servers)
15026
15027         * kbsequence.C (getiso): add a few std:: qualifiers
15028         (getiso): comment out extra return statement.
15029
15030 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15031
15032         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15033         handling.
15034         (Dispatch): enhance the accent inset a bit. (not perfect)
15035
15036 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15037
15038         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15039
15040 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15041
15042         * bufferlist.C (emergencyWrite): fix assert() call
15043
15044 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15045
15046         * text.C (InsertChar): Added trivial patch to only send the "you
15047         can not do multiple spaces this way" message once during a
15048         session.
15049
15050 2001-05-08  Baruch Even  <baruch@lyx.org>
15051
15052         * Makefile.am: Changed order of libraries to get LyX to link properly
15053         with the gnome frontend.
15054
15055 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15056
15057         * LaTeXFeatures.h: add a std:: qualifier
15058
15059 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15060
15061         * paragraph.C (String): use stringstream
15062
15063 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15064
15065         * paragraph.C (writeFile): remove footflag arg
15066
15067         * buffer.C (makeLaTeXFile): use stringstream
15068         (latexParagraphs): remove footnot gurba
15069
15070         * LaTeXFeatures.C (getPackages): use stringstream
15071         (getMacros): likewise
15072         (getTClassPreamble): likewise
15073         (getFloatDefinitions): new method
15074
15075         * paragraph.C (writeFile): reindent
15076         (Erase): reindent
15077
15078         * WorkArea.h: revert the xpos + etc changes.
15079
15080         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15081
15082         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15083
15084         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15085         (pasteSelection): likewise
15086         * text2.C (CreateUndo): likewise
15087
15088 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15089
15090         * minibuffer.C (peek_event): temporarily reduce the functionality
15091         of the minibuffer (to allow args on lfuns)
15092
15093         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15094         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15095
15096         * buffer.C (readInset): add compability reading of old float
15097         lists, add reading of new style float list.
15098         (readInset): avoid reevaluation of inscmd.getCmdName()
15099         (getLists): reindent
15100
15101         * MenuBackend.C (MenuItem): implement parsing of
15102         md_floatlistinsert and md_floatinsert.
15103         (expand::LastFiles): move initalizaton of iterators out of loop,
15104         avoid reevaluation.
15105         (expand::Documents): introduce typdedef vector<string> Strings,
15106         and use it.
15107         (expand::ExportFormats): introduce typedef vector<Format const *>
15108         Formats, and use it.
15109         (expand): implement FloatListInsert and FloatInsert.
15110
15111         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15112         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15113         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15114
15115         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15116         handling.
15117         (Dispatch::LFUN_FLOAT_LIST): implement
15118
15119 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15120
15121         * LaTeX.C (run): Fix problem with --export code.
15122
15123 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15124
15125         * BufferView.[Ch] (workarea): removed.
15126         (getClipboard) new method; wrapper for workarea()->getClipboard()
15127
15128         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15129         bug.
15130
15131         * WorkArea.h (width, height, xpos, ypos): These methods all
15132         returned the dimensions of the work_area sub-area of WorkArea,
15133         resulting in a position error if the WorkArea were resized. Now
15134         return the dimensions of the entire WorkArea.
15135
15136         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15137
15138 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15139
15140         * LaTeX.C (deplog): correct the syntax of regex reg1
15141
15142 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15143
15144         * undo.C: remove !NEW_INSETS cruft
15145
15146 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15147
15148         * text2.C: remove !NEW_INSETS cruft
15149
15150         * text.C: remove !NEW_INSETS cruft
15151
15152         * tabular.C: remove !NEW_INSETS cruft
15153
15154         * spellchecker.C: remove !NEW_INSETS cruft
15155
15156         * lyxtext.h: remove !NEW_INSETS cruft
15157
15158         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15159
15160         * lyxfunc.C: remove !NEW_INSETS cruft
15161
15162         * lyxfind.C: remove !NEW_INSETS cruft
15163
15164         * lyx_cb.C: remove !NEW_INSETS cruft
15165
15166         * figureForm.C: remove  !NEW_INSETS cruft
15167
15168         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15169
15170         * buffer.[Ch]: remove !NEW_INSETS cruft
15171
15172         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15173
15174         * CutAndPaste.C: remove !NEW_INSETS cruft
15175
15176         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15177
15178         * BufferView2.C: remove !NEW_INSETS cruft
15179
15180         * BufferView.h: remove !NEW_INSETS cruft
15181
15182 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15183
15184         * Lsstream.h: include LString.h before the sstream headers to
15185         fix problem with gcc 2.95.3 and lyxstring
15186
15187 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15188
15189         * lyx_main.C: add using directives when needed for C functions
15190         declared in std:: namespace.
15191
15192 2001-04-27  Juergen Vigna  <jug@sad.it>
15193
15194         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15195         (SetHeightOfRow): comment out the update call should not be needed!
15196
15197 2001-04-13  Juergen Vigna  <jug@sad.it>
15198
15199         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15200         (LyXTabular): tried to minimize operator= operations (and realized
15201         hopfully Lars wish).
15202
15203 2001-04-27  Juergen Vigna  <jug@sad.it>
15204
15205         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15206
15207 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15208
15209         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15210
15211         * buffer.C (readInset): hack to make listof algorithm work
15212
15213         * BufferView_pimpl.C: hack to make listof algorithm work
15214
15215 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15216
15217         * LyXAction.C: removed all !NEW_INSETS cruft
15218         (init): moved lfun_item in method
15219
15220         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15221
15222 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15223
15224         * BufferView2.C (theLockingInset): white space.
15225
15226 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15227
15228         * minibuffer.C: include <iostream>
15229
15230         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15231
15232         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15233
15234         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15235
15236         * text.[Ch] (TransposeChars): new method
15237
15238 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15239
15240         * call message directly through LyXView instead of through LyXFunc
15241         * BufferView2.C: adjust
15242         * BufferView_pimpl.C: adjust
15243         * FontLoader.C: adjust
15244         * buffer.C: adjust
15245         * bufferview_funcs.C: adjust
15246         * converter.C: adjust
15247         * figureForm.C: adjust
15248         * importer.C: adjust
15249         * lyx_cb.C: adjust
15250         * lyx_gui_misc.C: adjust
15251         * lyxfunc.C: adjust
15252         * lyxvc.C: adjust
15253         * text2.C: adjust
15254         + more files in subdirs
15255
15256         * lyxparagraph.h (size): move up int file
15257         (GetLayout): ditto
15258
15259         * adjust all uses of Assert to lyx::Assert.
15260
15261         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15262         lyxfunctional in namespace lyx
15263         * layout.C (hasLayout): ditto
15264         (GetLayout): ditto
15265         (GetLayout): ditto
15266         (delete_layout): ditto
15267         (NumberOfClass): ditto
15268         * converter.C (GetFormat): ditto
15269         (GetNumber): ditto
15270         (Add): ditto
15271         (Delete): ditto
15272         (SetViewer): ditto
15273         * bufferlist.C (getFileNames): ditto
15274         (emergencyWriteAll): ditto
15275         (exists): ditto
15276         (getBuffer): ditto
15277         * MenuBackend.C (hasSubmenu): ditto
15278         (hasMenu): ditto
15279         (getMenu): ditto
15280         * BufferView_pimpl.C (getInsetByCode): ditto
15281
15282 2001-04-18  Juergen Vigna  <jug@sad.it>
15283
15284         * vspace.C (asLatexString): fixed the 100% problem.
15285
15286 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15287
15288         * lyxfunc.C (Dispatch):
15289         * minibuffer.C:
15290         * minibuffer.h: add a few std:: qualifiers
15291
15292 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15293
15294         * minibuffer.[Ch]: reimplement so that commands is initiated and
15295         run from lyxfunc, simplified som handling, and made the completion
15296         and history code for complete. wip.
15297
15298         * lyxfunc.C (processKeySym): call message
15299         (miniDispatch): new temporary method
15300         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15301         (LFUN_MESSAGE): implement
15302         (LFUN_MESSAGE_PUSH): implement
15303         (LFUN_MESSAGE_POP): implement
15304         (initMiniBuffer): the initial/defualt minibuffer message.
15305
15306         * lyxfont.[Ch]: inline some more getters
15307
15308         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15309
15310         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15311
15312         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15313         (AutoSave): use LFUN_MESSAGE
15314         (Reconfigure): ditto
15315
15316         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15317
15318         * figureForm.C: use LFUN_MESSAGE
15319
15320         * converter.C (runLaTeX): use LFUN_MESSAGE
15321
15322         * bufferview_funcs.C: use LFUN_MESSAGE
15323         (Melt): ditto
15324         (changeDepth): ditto
15325
15326         * bufferparams.h: use boost::
15327
15328         * bufferlist.h: inherit privately from noncopyable
15329
15330         * bufferlist.C (loadLyXFile): remove some commented code.
15331
15332         * buffer.C (runChktex): use LFUN_MESSAGE
15333
15334         * ShareContainer.h: inherit privately from noncopyable
15335
15336         * ParagraphParameters.[hC] (depth): inline it.
15337
15338         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15339         methods.
15340         (message): new method
15341         (messagePush): ditto
15342         (messagePop): ditto
15343         (show): init minibuffer
15344         (showState): direct call
15345
15346         * LaTeX.[Ch]: inherit privately from noncopyable
15347         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15348         instead of WriteStatus.
15349
15350         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15351
15352         * BufferView_pimpl.C (buffer): don't init minibuffer
15353         (workAreaButtonPress): use LFUN_MESSAGE
15354         (workAreaButtonRelease): ditto
15355         (savePosition): ditto
15356         (restorePosition): ditto
15357         (MenuInsertLyXFile): ditto
15358         (workAreaExpose): don't init minibuffer
15359         (update): remove commented code, simplify
15360
15361         * BufferView2.C (openStuff): use LFUN_MESSAGE
15362         (toggleFloat): ditto
15363         (menuUndo): ditto
15364         (menuRedo): ditto
15365         (copyEnvironment): ditto
15366         (pasteEnvironment): ditto
15367         (copy): ditto
15368         (cut): ditto
15369         (paste): ditto
15370         (gotoInset): ditto
15371         (updateInset): remove some commented code
15372
15373         * lastfiles.h: inherit privately from noncopyable
15374         * layout.h: ditto
15375         * lyx_gui.h: ditto
15376         * lyx_main.h: ditto
15377         * lyxlex.h: ditto
15378         * lyxlex_pimpl.h: ditto
15379
15380         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15381         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15382         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15383
15384         * LyXAction.h: inherit privately from noncopyable, add methods
15385         func_begin, func_end, returning iterators to the func map.
15386
15387         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15388         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15389         (func_begin): new method
15390         (func_end): new method
15391
15392         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15393         and not)
15394         (copySelection): ditto
15395         (pasteSelection): ditto
15396
15397         * BufferView.C: whitespace change
15398         * BufferView.h: inherit privately from noncopyable
15399
15400 2001-04-16  Allan Rae  <rae@lyx.org>
15401
15402         * tabular-old.C (l_getline):
15403         * spellchecker.C (sc_check_word):
15404         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15405         an unrecognised preprocessor directive.  So ensure they're wrapped.
15406
15407 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15408
15409         * src/exporter.C (Export): Give an error message when path to file
15410         contains spaces.
15411
15412 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15413
15414         * LaTeX.C (deplog): Always check that foundfile exists.
15415
15416 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15417
15418         * lyx_main.h:
15419         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15420
15421 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15422
15423         * tabular.[Ch] (getLabelList): implement new method
15424
15425         * minibuffer.h: comment ouf setTiimer
15426
15427         * minibuffer.C (ExecutingCB): constify res
15428         (peek_event): constify s
15429         (Set): constify ntext
15430         (Init): constify nicename
15431
15432         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15433
15434         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15435         (savePosition): use two params to Minibuffer::Set
15436         (restorePosition): ditto
15437
15438 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15439
15440         * lyx_main.C: include language.h
15441
15442         * Makefile.am (lyx_main.o): add language.h
15443
15444 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15445
15446         * exporter.C:
15447         * paragraph.C:
15448         * screen.C:
15449         * tabular.C:
15450         * CutAndPaste.C: include gettext.h
15451
15452         * lyxfont.h: remove old hack with ON and OFF.
15453
15454         * lyxparagraph.h:
15455         * lyxfont.h: do not include language.h...
15456
15457         * BufferView2.C:
15458         * LaTeXFeatures.C:
15459         * Painter.C:
15460         * bufferview_funcs.C:
15461         * font.C:
15462         * lyxfont.C:
15463         * text.C:
15464         * text2.C:
15465         * trans_mgr.C:
15466         * paragraph.C: ... but do it here instead
15467
15468 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15469
15470         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15471
15472         * tabular.C: small reformat
15473
15474         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15475         NEW_INSETS version
15476         (GetChar): ditto
15477         (BreakParagraph): ditto
15478         (SetOnlyLayout): ditto
15479         (SetLayout): ditto
15480
15481         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15482         with one arg less.
15483
15484         * lastfiles.C: removed most using decl, add std:: where needed
15485
15486         * buffer.C: ws changes
15487
15488         * MenuBackend.C (class compare_format): put into anon namespace
15489         (expand): constify label, names, action, action2
15490         (expand):
15491
15492         * text.C (SingleWidth): constify font
15493         (IsBoundary): constify rtl2
15494         (GetVisibleRow): constify ww
15495
15496         * LaTeX.C (deplog): constify logfile
15497
15498         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15499         start_x, end_x
15500         (workAreaExpose): constify widthChange, heightChange
15501
15502         * lyxrow.C (par): moved
15503         (height): moved
15504         (next): moved
15505         * lyxrow.h: as inlines here
15506
15507         * lyxfont.h (shape): moved from lyxfont.C
15508         (emph): moved from lyxfont.C
15509
15510         * lyxfont.C (LyXFont): use initialization list for all
15511         constructors
15512         (shape): move to lyxfont.h as inline
15513         (emph): move to lyxfont.h as inline
15514
15515
15516 2001-04-04  Juergen Vigna  <jug@sad.it>
15517
15518         * vspace.C: had to include stdio.h for use of sscanf
15519
15520 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15521
15522         * BufferView.h:
15523         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15524         independent of xforms.
15525
15526 2001-04-02  Juergen Vigna  <jug@sad.it>
15527
15528         * spellchecker.C: fixed namespace placing!
15529
15530 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15531
15532         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15533         the LyXParagraph * is 0.
15534
15535 2001-03-29  Juergen Vigna  <jug@sad.it>
15536
15537         * vspace.C: added support for %, c%, p%, l%.
15538         (stringFromUnit): added helper function.
15539         (asLatexString): changed to give right results for the %-values.
15540
15541         * buffer.C: convert the widthp in a width%.
15542
15543 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15544
15545         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15546         figureForm.[Ch].
15547
15548         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15549         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15550
15551         * lyx_cb.[Ch]: see above.
15552
15553         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15554         form1.[Ch].
15555
15556         * form1.[Ch]:
15557         * lyx.[Ch]: replaced by figure_form.[Ch].
15558
15559         * lyx_gui.C:
15560         * lyx_gui_misc.C:
15561         * lyxfunc.C: changed headers associated with above changes.
15562
15563 2001-03-27  Juergen Vigna  <jug@sad.it>
15564
15565         * BufferView_pimpl.C: set the temporary cursor right!
15566
15567 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15568
15569         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15570
15571 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15572
15573         * LString.h: removed "using std::getline"!
15574
15575         * BufferView_pimpl.C (Dispatch): changes due to changes in
15576         InsetInclude::Params.
15577
15578         * buffer.C (tag_name): removed redundant break statements as they were
15579         producing lots of warnings with my compiler.
15580
15581 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15582
15583         * LString.h: add "using std::getline" when using the real <string>.
15584
15585 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15586
15587         * buffer.C: removed bitset usage.
15588         PAR_TAG moved to an anonymous name space.
15589         (tag_name): new funtion, also in the anonymous namespace.
15590         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15591         (makeDocBookFile): clean code. Completed transition from string arrays
15592         to string vectors.
15593         (SimpleDocBookOnePar): code clean.
15594
15595 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15596
15597         * tabular.C: add some comments.
15598
15599 2001-03-22  Juergen Vigna  <jug@sad.it>
15600
15601         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15602         compatibility read a bit and fixed bug with minipage in different
15603         depth.
15604
15605 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15606
15607         * buffer.C (pop_tag): removed.
15608         (push_tag): removed.
15609         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15610         array replaced with vector. Added support for CDATA sections.
15611         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15612         at any nest level.
15613         (makeDocBookFile): XML conformant declaration of CDATA section,
15614         fixed bug related to <emphasis> in the first paragraph char.
15615         (sgmlOpenTag): exclude empty tags.
15616         (sgmlCloseTag): ditto.
15617
15618         * buffer.h (pop_tag): removed.
15619         (push_tag): removed.
15620
15621 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15622
15623         * language.h (Languages): added size_type and size().
15624
15625 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15626
15627         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15628         response on compability reading of minipages. One probliem is that
15629         the old usage of minipages was «flertydig»
15630
15631         * several files here and in subdirs: don't use static at file
15632         scope use anon namespaces instead.
15633
15634 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15635
15636         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15637         LaTeX output. This is necessary for Literate document
15638         processing.
15639
15640 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15641
15642         * buffer.C: insert hfill when needed.
15643
15644         * tabular.C (l_getline): use string::erase, small whitespace change.
15645
15646         * BufferView_pimpl.C: try the anon namespace.
15647         * WorkArea.C: ditto
15648
15649 2001-03-16  Juergen Vigna  <jug@sad.it>
15650
15651         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15652         otherwise it won't open options-dialogs.
15653
15654         * buffer.C: honor pextraWidth(p) on converting minipages.
15655
15656         * tabular.C (l_getline): changed the functions to strip trailing \r.
15657
15658 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15659
15660         * BufferView_pimpl.C:
15661         * minibuffer..C: added "using SigC::slot" declaration.
15662
15663 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15664
15665         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15666
15667         * text2.C: ditto
15668
15669         * text.C: ditto
15670
15671         * paragraph.C: ditto
15672
15673         * lyxtext.h: NO_PEXTRA
15674
15675         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15676
15677         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15678         * ParameterStruct.h: ditto
15679         * ParagraphParameters.h: ditto
15680         * lyxparagraph.h: ditto
15681
15682 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15683
15684         * buffer.C: add compability for minipage alignment.
15685         (latexParagraphs): remove unwanted pextra check.
15686
15687         * several files: remove CXX_WORKING_NAMESPACES
15688
15689         * buffer.C (pop_tag): tie is in namespace boost
15690
15691         * BufferView.h: noncopyable is in namespace boost
15692         * lyxlex.h: ditto
15693         * lyx_main.h: ditto
15694         * lyx_gui.h: ditto
15695         * layout.h: ditto
15696         * lastfiles.h: ditto
15697         * bufferlist.h: ditto
15698         * ShareContainer.h: ditto
15699         * LyXView.h: ditto
15700         * LyXAction.h: ditto
15701         * LaTeX.h: ditto
15702
15703 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15704
15705         * Merging changes from BRANCH_MVC back into HEAD.
15706
15707         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15708
15709 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15710
15711         * BufferView_pimpl.C: change from intl.C
15712
15713         * combox.h:
15714         * combox.C:
15715         * Makefile.am: move combox.*
15716
15717         * form1.h:
15718         * form1.C:
15719         * lyx_gui.C:
15720         * intl.h:
15721         * intl.C: remove dialog (covered by prefs)
15722
15723 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15724
15725         * lyxfunc.C (Dispatch): removed redundant break statement.
15726
15727 2001-03-14  Juergen Vigna  <jug@sad.it>
15728
15729         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15730
15731 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15732
15733         * buffer.C: add hack to fix compability reading of minipages.
15734
15735 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15736
15737         * buffer.C (getLists): Cleanup.
15738
15739 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15740
15741         * lyxfont.C (update): don't honor toggleall on font size.
15742
15743 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15744
15745         * bmtable.c:
15746         * bmtable.h:
15747         * Makefile.am: moved to frontends/xforms/
15748
15749         * lyx_gui_misc.C:
15750         * lyxfunc.C:
15751         * BufferView_pimpl.C: changes for moved mathpanel
15752
15753 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15754
15755         * gettext.h: fix gettext_init() in --disable-nls
15756
15757 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15758
15759         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15760
15761 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15762
15763         * lyx.C:
15764         * lyx.h: strip external form
15765
15766 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15767
15768         * BufferView_pimpl.C: add comment, destroySplash()
15769
15770 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15771
15772         * BufferView_pimpl.C:
15773         * LyXAction.C:
15774         * buffer.C:
15775         * commandtags.h:
15776         * lyxfunc.C: use re-worked insetinclude
15777
15778 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15779
15780         * buffer.C: add using std::stringstream.
15781
15782         * lyx_cb.C: readd using std::ios.
15783
15784         * buffer.C: add using std::map.
15785
15786         * BufferView_pimpl.C: add using std::vector.
15787
15788         * ShareContainer.h: add std:: to swap.
15789
15790         * buffer.h: add some typedefs
15791         * buffer.C (getLists): use them
15792         (getLists): renamed from getTocList.
15793         add a counter for the different float types and use it in the
15794         generated string.
15795         (getLists): use the same counter for the NEW_INSETS and the "non"
15796         NEW_INSETS
15797
15798         * lyx_cb.h: remove unused items, includes, using etc.
15799
15800         * ShareContainer.h: remove some commented code, add more comments
15801         and "documentation".
15802
15803 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15804
15805         * buffer.C (getTocList): make the list also when NEW_INSETS is
15806         defined.
15807
15808         * buffer.h: remove TocType
15809
15810         * buffer.C (getTocList): change to return a map<string,
15811         vector<TocItem> >, implement for dynamic number of list.
15812
15813         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15814         * text2.C (PasteSelection): adjust
15815         * CutAndPaste.C (pasteSelection): adjust
15816
15817         * FloatList.C (FloatList): update from the new_insets branch.
15818         * Floating.[Ch]: ditto
15819         * LaTeXFeatures.C: ditto
15820         * buffer.C: ditto
15821         * lyxlex_pimpl.C: ditto
15822
15823         * paragraph.C (Last): remove when NEW_INSETS is defined.
15824
15825         * other file: changes because of the above.
15826
15827 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15828
15829         * lyxparagraph.h: rename next to next_, previous to previous_,
15830         make them private for NEW_INSETS. Rename Next() to next(),
15831         Previous() to previous().
15832
15833         * other files: changes because of the above.
15834
15835 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15836
15837         * BufferView.h:
15838         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15839         problem.
15840
15841 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15842
15843         * main.C (main): pass lyx_localedir to gettext_init().
15844
15845         * gettext.h: remove locale_init and gettext_init macros
15846
15847         * gettext.C (locale_init): new function
15848         (gettext_init): new function
15849
15850         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15851         setlocale().
15852
15853 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15854
15855         * Moved credits to frontends:
15856         * credits.[Ch]: removed
15857         * credits_form.[Ch]: removed
15858         * lyx_gui_misc.C: remove credits stuff
15859         * Makefile.am:
15860
15861 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15862
15863         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15864
15865         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15866         unneeded destructor.
15867
15868         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15869         a standalone pointer again.
15870
15871         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15872
15873 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15874
15875         * Makefile.am:
15876         * filedlg.h:
15877         * filedlg.C:
15878         * LyXAction.C:
15879         * ToolbarDefaults.C:
15880         * bufferlist.C:
15881         * commandtags.h:
15882         * form1.C:
15883         * form1.h:
15884         * lyx_cb.C:
15885         * lyx_cb.h:
15886         * lyxfunc.h:
15887         * lyxfunc.C:
15888         * BufferView_pimpl.C: use new file dialog in GUII
15889
15890         * lyx_cb.h:
15891         * lyx_cb.C: remove LayoutsCB to Toolbar
15892
15893 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15894
15895         * ShareContainer.h (get): add std:: qualifier
15896
15897 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15898
15899         * ShareContainer.h: define a proper ShareContainer::value_type
15900         type (and use typename to please compaq cxx)
15901
15902 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15903
15904         * lyxparagraph.h: move serveral local vars to
15905         ParameterStruct/ParagraphParameters., use ShareContainer in
15906         FontTable., make vars in FontTable private and add getter and
15907         setter.
15908
15909         * paragraph.C: changes because of the above.
15910
15911         * lyxfont.h: remove copy constructor and copy assignment. (the
15912         default ones is ok), move number inside FontBits. move inlines to
15913         lyxfont.C
15914
15915         * lyxfont.C: add number to initializaton of statics, move several
15916         inlines here. constify several local vars. some whitespace
15917         cleanup. Dont hide outerscope variables.
15918
15919         * Spacing.h: add two new constructors to match the set methods.
15920
15921         * ShareContainer.h: new file, will perhaps be moved to support
15922
15923         * ParameterStruct.h: new file
15924
15925         * ParagraphParameters.h: new file
15926
15927         * ParagraphParameters.C: new file
15928
15929         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15930         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15931
15932         * BufferView_pimpl.C: ParagraphParameter changes.
15933         * buffer.C: Likewise.
15934         * bufferview_funcs.C: Likewise.
15935         * text.C: Likewise.
15936         * text2.C: Likewise.
15937
15938 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15939
15940         * lyxfind.C (LyXReplace): do not redefine default argument in
15941         implementation.
15942         (IsStringInText): ditto
15943         (SearchForward): ditto
15944         (SearchBackward): ditto
15945
15946 2001-03-06  Juergen Vigna  <jug@sad.it>
15947
15948         * lyxfind.C (IsStringInText): put parentes around expressions.
15949
15950 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15951
15952         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15953
15954 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15955
15956         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15957
15958         * stl_string_fwd.h: add comment
15959
15960         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15961
15962         * tabular.h:
15963         * tabular.C: remove unused DocBook methods
15964
15965         * intl.C:
15966         * language.C:
15967         * paragraph.C:
15968         * buffer.C:
15969         killed DO_USE_DEFAULT_LANGUAGE
15970
15971 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15972
15973         * lyx_gui.C: do not include language.h.
15974
15975         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15976         arguments in function implementation.
15977
15978 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15979
15980         * BufferView_pimpl.C: add <ctime>
15981
15982 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15983
15984         * BufferView_pimpl.C: add using std::find_if
15985
15986 2001-02-27  José Matos  <jamatos@fep.up.pt>
15987
15988         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15989         by OnlyPath.
15990
15991 2001-02-11  José Matos  <jamatos@fep.up.pt>
15992
15993         * buffer.C (makeDocBookFile): command styles now have a parameter as
15994         "title" by default.
15995
15996 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15997
15998         * layout_forms.[Ch]: removed
15999         * lyx_cb.[Ch]: out character
16000         * lyx_gui.C: out character
16001         * lyx_gui_misc.C: out character
16002         * bufferview_funcs.C: : out character,
16003         added toggleall as parameter in ToggleAndShow
16004
16005 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16006
16007         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16008
16009         * text2.C (SetCurrentFont): Disable number property at boundary.
16010
16011 2001-02-26  Juergen Vigna  <jug@sad.it>
16012
16013         * lyxfunc.C (getStatus): added a string argument override function so
16014         that this is correctly called from LyXFunc::Dispatch if it contains a
16015         do_not_use_argument which is used!
16016         (Dispatch): added check for "custom" export and call appropriate func.
16017
16018 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16019
16020         * lyxrc.C: Add language_command_local, language_use_babel and
16021         language_global_options.
16022
16023         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16024
16025         * buffer.C (makeLaTeXFile): Use language_use_babel and
16026         language_global_options.
16027
16028 2001-02-23  Juergen Vigna  <jug@sad.it>
16029
16030         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16031         which works with LyXText and putted it inside BufferView. Here now we
16032         only call for that part the BufferView::Dispatch() function.
16033
16034         * BufferView.C (Dispatch): added.
16035
16036         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16037         functions which needs to use a LyXText over from LyXFunc.
16038         (MenuInsertLyXFile): added
16039         (getInsetByCode): added
16040         (moveCursorUpdate): added
16041         (static TEXT): added
16042
16043 2001-02-22  Juergen Vigna  <jug@sad.it>
16044
16045         * BufferView_pimpl.C (update): call a status update to see if LyXText
16046         needs it.
16047
16048 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16049
16050         * vc-backend.C (revert): implement for CVS
16051         (getLog): implement for CVS
16052
16053 2001-02-20  Juergen Vigna  <jug@sad.it>
16054
16055         * text2.C (ClearSelection): added BufferView param for inset_owner call
16056
16057         * lyxfunc.C (TEXT): added this function and use it instead of
16058         directly owner->view()-text of getLyXText().
16059
16060 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16061
16062         * src/layout_forms.C: out preamble
16063         * src/layout_forms.h: out preamble
16064         * src/lyx_cb.C: out preamble
16065         * src/lyx_cb.h: out preamble
16066         * src/lyx_gui.C: out preamble
16067         * src/lyx_gui_misc.C: out preamble
16068         * src/lyxfunc.C: connect with guii preamble
16069
16070 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16071
16072         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16073
16074 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16075
16076         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16077         whether to run bibtex.
16078
16079 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16080
16081         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16082
16083 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16084
16085         * Makefile.am (lyx_SOURCES): removed bibforms.h
16086
16087         * vspace.h: doxygen
16088
16089         * text.C (GetVisibleRow): make several local vars const
16090
16091         * tabular.C: small cleanup.
16092
16093         * lyxserver.C (callback): use compare instead of strncmp
16094
16095         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16096         inlines to after class or to paragraph.C
16097
16098         * lyxfont.h: remove friend operator!=
16099
16100         * converter.h: move friend bool operator< to non friend and after
16101         class def.
16102
16103         * combox.h: small cleanup
16104
16105         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16106         to inlines after class def.
16107
16108         * buffer.C (pop_tag): use string operations instead of strcmp
16109
16110         * bmtable.c: doxygen, small cleanup
16111
16112         * LaTeX.h: remove friend operator==
16113
16114 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16115
16116         * screen.C:
16117         * lyxrc.[Ch]:
16118         * lyxfunc.C:
16119         * lyxfont.[Ch]:
16120         * lyx_cb.C:
16121         * intl.[Ch]:
16122         * commandtags.h:
16123         * buffer.C:
16124         * WorkArea.[Ch]:
16125         * LyXAction.C:
16126         * BufferView_pimpl.C:
16127         * BufferView.[Ch]: remove cruft
16128
16129 2001-02-14  Juergen Vigna  <jug@sad.it>
16130
16131         * lyxfunc.C: removed #if 0 unused code
16132
16133         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16134
16135         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16136
16137         * text2.C (SetSelection): added a BufferView * parameter
16138
16139 2001-02-13  Juergen Vigna  <jug@sad.it>
16140
16141         * lyxfunc.C (Dispatch): fixed protected blank problem.
16142         * BufferView2.C (protectedBlank): added LyxText * parameter.
16143
16144         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16145         (AppendColumn): same as above for column_info.
16146
16147         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16148         (moveCursorUpdate): use a LyXText param for support of InsetText.
16149
16150         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16151         (tripleClick): ditto
16152
16153         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16154
16155         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16156
16157         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16158
16159         * text2.C (SetSelection): set correct update status if inset_owner
16160         (ToggleFree): ditto
16161
16162 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16163
16164         * tabular.C: remove some commented code.
16165
16166 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16167
16168         * BufferView_pimpl.C: call hideSplash()
16169
16170         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16171
16172         * include_form.h:
16173         * bibforms.h: remove
16174
16175         * lyxfunc.C:
16176         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16177           add LFUN_CHILD_CREATE
16178
16179         * counters.h: fix tiny typo
16180
16181         * lyx_cb.C:
16182         * lyx.h:
16183         * lyx_gui.C:
16184         * lyx.C: move splash to frontends/xforms/
16185
16186         * lyx_gui_misc.C: move Include and Bibform to frontends
16187
16188         * lyxvc.h: clarify comment
16189
16190         * vspace.C: tiny housekeeping
16191
16192 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16193
16194         * text.C (PrepareToPrint): RTL Fix.
16195
16196         * paragraph.C (GetUChar): New method.
16197         (String):  Use GetUChar.
16198
16199         * buffer.C (asciiParagraph): Use GetUChar.
16200
16201 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16202
16203         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16204
16205 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16206
16207         * buffer.h:
16208         * buffer.C: rename to getLogName(), handle
16209           build log / latex log nicely
16210
16211 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16212
16213         * MenuBackend.C:
16214         * MenuBackend.h: remove support for reference menuitem type.
16215
16216 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16217
16218         * BufferView_pimpl.C: housekeeping
16219         * BufferView_pimpl.h:
16220         * LyXView.h:
16221         * Makefile.am:
16222         * Timeout.C:
16223         * Timeout.h:
16224         * minibuffer.h: move Timeout GUI-I
16225
16226 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16227
16228         * lyxrc.C (read): Update converters data-structures.
16229
16230 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16231
16232         * LaTeX.h (operator!=): add operator != for Aux_Info
16233
16234 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16235
16236         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16237
16238         * LaTeXLog.C: deleted, useful code moved to Buffer
16239
16240         * buffer.h:
16241         * buffer.C: new function getLatexLogName()
16242
16243         * lyx_gui_misc.C:
16244         * lyx_gui.C:
16245         * lyxvc.C:
16246         * lyxvc.h:
16247         * lyxfunc.C: use frontends for LaTeX and VC logs
16248
16249 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16250
16251         * LaTeX.h: yet another std:: that Allan forgot.
16252
16253         * Variables.C (set): renamed from isset(), because this clashes
16254         with some HP-UX macros (grr).
16255
16256 2001-02-06  Allan Rae  <rae@lyx.org>
16257
16258         * LaTeX.h: Another bug fix.  Missing std:: this time.
16259
16260 2001-02-04  Allan Rae  <rae@lyx.org>
16261
16262         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16263         floats problem. I've left it commented out because it's not quite
16264         correct.  It should also test that the current object is a table or
16265         figure inset.  But I haven't gotten around to figuring out how to do
16266         that.  I *think* it'll be something like: "table" == inset.type()
16267
16268         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16269         bool.
16270
16271 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16272
16273         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16274         all the citation/databases/styles in the auxilary file.
16275         (run): Rerun latex if there was a babel language error.
16276
16277 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16278
16279         * text.C (Backspace): Preserve the font when changing newline char
16280         with a space.
16281         (BreakParagraph): If the cursor is before a space, delete the space.
16282
16283         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16284
16285 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16286
16287         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16288         new argument (code).
16289         (ChangeCitationsIfUnique): New method.
16290
16291         * paragraph.C (GetPositionOfInset): Handle bibkey.
16292
16293 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16294
16295         * BufferView_pimpl.h: change type of Position::par_pos to
16296         LyXParagraph::size_type.
16297
16298 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16299
16300         * BufferView_pimpl.C (savePosition, restorePosition): Write
16301         messages to minibuffer.
16302
16303 2001-01-28  José Matos  <jamatos@fep.up.pt>
16304
16305         * buffer.C (makeDocBookFile): adds support for document language.
16306         A silly restriction on the name of LatexCommand types where removed.
16307         Added support for CDATA sections, allows to chars unescaped, used
16308         among others in code, to avoid escape < and >.
16309
16310 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16311
16312         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16313         saved positions instrad of a stack. Furthermore, a position is
16314         stored using paragraph id/paragraph position.
16315
16316         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16317         Remove LFUN_REF_BACK.
16318
16319 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16320
16321         * converter.C (dvipdfm_options): New method.
16322
16323 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16324
16325         * vspace.C (isValidLength): Fix for empty input string.
16326
16327 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16328
16329         * LyXAction.C (init): change description of LFUN_FIGURE to
16330         "Insert Graphics"
16331
16332 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16333
16334         * LaTeX.C: add using directive
16335
16336 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16337
16338         * MenuBackend.C (expand): Fix the sorting of the formats.
16339
16340 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16341
16342         * lyx_main.C: tiny error message fix
16343
16344 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16345
16346         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16347         calling fl_initialize(). This fixes the problem with ',' as
16348         decimal separator in text files.
16349
16350 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16351
16352         * trans.C (process): Fix the keymap bug.
16353
16354 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16355
16356         * LaTeX.C (scanAuxFiles): New method. Provides support for
16357         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16358         (scanLogFile) Scan for "run BibTeX" messages.
16359
16360         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16361         OT1 font encoding. Also, load the aecompl package if the ae
16362         package is loaded.
16363
16364         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16365
16366 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16367
16368         * texrow.C (increasePos): turn two error messages into debug
16369         messages.
16370
16371 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16372
16373         * LaTeX.C (scanAux): Handle the \@input macro.
16374         (runBibTeX): Use scanAux().
16375
16376         * language.C (latex_options_): New field.
16377
16378         * LaTeXFeatures.C (getMacros): Add language macros.
16379
16380         * buffer.C (makeLaTeXFile): Small fix.
16381
16382 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16383
16384         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16385
16386         * text2.C: add a using directive.
16387
16388 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16389
16390         * BufferView2.C:
16391         * lyx_gui_misc.h:
16392         * lyxfr1.C:
16393         * lyxfunc.C: kill LyXBell.
16394
16395 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16396
16397         * text.C (IsBoundary): Remove the error message
16398
16399         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16400
16401         * lyxrc.C (setDefaults): Correct initialization value for
16402         font_norm_type.
16403
16404 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16405
16406         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16407         gotoError().
16408
16409         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16410         and GotoNextNote().
16411
16412         * src/LyXAction.C: Added reference-next.
16413
16414         * text.C (InsertChar): Use contains instead of strchr.
16415
16416         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16417
16418 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16419
16420         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16421         alignment commands (when needed).
16422
16423         * text.C (InsertChar): Add ':' to number separator chars.