]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
enable tfrac
[lyx.git] / src / ChangeLog
1
2 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * text.C (backspace): fix crash
5
6 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * format.[Ch] (getFormatFromFile): new method
9         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
10
11 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
14
15 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16
17         * lyxfunc.C (dispatch): remove the verbose argument
18         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
19         instead
20
21         * kbmap.C (defkey): set the origin of func to KEYBOARD
22
23         * MenuBackend.C (MenuItem): 
24         * ToolbarBackend.C (add): set the origin of func to UI
25
26         * funcrequest.[Ch]: add origin member, which indicates which part
27         of LyX requests an action
28
29 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
30
31         * converter.C (move): don't lie in the error message
32         * converter.h (isReachable, move): document
33
34 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
35
36         * buffer.C: remove unused using lyx::support::atoi
37         * paragraph_funcs.C: ditto
38
39 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
40
41         * bufferlist.C (exists): use bind and equal_to instead of
42         compare_memfun
43         (getBuffer): ditto
44         * lyxtextclasslist.C (NumberOfClass): ditto
45
46         * cursor.C (insert): use for_each instead of explicit for loop
47
48         * bufferlist.C (getFileNames): use std::transform and
49         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
50
51         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
52         for loop
53
54         * buffer.C (changeLanguage): use for_each instead of explicit for
55         loop
56         (hasParWithID): implement using getParFromID
57
58         * LaTeXFeatures.C: ws change only
59
60         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
61         to cleanup a bit.
62
63         * BufferView_pimpl.C (trackChanges): use for_each instead of
64         expilicit for loop
65
66 2004-11-04  André Pönitz  <poenitz@gmx.net>
67
68         * undo.h:
69         * undo.C (textUndoOrRedo): fix crash when creating undo information.
70
71         * dociterator.C (asDocIterator): use hard assert again.
72
73 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
74
75         * lyxlength.C (asLatexString): rewrite so that it does not use
76         snprintf anymore
77
78 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
79
80         * text3.C (specialChar, dispatch): make sure cursor moves to the
81         right after inserting an inset
82
83 2004-11-02  José Matos  <jamatos@lyx.org>
84
85         * output_docbook.C (docbook):
86         * paragraph.C (getID):
87         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
88         garantee that the output is always legal.
89
90         * tabular.C (docbook):
91         * outputprams.[Ch]: remove mixed contents.
92
93 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
94
95         * text2.C (setCounter): prevent endless loop
96
97 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
98
99         * exporter.C (copyFile): use the mover instead of support::copy()
100         * exporter.C (Export): pass format and latex name to copyFile()
101         * exporter.h (addExternalFile): document
102         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
103
104 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
105
106         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
107
108 2004-10-30  José Matos  <jamatos@lyx.org>
109
110         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
111         text and no inset or font change. This allows to use CDATA
112         sections just for the whole paragraph.
113
114 2004-10-30  José Matos  <jamatos@lyx.org>
115
116         * paragraph.C (getFirstWord): remove unused variable.
117
118 2004-10-30  José Matos  <jamatos@lyx.org>
119
120         * paragraph.C (getFirstWord): the content should always be escaped
121         there.
122         (simpleDocBookOnePar):
123         * output_docbook.C (makeEnvironment): replace reference to CDATA
124         to style pass_thru.
125
126 2004-10-30  José Matos  <jamatos@lyx.org>
127
128         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
129
130 2004-10-30  José Matos  <jamatos@lyx.org>
131
132         * output_docbook.C (makeParagraphs):
133         * paragraph.[Ch] (emptyTag): for docbook and company, if the
134         standard paragraph has only a given type of content drop the wrapper.
135
136 2004-10-29  José Matos  <jamatos@lyx.org>
137
138         * output_docbook.C (makeEnvironment):
139         * sgml.C (openTag):
140         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
141
142 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
143
144         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
145         (cleanID): sanitize any id.
146
147 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
148
149         * buffer.C, lyxlex_pimpl.C:
150         * lyxlex_pimpl.C (setFile):
151         s/getExtFromContents/getFormatFromContents/
152
153 2004-10-28  José Matos  <jamatos@lyx.org>
154
155         * output_docbook.C (makeEnvironment): move id to broadest possible
156         scope.
157
158         * sgml.C (openTag): apply substitution of <> for all attributes.
159
160 2004-10-28  José Matos  <jamatos@lyx.org>
161
162         * buffer.C (makeLinuxDocFile, makeDocBookFile):
163         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
164         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
165
166         * sgml.[Ch]: new version for open and closeTag for paragraph and
167         for strings. Now they handle the ids of paragraphs.
168
169 2004-10-26  Angus Leeming  <leeming@lyx.org>
170
171         * Makefile.am: add mover.[Ch].
172
173         * converter.C (convert, move): use the new Movers to move external
174         files to the temp directory.
175
176         * lyx_main.C (init): ensure that the global system_movers data
177         is initialised.
178
179         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
180         preferences file.
181
182         * mover.[Ch]: new files, defining a Mover as a utility to move an
183         external file between directories and, if necessary, manipulate this
184         file using a helper script.
185
186 2004-10-25  José Matos  <jamatos@lyx.org>
187
188         * output_docbook.C (makeCommand): merge two if's that tested the
189         same condition.
190
191 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * sgml.C (escapeString): fix warning in a better way
194
195 2004-10-25  José Matos  <jamatos@lyx.org>
196
197         * sgml.C (escapeString): import the require boosts header file for
198         tie, and avoid a signed unsigned comparison.
199
200 2004-10-25  José Matos  <jamatos@lyx.org>
201
202         * sgml.h: add #include <string>
203
204 2004-10-25  José Matos  <jamatos@lyx.org>
205
206         * sgml.[Ch] (escapeString): new function to escape all the string.
207
208 2004-10-24  José Matos  <jamatos@lyx.org>
209
210         * paragraph.[Ch] (getFirstWord): new function to get the first
211         word. Useful for description.
212         (simpleDocBookOnePar): remove depth argument, add another that
213         says where to start the paragraph.
214
215         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
216         use the new functions to fix cleanly the support for descriptions.
217
218 2004-10-24  José Matos  <jamatos@lyx.org>
219
220         * buffer.C (makeLinuxDocFile, makeDocBookFile):
221         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
222         * output_linuxdoc.C (linuxdocParagraphs):
223         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
224         add buffer as argument.
225
226 2004-10-24  José Matos  <jamatos@lyx.org>
227
228         * output_docbook.C (makeEnvironment, searchEnvironment): place
229         CDATA inside paragraphs and fix scope for listitems.
230
231 2004-10-24  José Matos  <jamatos@lyx.org>
232
233         * output_docbook.C: remove using statement for stack.
234
235 2004-10-23  José Matos  <jamatos@lyx.org>
236
237         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
238         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
239         docbook. The new scheme is recursive and makes use of iterators, the
240         same as latex export works.
241         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
242         directly with the paragraph contents. This code was moved up to
243         output_docbook.C (docbookParagraphs).
244         * sgml.C (openTag, closeTag): removed unneeded newlines.
245         (closeEnvTags) removed.
246
247 2004-10-23  André Pönitz  <poenitz@gmx.net>
248
249         * undo.C (textUndoOrRedo):
250         * dociterator.C (asDocIterator): work around crash
251
252         * cursor.C (getStatus): replace ASSERT by more verbose error message
253           and manual correction of the problem. Should increase stability
254           while providing more sensible information.
255
256 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
259
260         * bufferlist.C (previous, next): new methods
261
262         * lfuns.h:
263         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
264
265 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
266
267         * buffer.C (makeDocBookFile): add dsssl stylesheet control
268         entities to preamble.
269
270 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
271
272         * messages.C (Pimpl): strip off translation context information
273
274 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
277         the cursor is correct (bug 1694)
278
279 2004-10-13  José Matos  <jamatos@lyx.org>
280
281         * output_docbook.C (docbookParagraphs): fix closing tags in the
282         end of the document.
283
284 2004-10-09  José Matos  <jamatos@lyx.org>
285
286         * buffer.C: format up to 237.
287         * bufferparams.C (write): use tostr to convert booleans to strings.
288
289 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
290
291         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
292
293 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
294
295         * LaTeX.C: implement use of babel language in xindy.
296
297 2004-10-05  José Matos  <jamatos@lyx.org>
298
299         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
300         Add new translators to help reading and writing the lyx file.
301
302 2004-10-05  José Matos  <jamatos@lyx.org>
303
304         * ParagraphParameters.C (read):
305         * text.C (readParToken): replace nexToken by more appropriate lex
306         methods.
307
308 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
309
310         * LaTeX.C (runMakeIndex):
311         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
312         (usually 'makeindex') configurable.
313
314         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
315         with a variable rather than with a number.
316
317 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * output_latex.C (TeXOnePar): make sure font setting is the first
320         thing that gets output (and the last at the end). Should fix bug
321         1404.
322
323 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
324
325         * pch.h: use proper signal include
326
327         * LaTeX.h: Use preferred calling of Boost.Signal
328         * buffer.h: ditto
329
330 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
331
332         * pch.h: dont include <boost/function/function0.hpp>
333
334         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
335
336         * paragraph_pimpl.h: remove usage of ShareContainer
337
338         * paragraph_pimpl.C: remove initialization of ShareContainer.
339
340 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
341
342         Fix bug #1666
343
344         * BufferView.C (putSelectionAt): change the semantics when
345         backwards == true: now, this just swaps cursor and anchor wrt the
346         forward case
347
348         * BufferView.h (putSelectionAt): add some documentation
349
350         * lyxfind.C (findBackwards): rewrite using while(). In particular,
351         make sure backwardChar is done at least once (to avoid getting
352         stuck)
353         (findNextChange): use putSelectionAt in the forward direction
354         (operator()): use Paragraph::isWord
355
356 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
357
358         * Spacing.C (set): c_str fix
359
360 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
361
362         * lyx_cb.C (Reconfigure): quote the name of configure script in
363         case it contains spaces
364
365 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
366
367         * client: new dir
368
369         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
370         (BOOST_LIBS): use top_buildir when looking for the file
371
372 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
373
374         * pch.h: do not use include boost/format.hpp, multiple symbols
375                 will result (gcc bug)
376
377
378 2004-08-23  José Matos  <jamatos@lyx.org>
379
380         * bufferparams.C (readToken): fix reading of the author field.
381
382 2004-08-20  José Matos  <jamatos@lyx.org>
383
384         * lyxrc.C: remove support/translator.h inclusion since it is not used.
385
386 2004-08-20  José Matos  <jamatos@lyx.org>
387
388         * lyxlex.[Ch] (findToken): remove function.
389
390         * ParagraphParameters.C (findToken):
391         * bufferparams.C (findToken): replace call for previous function
392         with local copy. This local function has one more argument, the
393         read string argument.
394
395 2004-08-16  José Matos  <jamatos@lyx.org>
396
397         * ParagraphParameters.C (write):
398         * Spacing.C (writeFile):
399         * bufferparams.C (writeLaTeX):
400         * lyx_cb.C (Reconfigure):
401         * paragraph.C (write):
402         * tabular.C (write): remove unnecessary space at end of line.
403
404
405 2004-08-16  José Matos  <jamatos@lyx.org>
406
407         * text.C (readParagraph): remove debug message.
408
409 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
412         crash
413
414         * output_plaintext.C (asciiParagraph): set depth correctly
415
416         * outputparams.h: add member depth
417
418         * paragraph_funcs.C (ownerPar): remove.
419
420         * text2.C (setCounter): remove first_pit; comment out some
421         non-working code that uses ownerPar
422
423         * BufferView.C (getParentLanguage): remove. Not used anymore, and
424         uses ownerPar
425
426 2004-08-16  José Matos  <jamatos@lyx.org>
427
428         * text.C (readParToken, readParagraph, read): report all unknown tokens.
429         For the same level of importance use the same chanel to report problems.
430         (read): add code to deal with \begin_body and \end_body.
431
432
433 2004-08-15  José Matos  <jamatos@lyx.org>
434
435         * lyxlex.C (getString): fix comment, buffer::readBody is now
436         buffer:readDocument.
437
438         * tex-strings.C (string_papersize): Default -> default,
439         Custom -> custom, for consistency with other options.
440
441 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
442
443         * pch.h: new file
444
445         * Makefile.am: support pch
446
447 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
448
449         * text.C (readParToken): remove the static LyXFont variable and
450         pass it as a parameter instead. This fixes a nasty bug where an
451         inset will be inserted with a bad font in some situations
452         (readParagraph): adapt
453
454         * text2.C (setCounter): reduce number of calls to pars_[pit]
455
456         * text.C (singleWidth): add an assert, fix a test
457
458         * rowpainter.C (paintText): reduce number of calls to singleWidth
459
460         * paragraph.C (isHfill):
461         (isNewline): ws only
462
463 2004-08-14  André Pönitz  <poenitz@gmx.net>
464
465         * text.C:
466         * text2.C:
467         * rowpainter.C:
468         * lyxtext.h (several functions): use a Paragraph & argument
469         instead of par_type
470
471 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
472
473         * metricsinfo.h: add a new field ltr_pos to PainterInfo
474
475         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
476
477         * text.C (singleWidth): remove useless test
478
479 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
480
481         * tabular.h: remove bogus comments
482
483         * tabular.C (getDescentOfRow):
484         (isPartOfMultiColumn): add assertions
485
486         * lyxlength.C (inPixels): remove #warning
487
488 2004-08-14  André Pönitz  <poenitz@gmx.net>
489
490         * paragraph.h: inline getChar()
491
492         * BufferView.h: remove unused declarations
493
494 2004-08-14  José Matos  <jamatos@lyx.org>
495
496         * Buffer.[Ch] (readDocument): new name for old readBody.
497         * Buffer.C: new file format, new keywords: \begin_document,
498         \begin_header, \begin_body, \end_body.
499
500         * bufferparams.C (readToken): replace all calls to lex.nextToken
501         by lex.next(). Do the same to eatLine except where really needed.
502
503         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
504         line when writing to the lyx file.
505
506         * output_plaintext.C (asciiParagraph): fix Bibliography style
507         handling.
508
509         * text.C (read): fix end of file handling.
510
511 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
512
513         * MenuBackend.C (Menu::operator[]): new method to access
514         individual menu items
515         (Menu::hasFunc): new method. search for an item that corresponds
516         to a given func
517         (MenuBackend::specialMenu): new method
518         (MenuBackend::expand): if a special menu has been set, skip
519         entries whose func() appears in this menu
520
521 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
522
523         * text3.C: use Debug::DEBUG a bit more
524
525         * text.C (leftMargin): try to simplify a tiny bit change var x to
526         l_margin. Dont output the wide margins always.
527         (rightMargin): no margin in inner texts
528
529         * rowpainter.h (nestMargin): new func
530         (changebarMargin): new func
531         (rightMargin): new func
532
533         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
534         now functions.
535         (paintLast): ditto
536
537         * factory.C (createInset): modify setDrawFrame
538
539         * cursor.C: use Debug::DEBUG a bit more
540
541 2004-08-14  André Pönitz  <poenitz@gmx.net>
542
543         * coordcache.[Ch]:
544         * Makefile.am: new files to accomodate an 'external' (x,y)-position
545         cache for all insets in (at least partially) visible (top-level)
546         paragraphs.
547
548         * BufferView_pimpl.C: reset external coord cache before every update.
549         This means the coord cache only contains valid entries.
550
551 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
552
553         bug 1096
554         * BufferView_pimpl.C (getInsetByCode): move function out of class
555         and change in to a template in anon namespace. Also fix to do what
556         suits us better.
557
558 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
559
560         bug 1305
561         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
562         of char
563         (breakParagraph): rename par to par_offset and use a local
564         reference. Add code to keep the language over a rebreak.
565         (breakParagraphConservative): rename par to par_offset, use a
566         local reference
567         (mergeParagraph): ditto
568         (outerHook): ditto
569         (isFirstInSequence): ditto
570         (outerFont): rename pit to par_offset
571
572         * paragraph.C: ws change
573         * paragraph.h: ditto
574         * text3.C: ditto
575         * text.C: ditto
576
577 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
578
579         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
580         treatment for ']'
581
582         * paragraph.C (simpleTeXOnePar): when we have a \item with
583         optional argument, enclose the argument with curly brackets (in
584         case it contains a closing square bracket)
585
586         * text2.C (editXY):
587         * text2.C (editXY):
588         * text3.C (checkInsetHit): constify
589
590 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
591
592         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
593         documents (bug 1629)
594
595 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
596
597         Fix toggling of collapsable insets with the mouse (bug 1558)
598
599         * lyxfunc.C (dispatch): adapt to LCursor changes
600
601         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
602         make sure that dispatch is not invoked twice
603
604         * cursor.C (needsUpdate): new method
605         (dispatch): return void
606         (result): new method, to access the DispatchResult of the cursor.
607
608 2004-08-13  José Matos  <jamatos@lyx.org>
609
610         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
611
612 2004-08-13  André Pönitz  <poenitz@gmx.net>
613
614         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
615
616         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
617           multiple cells
618
619 2004-08-12  André Pönitz  <poenitz@gmx.net>
620
621         * text3.C: take out the 'cursor right' form insertInset and only
622         do it in those places when it is really needed. Fixes crash on
623         C-m...
624
625 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
626
627         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
628
629         * BufferView_pimpl.C (setBuffer): initialize the current font of
630         the underlying LyXText
631
632 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
633
634         * kbsequence.C (print): use UI native formatting for menu
635         shortcuts
636
637         * text.C (insertChar): call Paragraph::insertChar with a font
638         argument (cosmetic)
639
640         * paragraph.C (insertInset, insertChar): the version that takes a
641         LyXFont argument is now a wrapper around the other one (the
642         opposite used to be true).
643
644         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
645         argument. Font setting is done in Paragraph now.
646
647 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * outputparams.h: add new members intitle and lang.
650
651         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
652         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
653
654 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
655
656         * text3.C (dispatch): remove special handling of button 4 and 5,
657         it is now taken care of in the frontend code.
658
659 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
660
661         * Spacing.h: add <string> (STLPort compile fix)
662
663 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
664
665         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
666
667 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
668
669         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
670         to bool.
671
672         * converter.C (showMessage): inherit from unary_function, make
673         operator() const.
674
675         * buffer.C (writeFile): initialize retval
676
677         * InsetList.h: rename private variable list to list_
678         * InsetList.[Ch]: adjust accordingly.
679
680 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
681
682         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
683         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
684         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
685         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
686         * ParagraphParameters.C, LaTeXFeatures.C: replace
687         "support/std_sstream.h" with <sstream>
688
689 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
690
691         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
692         * lyxsocket.C (LyXServerSocket): ditto
693         (serverCallback): ditto
694
695 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
696
697         * LaTeXFeatures.C: check release date when loading jurabib.
698
699 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
700
701         * lyxserver.C (startPipe): call register_socket_callback
702         (endPipe): call unregister_socket_callback
703
704 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
705
706         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
707         (LyXServerSocket): register the callback
708         (LyXServerSocket): unregister the callback
709         (fd): delete function
710         (serverCallback): improve error checking and setup the callbacks.
711         (dataCallback): change arg to fd.
712         (writeln): new func (copied fro the client socket) used for server
713         write to client.
714         (LyXDataSocket): simplify
715         (~LyXDataSocket): close ann unregiser callback
716         (server): delete function
717         (fd): delete function
718         (readln): small changes, improve some std::string usage
719         (writeln): constify a bit
720
721 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
724         Qt frontend
725
726 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
727
728         * BufferView_pimpl.C (setBuffer): set the layout combox value only
729         after it has been populated
730
731 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
732
733         * text2.C (insertInset): move cursor when inserting inset.
734
735 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         * kbmap.C (findbindings): a couple of new methods. returns a
738         container of kb_sequence objects. The real work is done by the
739         private recursive version
740         (printbindings): uses findbindings to print out a bracketed list
741         of bindings (renamed from findbinding).
742
743         * MenuBackend.C (binding): use kb_keymap::findbindings
744
745         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
746
747 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
748
749         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
750
751 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
752
753         * paragraph.C (isWord): return true on insets that report
754         isLetter().
755
756         * text.C (getWord): use Paragraph::isWord to decide what is in a
757         word and what is not; fix bug 1609.
758
759 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
760
761         * tex-strings.C: add "none" to string_paperpackages[], fixes
762         off-by-one-error in the paperpackage selection.
763
764         * lyxlex.[Ch]:
765         * tex-strings.[Ch]: char const * string[n]
766         -> char const * const string[]
767
768 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
769
770         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
771         command, return early.
772
773 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
774
775         * debug.h: add DEBUG to enum and fix size of ANY.
776
777         * debug.C: add support for Debug::DEBUG
778         (showTags): cast errorTags.level to unsigned int
779
780         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
781         (redoCurrentBuffer): ditto
782         (updateScrollbar): ditto
783         * cursor.C (dispatch): ditto
784         * text2.C (setLayout): ditto
785         (setFont): ditto
786         (updateCounters): ditto
787         (editXY): ditto
788         (deleteEmptyParagraphMechanism): ditto
789
790 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
791
792         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
793         annotations to cleanup the Makefile slightly.
794
795 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
796
797         * lyxrc.C: do not set user_email to a default value but use empty
798         instead. The entry used to be translated, which does not work
799         since at the point where lyxrc is constructed there is no
800         translation service available
801
802         * messages.C (getLocaleDir): remove and use directly
803         lyx_localedir() instead
804
805 2004-06-02  Angus Leeming  <leeming@lyx.org>
806
807         Fix crash caused by dereferencing null pointer 'exportdata' in
808         OutputParams by creating a new ExportData variable on the heap,
809         storing it in a boost::shared_ptr.
810         The crash was triggered when generating an Instant Preview
811         of an external inset.
812
813         * Makefile.am: add outputparams.C
814
815         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
816         (c-tor): allocate memory to it.
817
818         * exporter.C (c-tor): associated changes.
819
820 2004-06-01  Angus Leeming  <leeming@lyx.org>
821
822         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
823         contains data before calling isInset(0). (Bug 1513.)
824
825 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
826
827         * exporter.C (checkOverwrite): new method
828         * exporter.C (copyFile): new method
829         * exporter.C (Export): copy referenced files to the document dir
830         * exporter.[Ch]: new class ExportedFile
831         * exporter.[Ch]: new class ExportData. Contains currently the
832         names of referenced external files
833         * outputparams.h: add exportdata member.
834
835 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
836
837         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
838         version.C-tmp
839
840 2004-05-19  Angus Leeming  <leeming@lyx.org>
841
842         * LaTeXFeatures.C:
843         * ToolbarBackend.C:
844         * bufferparams.C:
845         * lyxfunc.C: small changes due to the introduction of namespace
846         lyx::frontend and the moving of namespace biblio to lyx::biblio.
847
848 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
849
850         * text3.C (dispatch): supress update when only moving the cursor
851         * cursor.C (selHandle): remove commented code
852
853 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
854
855         * paragraph.C (startTeXParParams): correct column count
856         * CutAndPaste.C (pasteSelection): remove const_cast
857         * output_docbook.C (docbookParagraphs): remove const_cast
858         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
859         const_cast and return ParagraphList::const_iterator
860         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
861         * output_plaintext.C (writeFileAscii): remove const_cast
862         * paragraph.[Ch] (simpleTeXOnePar): make const
863         * paragraph_funcs.C (outerPar): use const iterators
864         * paragraph_pimpl.C (validate): use const iterators
865         * text.C (setHeightOfRow): use const iterators
866
867 2004-05-17  Angus Leeming  <leeming@lyx.org>
868
869         * lfuns.h:
870         * LyXAction.C (init): new LFUN_INSET_REFRESH.
871
872         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
873         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
874         if the citation engine has changed.
875
876 2004-05-14  José Matos  <jamatos@lyx.org>
877
878         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
879         if the textclass does not provide it. Have it different for sgml and
880         xml.
881         support the language of document.
882         * output_docbook.C (docbookParagraphs):
883         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
884         first anchor as the id of the paragraph, remove special case code.
885         * sgml.C (escapeChar): escape only < & >.
886
887 2004-05-14  Angus Leeming  <leeming@lyx.org>
888
889         * bufferparams.h: move biblio::CiteEngine enum here to minimize
890         dependencies on src/frontends/controllers/biblio.h. Define a
891         CiteEngine_enum wrapper class to enable the enum to be forward
892         declared.
893
894 2004-05-12  Angus Leeming  <leeming@lyx.org>
895
896         * buffer.C: up LYX_FORMAT to 234.
897         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
898         use_numerical_citations with a single biblio::CiteEngine cite_engine
899         variable.
900         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
901
902 2004-05-13  José Matos  <jamatos@lyx.org>
903
904         * converter.h:
905         * converter.C (Converter, readFlags): add xml member.
906         * outputparams.h: add XML flavor.
907         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
908
909 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
910
911         * lyxfunc.C (dispatch):
912         (getStatus): fix handling of LFUN_SEQUENCE
913
914 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
915
916         * debug.C (showLevel): do not forget the end-of-line marker
917
918 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
919
920         * kbmap.C (read): do not stop parsing a bind file when an error
921         occurs (bug 1575)
922
923 2004-04-29  Angus Leeming  <leeming@lyx.org>
924
925         * cursor.C:
926         * factory.C:
927         * pariterator.C:
928         * text2.C: wrap a bunch of #warning statements
929         inside #ifdef WITH_WARNINGS blocks.
930
931 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
932
933         * buffer.C: increment format to 233.
934
935 2004-04-28  Angus Leeming  <leeming@lyx.org>
936
937         * BufferView_pimpl.C:
938         * lyxfunc.C:
939         * text3.C:
940         s/updateToolbar()/updateToolbars()/
941         s/Toolbar.h/Toolbars.h/
942
943 2004-04-28  Angus Leeming  <leeming@lyx.org>
944
945         * BufferView.[Ch] (c-tor):
946         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
947         No longer passes these data to the WorkArea generator.
948
949 2004-04-28  Angus Leeming  <leeming@lyx.org>
950
951         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
952
953 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
954
955         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
956
957 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
958
959         * output_latex.C (TeXEnvironment): make sure that there is a line
960         break before \end{foo} for the last paragraph of a document
961         (TeXOnePar): if the paragraph is at the end of the document (or
962         inset) and the language has to be reset, then make sure that the
963         line break is _before_ the language command, not after (fixes bug
964         1225); also make sure that the language reset command is the first
965         thing after the paragraph (to ensure proper nesting of
966         environments and thus fix bug 1404)
967
968 2004-04-21  John Levon  <levon@movementarian.org>
969
970         * ToolbarBackend.h:
971         * ToolbarBackend.C: make "name" be a programmatic name
972         and a gui_name field.
973
974         * lyxfunc.C: display the minibuffer on M-x
975
976 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
977
978         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
979         (bug 1526)
980
981 2004-04-19  Angus Leeming  <leeming@lyx.org>
982
983         * BufferView_pimpl.C (setBuffer): changed preview interface.
984
985         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
986         possible values.
987
988 2004-04-19  John Levon  <levon@movementarian.org>
989
990         * BufferView_pimpl.C:
991         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
992
993 2004-04-05  Angus Leeming  <leeming@lyx.org>
994
995         * text.C (redoParagraphs): add call to updateCounters(), thereby
996         fixing the missing "Figure #:" label from the caption of a
997         figure float.
998
999 2004-04-13  Angus Leeming  <leeming@lyx.org>
1000
1001         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1002         cursor is clicked out of an inset.
1003
1004 2004-04-13  Angus Leeming  <leeming@lyx.org>
1005
1006         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1007         than an InsetOld one.
1008
1009 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1010
1011         * format.[Ch]: add editor to Format
1012         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1013         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1014
1015 2004-04-08  André Pönitz  <poenitz@gmx.net>
1016
1017         * metricsinfo.h: remove PainterInfo::width member
1018
1019 2004-04-08  Angus Leeming  <leeming@lyx.org>
1020
1021         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1022         "\providecommand" rather than "\newcommand", thereby preventing
1023         clashes with packages that define "\boldsymbol" themselves.
1024         Eg, beamer.
1025
1026 2004-04-08  Angus Leeming  <leeming@lyx.org>
1027
1028         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1029         thereby squashing an unnecessary warning.
1030
1031 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1032
1033         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1034         setBuffer()
1035
1036 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1037
1038         * BufferView.C (setCursor): call redoParagraph (some insets could
1039         have been opened)
1040         (putSelectionAt): remove the 'double update' trick
1041
1042         * BufferView_pimpl.C (fitCursor): call refreshPar
1043         (workAreaDispatch): remove an uneeded update call
1044         (dispatch): remove some manual update calls
1045
1046         * cursor.[Ch]: remove cached_y_, updatePos
1047         (selHandle): set noUpdate when appropriate
1048
1049         * lyxfunc.C (dispatch): track if we need an update
1050
1051         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1052
1053         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1054         (paintSelection): cheap optimization, do not call cursorX when not
1055         needed
1056         (paintPars): change signature
1057         (refreshPar): add
1058         (paintText): adjust
1059         (paintTextInset): adjust
1060
1061         * text.C: adjust
1062
1063 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1064
1065         * lengthcommon.C: compilation fix: remove explicit array size from
1066         unit_name[] and friends
1067
1068 2004-04-05  Angus Leeming  <leeming@lyx.org>
1069
1070         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1071
1072         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1073         present only for the preferences dialog.
1074         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1075
1076 2004-04-05  Angus Leeming  <leeming@lyx.org>
1077
1078         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1079         to enable the frontends to export changes to lyxrc correctly.
1080
1081         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1082
1083 2004-04-07  André Pönitz  <poenitz@gmx.net>
1084
1085         * cursor.[Ch] (selClear, adjust): remove math
1086
1087         * cursor_slice.C: more agressive assert
1088
1089         * lyxfunc.C:
1090         * BufferView_pimpl.C: rework mouse event dispatch
1091
1092         * dociterator.C:
1093         * paragraph.C:
1094         * text2.C:
1095         * text3.C: adjust
1096
1097 2004-04-05  André Pönitz  <poenitz@gmx.net>
1098
1099         * cursor.[Ch] (valign, halign...): remove unneeded functions
1100
1101 2004-04-05  Angus Leeming  <leeming@lyx.org>
1102
1103         * lyxlength.[Ch] (unit_name et al.): const-correct.
1104
1105 2004-04-05  Angus Leeming  <leeming@lyx.org>
1106
1107         * BufferView_pimpl.C:
1108         * buffer.C:
1109         * counters.C:
1110         * cursor.C:
1111         * lyxfunc.C
1112         * paragraph.C:
1113         * pariterator.C:
1114         * text.C:
1115         * text2.C:
1116         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1117
1118 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1119
1120         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1121
1122 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1123
1124         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1125         * BufferView_pimpl.[Ch] (getStatus)
1126         * BufferView.[Ch] (getStatus): add
1127         * lyxfunc.C (getStatus): move lfuns handled in
1128         BufferView::dispatch to te function above
1129         * Cursor.C (setSelection): set selection() = true
1130
1131 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1132
1133         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1134
1135 2004-03-31  Angus Leeming  <leeming@lyx.org>
1136
1137         * lyxfunc.C (dispatch): Fall through to the generic
1138         Dialogs::show("preamble").
1139
1140 2004-03-31  Angus Leeming  <leeming@lyx.org>
1141
1142         * lyxfunc.C (dispatch): Fall through to the generic
1143         Dialogs::show("spellchecker").
1144
1145 2004-03-31  Angus Leeming  <leeming@lyx.org>
1146
1147         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1148         preferences dialog.
1149
1150 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1151
1152         * BufferView.C
1153         * cursor.[Ch]
1154         * dociterator.[Ch]:
1155         * insetiterator.[Ch]:
1156         * lyxfind.C:
1157         * lyxfunc.C:
1158         * pariterator.[Ch]:
1159         * text2.C:
1160         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1161
1162 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1163
1164         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1165         insets where we are putting the cursor.
1166
1167 2004-03-31  Angus Leeming  <leeming@lyx.org>
1168
1169         * lfuns.h:
1170         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1171
1172         * lyxrc.[Ch] (read, write): overloaded member functions taking
1173         a std::[io]stream arguments.
1174
1175         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1176
1177 2004-03-31  Angus Leeming  <leeming@lyx.org>
1178
1179         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1180         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1181
1182         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1183         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1184
1185 2004-03-31  Angus Leeming  <leeming@lyx.org>
1186
1187         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1188         the LFUN_ALL_INSETS_TOGGLE code.
1189
1190 2004-03-30  Angus Leeming  <leeming@lyx.org>
1191
1192         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1193         has died. Fall through to the generic Dialogs::show("document").
1194
1195 2004-03-30  Angus Leeming  <leeming@lyx.org>
1196
1197         * lfuns.h:
1198         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1199         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1200
1201         * lyxfunc.C (getStatus, dispatch): define the actions for these
1202         lfuns. Little more than a cut and pste job from ControlDocument.C
1203
1204         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1205
1206 2004-03-30  Angus Leeming  <leeming@lyx.org>
1207
1208         * lfuns.h:
1209         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1210         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1211
1212         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1213         open/closed state of ollapsable insets. Usage:
1214
1215         all-inset-toggle <state> <name>, where
1216         <state> == "open" || "closed" || "toggle" and
1217         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1218
1219         * lyxtext.h, text2.C (toggleInset): removed.
1220
1221         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1222         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1223         now passes LFUN_INSET_TOGGLE to the found inset.
1224
1225         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1226         is now invoked as "all-insets-toggle toggle branch".
1227
1228 2004-03-30  Angus Leeming  <leeming@lyx.org>
1229
1230         * dociterator.C:
1231         * insetiterator.C:
1232         * pariterator.[Ch]: added/corrected header blurb.
1233
1234 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1235
1236         * dociterator.[Ch]: add an inset_ member
1237         (backwardPos): implemented
1238         (backwardPos, forwardPos): use inset_ when the stack is empty.
1239         (doc_iterator_begin, doc_iterator_end): implemented
1240         * pariterator.[Ch]: adjust, add begin, end
1241         * insetiterator.[Ch]: adjust, add begin, end
1242         * cursor.C:
1243         * document.C:
1244         * BufferView.C:
1245         * BufferView_pimpl.C:
1246         * CutAndPaste.C: adjust
1247
1248 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1249
1250         * buffer.C: increment file format to 232.
1251         * LaTeXFeatures.C: add bibtopic package.
1252         * bufferparams.[Ch]: param \use_bibtopic.
1253
1254         * lyxrc.[Ch]: add lyxrc bibtex_command
1255         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1256
1257         * buffer.C: increment file format to 231.
1258
1259 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1260
1261         * dociterator.C: implement forwardPar
1262         * iterators.[Ch]: remove, replaced by
1263         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1264         * BufferView.C:
1265         * BufferView_pimpl.C:
1266         * CutAndPaste.C:
1267         * buffer.C:
1268         * bufferview_funcs.C:
1269         * cursor.C:
1270         * lyxfind.C
1271         * lyxfunc.C
1272         * paragraph_funcs.C
1273         * toc.C:
1274         * Makefile.am: adjust
1275
1276 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1277
1278         * CutAndPaste.C (pasteSelection): fix 2 crashes
1279         (eraseSelection): fix a crash
1280         * paragraph_funcs.C: remove a warning
1281
1282 2004-03-28  Angus Leeming  <leeming@lyx.org>
1283
1284         * lfuns.h:
1285         * LyXAction.C (init): new LFUN_PRINT.
1286
1287         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1288
1289 2004-03-27  Angus Leeming  <leeming@lyx.org>
1290
1291         * lfuns.h:
1292         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1293
1294         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1295
1296 2004-03-27  Angus Leeming  <leeming@lyx.org>
1297
1298         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1299         insetlist always contains non-null pointers to insets.
1300
1301 2004-03-26  Angus Leeming  <leeming@lyx.org>
1302
1303         * src/BufferView_pimpl.C:
1304         * src/CutAndPaste.C:
1305         * src/buffer.C:
1306         * src/iterators.C:
1307         * src/output_plaintext.C:
1308         * src/outputparams.h:
1309         * src/paragraph_funcs.C:
1310         * src/rowpainter.C:
1311         * src/text.C:
1312         * src/text2.C:
1313         * src/frontends/controllers/ControlErrorList.C:
1314         * src/frontends/gtk/FileDialogPrivate.C:
1315         * src/frontends/gtk/GPainter.C:
1316         * src/frontends/gtk/GToolbar.C:
1317         * src/frontends/qt2/QRef.C:
1318         * src/mathed/math_scriptinset.C: squash compiler warnings.
1319
1320 2004-03-26  Angus Leeming  <leeming@lyx.org>
1321
1322         * ispell.C (LaunchIspell::start):
1323         * lyx_cb.C (AutoSaveBuffer::start):
1324         invoke run(DontWait) rather than runNonBlocking().
1325
1326 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1327
1328         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1329
1330 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1331
1332         * kbsequence.C (print): adjust
1333
1334         * kbmap.C (printKeySym): rename and change signature
1335         (printKey): use LyXKeySym::print()
1336
1337 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1338
1339         * undo.C: add using std::advance to compile for stlport
1340
1341 2004-03-24  Angus Leeming  <leeming@lyx.org>
1342
1343         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1344         it leads to a crash when no buffer is present.
1345
1346 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1347             Martin Vermeer  <martin.vermeer@hut.fi>
1348
1349         * lyxfunc.C (dispatch):
1350         * bufferparams.C (readToken): use the new LColor::setColor
1351
1352         * LColor.[Ch] (setColor): new version that takes two strings as
1353         argument and creates a new color entry if necessary
1354
1355 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1356
1357         * buffer.C (makeLaTeXFile): if the main latex file that is
1358         processed is usually a subdocument of some master, then pretend
1359         for a while that it is actually the master
1360
1361 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1362
1363         * buffer.C (getLabelList):
1364         (getBibkeyList): use getMasterBuffer()
1365         (getMasterBuffer): new method. Returns the main document in the
1366         case where one is using included documents.
1367
1368 2004-03-25  André Pönitz  <poenitz@gmx.net>
1369
1370         * Makefile.am:
1371         * iterators.[Ch]:
1372         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1373
1374         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1375
1376         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1377         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1378
1379         * ParameterStruct.h: merge with ParagraphParameters
1380
1381         * lyxtext.h: remove LyXText::parOffset() and getPar()
1382
1383         * text3.C: Remove all 'manual' update calls. We do now one per user
1384         interaction which is completely sufficient.
1385
1386         * Bidi.C:
1387         * BufferView.[Ch]:
1388         * BufferView_pimpl.C:
1389         * FontIterator.[Ch]:
1390         * MenuBackend.C:
1391         * ParagraphParameters.[Ch]:
1392         * buffer.C:
1393         * buffer.h:
1394         * bufferlist.C:
1395         * cursor.[Ch]:
1396         * cursor_slice.[Ch]:
1397         * dociterator.[Ch]:
1398         * errorlist.[Ch]:
1399         * factory.C:
1400         * lfuns.h:
1401         * lyxfind.C:
1402         * lyxfunc.C:
1403         * output_docbook.[Ch]:
1404         * output_latex.[Ch]:
1405         * output_linuxdoc.[Ch]:
1406         * output_plaintext.[Ch]:
1407         * paragraph.[Ch]:
1408         * paragraph_funcs.[Ch]:
1409         * paragraph_pimpl.[Ch]:
1410         * rowpainter.C:
1411         * tabular.[Ch]:
1412         * text.C:
1413         * text2.C:
1414         * toc.C:
1415         * undo.[Ch]: adjust
1416
1417         * frontends/controllers/ControlDocument.C:
1418         * frontends/controllers/ControlErrorList.C:
1419         * frontends/controllers/ControlSpellchecker.C:
1420         * insets/inset.C:
1421         * insets/inset.h:
1422         * insets/insetbase.h:
1423         * insets/insetbibitem.C:
1424         * insets/insetbox.C:
1425         * insets/insetbranch.C:
1426         * insets/insetcaption.C:
1427         * insets/insetcharstyle.C:
1428         * insets/insetcharstyle.h:
1429         * insets/insetcollapsable.C:
1430         * insets/insetcollapsable.h:
1431         * insets/insetert.C:
1432         * insets/insetfloat.C:
1433         * insets/insetfoot.C:
1434         * insets/insetmarginal.C:
1435         * insets/insetnote.C:
1436         * insets/insetoptarg.C:
1437         * insets/insettabular.C:
1438         * insets/insettext.C:
1439         * insets/insettext.h:
1440         * insets/insetwrap.C:
1441         * mathed/math_mboxinset.C:
1442         * mathed/math_nestinset.C:
1443         * mathed/math_scriptinset.C:
1444         * mathed/math_scriptinset.h:
1445         * support/types.h:
1446
1447 2004-03-24  Angus Leeming  <leeming@lyx.org>
1448
1449         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1450         deal with any child processes that have finished but are waiting to
1451         communicate this fact to the rest of LyX.
1452
1453 2004-03-24  Angus Leeming  <leeming@lyx.org>
1454
1455         64-bit compile fixes.
1456
1457         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1458         (c-tor): pass lyx::pos_types rather than ints.
1459
1460         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1461         lyx::pos_type.
1462
1463         * text.C (Delete): compile fix.
1464         (getPar): ensure that function declaration is the same as that in
1465         the header file.
1466
1467 2004-03-23  Angus Leeming  <leeming@lyx.org>
1468
1469         * ispell.C (LaunchIspell):
1470         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1471         a boost::shred_ptr rather than a std::auto_ptr.
1472
1473 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1474
1475         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1476         handle LFUN_FILE_INSERT_*
1477
1478         * lyxrc.C (setDefaults, getDescription, output, read):
1479         * lyxrc.h: remove ps_command
1480
1481 2004-03-22  Angus Leeming  <leeming@lyx.org>
1482
1483         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1484         Ensure that error_handler is processed once only and that all data
1485         is saved before attempting to output any warning messages.
1486
1487         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1488
1489 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1490
1491         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1492
1493 2004-03-19  André Pönitz  <poenitz@gmx.net>
1494
1495         * cursor.[Ch] (reset): take main text inset as argument
1496
1497         * BufferView: adjust
1498         * BufferView_pimpl.C: adjust
1499
1500         * paragraph.[Ch]: fix completely broken operator=()
1501
1502 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1503
1504         * LColor.C (getFromLyXName): make sure that the color name is used
1505         as lowercase.
1506
1507 2004-03-17  Angus Leeming  <leeming@lyx.org>
1508
1509         * lfuns.h:
1510         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1511
1512         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1513         dialog and to kill a forked process.
1514
1515 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1516
1517         * text2.C (setCursorFromCoordinates): fix font problem
1518
1519 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1520
1521         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1522         bogus "rebuild cursor" code
1523
1524 2004-03-11  André Pönitz  <poenitz@gmx.net>
1525
1526         * buffer.[Ch]: use InsetText instead of LyXText as container for
1527         the main lyx text.
1528
1529         * dociterator.[Ch]: drop the BufferView * member which is not needed
1530         anymore after the change to buffer.C
1531
1532         * paragraph_funcs.C:
1533         * text.C:
1534         * text2.C:
1535         * BufferView.[Ch]:
1536         * BufferView_pimpl.[Ch]:
1537         * cursor.[Ch]:
1538         * cursor_slice.[Ch]: adjust
1539
1540         * text3.C: fix bug in mathDispatch
1541
1542 2004-03-08  André Pönitz  <poenitz@gmx.net>
1543
1544         * undo.[Ch]: use 'StableDocumentIterator' as base for
1545         the Undo struct.
1546
1547 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1548
1549         * LaTeXFeatures.C:
1550         * bufferparams.[Ch]: add jurabib support and param.
1551
1552         * LaTeX.C: add FIXME/comment.
1553
1554 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1555
1556         * buffer.C: increment file format to 230.
1557
1558 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1559
1560         * cursor.C (dispatch): avoid infinite loops
1561
1562 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1563
1564         * rowpainter.C (paintSelection): fix x coordinates
1565
1566 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1567
1568         * text.C (rowBreakPoint): fix breaking before displayed insets
1569
1570 2004-03-01  André Pönitz  <poenitz@gmx.net>
1571
1572         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1573
1574         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1575
1576         * Makefile.am:
1577         * BufferView.C:
1578         * BufferView_pimpl.C:
1579         * buffer.C:
1580         * lyxfind.C:
1581         * lyxfunc.C:
1582         * text.C:
1583         * text2.C:
1584         * text3.C: adjust
1585
1586 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1587
1588         * lyxtext.h:
1589         * text.C:
1590         * text2.C:
1591         * rowpainter.C:
1592         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1593         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1594
1595 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1596
1597         * Bidi.[Ch] (computeTables): const correctness
1598         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1599         fill_hfill, fill_label_hfill and x from Row
1600         * lyxtext.h: prepareToPrint returns a RowMetrics
1601         * rowPainter.C: adjust
1602         * text.C (prepareToPrint): use width, not textWidth. adjust
1603         (redoParagraphInternal, cursorX): adjust
1604         * text2.C (getColumnNearX): adjust
1605         (init): put a default value to the top LyXText::width
1606
1607 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1608
1609         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1610
1611 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1612
1613         * lyxtext.h: add FontIterator class
1614
1615         * text.C (FontIterator, operator*, operator->, operator++): add
1616         (rowBreakPoint, setRowWidth): adjust (fixing a
1617         rebreaking bug)
1618
1619 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1620
1621         * BufferView_pimpl.C (workAreaDispatch): allow also
1622         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1623
1624 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1625
1626         * text.C (rowBreakPoint): fix a bug showing with very large insets
1627
1628 2004-02-25  André Pönitz  <poenitz@gmx.net>
1629
1630         * text3.C:
1631         * cursor.[Ch]: move some mathed specific code to mathed
1632
1633 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1634
1635         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1636         use_tempdir in preferences
1637         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1638         tempfile creation
1639         * lyx_main.C: ensure that tempdir is valid
1640         * lyxlex.h: correct typo
1641         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1642         * paragraph.[Ch] (isMultiLingual): make const
1643         * cursor.[Ch] (openable): make const
1644
1645 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1646
1647         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1648
1649 2004-02-20  André Pönitz  <poenitz@gmx.net>
1650
1651         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1652
1653         * cursor.[Ch]: prepare for localized getStatus()
1654
1655         * lyxtext.h:
1656         * tabular.C:
1657         * text.C:
1658         * text2.C:
1659         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1660
1661 2004-02-20  André Pönitz  <poenitz@gmx.net>
1662
1663         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1664
1665 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1666
1667         * text2.C (setCursorFromCoordinates): switch to absolute coords
1668         (cursorUp): adjust
1669         (cursorDown): adjust
1670         * text3.C (dispatch): adjust
1671
1672 2004-02-16  André Pönitz  <poenitz@gmx.net>
1673
1674         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1675           insets/ChangeLog)
1676
1677         * cursor_slice.[Ch]: remove unneeded acessor function
1678
1679         * lyxtext.h: rename rtl() to isRTL()
1680
1681         * rowpainter.C:
1682         * tabular.C:
1683         * text.C:
1684         * text2.C:
1685         * text3.C: adjust
1686
1687 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1688
1689         * rowpainter.C (paintSelection): coord fix
1690
1691 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1692
1693         * Spacing.C: compile fix
1694
1695 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1696
1697         * cursor.C (dispatch): restore current_ before returning
1698
1699 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1700
1701         * text2.C (cursorUp, cursorDown): fix coords
1702         (moveUp): fix crash
1703
1704 2004-02-12  André Pönitz  <poenitz@gmx.net>
1705
1706         * lyxtext.h:
1707         * text.C:
1708         * text2.C:
1709         * text3.C: add LCursor & parameter to most cursor movement functions
1710           remove usage of LyXText::cursorRow() and cursorPar()
1711
1712         * cursor.[Ch]: add textRow() needed members
1713
1714         * BufferView.C:
1715         * BufferView_pimpl.C:
1716         * paragraph.[Ch]:
1717         * BufferView.C:
1718         * BufferView_pimpl.C: adjust
1719
1720 2004-02-11  André Pönitz  <poenitz@gmx.net>
1721
1722         * lyxfunc.C:
1723         * BufferView.[Ch]:
1724         * BufferView_pimpl.C: shift undo/redo handling
1725
1726         * cursor.[Ch]: fix mathed crash
1727
1728         * lyxfind.C:
1729         * lyxtext.h: move selectionAsText to LCursor
1730
1731         * output_latex.C:
1732         * paragraph.C:
1733         * text.C:
1734         * text2.C:
1735         * text3.C: adjust
1736
1737         * rowpainter.C: fix excessive drawing
1738
1739 2004-02-06  André Pönitz  <poenitz@gmx.net>
1740
1741         * BufferView.[Ch]:
1742         * BufferView_pimpl.[Ch]:
1743         * text3.C: move some text specific LFUN handling
1744
1745 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1746
1747         * text3.C (checkInsetHit): adjust coords
1748         * text2.C (getColumnNearX): adjust coords
1749         (edit): adjust coords
1750         * text.C (getRowNearY): add two asserts
1751
1752 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1753
1754         * converter.C:
1755         * format.C: add using std::distance to compile on gcc 2.95/stlport
1756
1757 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1758
1759         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1760
1761 2004-02-04  André Pönitz  <poenitz@gmx.net>
1762
1763         * BufferView.[Ch] (insertInset):
1764         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1765
1766         * text2.C:
1767         * text3.C: adjust
1768
1769 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1770
1771         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1772         on the default clause of the switch
1773         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1774         wasn't catched by LCursor::dispatch
1775
1776 2004-02-03  André Pönitz  <poenitz@gmx.net>
1777
1778         * BufferView.C:
1779         * cursor.[Ch]: some additional asserts
1780
1781         * undo.[Ch]: remove LyXText dependency in interface
1782
1783         * lyxfunc.C: adjust
1784
1785         * lyxtext.h (firstPar, lastPar): remove dead functions
1786
1787         * text.C:
1788         * text2.C:
1789         * text3.C:
1790         * paragraph.[Ch]: adjust
1791
1792 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * lyxfind.C (find): fix argument order in call to ::find
1795
1796 2004-02-02  André Pönitz  <poenitz@gmx.net>
1797
1798         * cursor.[Ch]: remove direct access to anchor
1799
1800         * text.C: remove findText() hack
1801
1802 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1803
1804         * iterators.[Ch] (lockPath): remove in favour of...
1805         * BufferView.[Ch] (setCursor): this addition
1806         * BufferView.C (putSelectionAt): adjust
1807         * undo.C (performUndoOrRedo): adjust
1808         * lyxfunc.C (dispatch): adjust
1809
1810 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1811
1812         * iterators.C (lockPath): add a missing slice
1813         * undo.C (performUndoOrRedo): remove redundant positioning code
1814
1815 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1816
1817         * vc-backend.C (scanMaster): ";" -> ';'
1818
1819 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1820
1821         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1822         std::binary_function
1823
1824         * lyxtextclass.C (compare_name): rename to...
1825         (LayoutNamesEqual): ...this
1826
1827         * lyxlex_pimpl.C (compare_tags): inherit from
1828         std::binary_function, put back into anon namespace
1829
1830         * lyxfind.C (MatchString): inherig from std::binary_function
1831         (findChange): use empty() istead of !size()
1832
1833         * format.C (FormatNamesEqual): new functor
1834         (getFormat): use it
1835         (getNumber): use it
1836         (add): use it
1837         (erase): use it
1838         (setViewer): use it
1839
1840         * converter.C (compare_Converter): rename to...
1841         (ConverterEqual): ...this, and fixup a bit.
1842         (getConverter): use it, and make function const
1843         (getNumber): use it, and make function const
1844         (add): use it
1845         (erase): use it:
1846
1847         * bufferlist.C: add using boost::bind
1848
1849         * MenuBackend.C (MenuNamesEqual): new functor
1850         (hasMenu): use it, and make function const
1851         (hasSubmenu): use nested bind to get rid of compare_memfun.
1852
1853 2004-01-30  André Pönitz  <poenitz@gmx.net>
1854
1855         * BufferView_pimpl.C:
1856         * cursor.C:
1857         * cursor.h:
1858         * cursor_slice.[Ch]:
1859         * lyxfunc.C:
1860         * lyxtext.h:
1861         * paragraph_funcs.C:
1862         * paragraph_funcs.h:
1863         * rowpainter.C:
1864         * text.C:
1865         * text2.C:
1866         * text3.C: move some of the edit(x,y) handling to the insets
1867         some coordinate changes.
1868
1869 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1870
1871         * text.C: add using statements for std::advance and std::distance
1872
1873         * paragraph.C: add using statement for std::distance
1874
1875         * lyxfind.C: add using statement for std::advance
1876
1877         * cursor.C (region): remove std:: from swap
1878         (openable): use nucleus in stead of operator->
1879
1880         * BufferView.C: add using statements for std::distance and std::swap
1881
1882 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1883
1884         * iterators.C: Remove the pimple, move the needed structures to
1885         the header file. Create accessor for the positions stack.
1886         (asPosIterator): remove function
1887
1888         * PosIterator.C (PosIterator): move constructors to top of file
1889         (PosIterator): reimplement the constructor taking a ParIterator in
1890         terms of setFrom.
1891         (setFrom): new function
1892         (operator!=): inline it
1893
1894 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1895
1896         * lyxfind.C (replaceAll): use std::advance
1897
1898         * iterators.h: inherit from std::iterator.
1899
1900         * PosIterator.C (advance, distance): remove
1901         * PosIterator.h: interit from std::iterator.
1902
1903 2004-01-26  André Pönitz  <poenitz@gmx.net>
1904
1905         * BufferView.[Ch]:
1906         * BufferView_pimpl.[Ch]:
1907         * InsetList.[Ch]:
1908         * PosIterator.[Ch]:
1909         * buffer.h:
1910         * bufferview_funcs.C:
1911         * cursor.[Ch]:
1912         * cursor_slice.h:
1913         * factory.[Ch]:
1914         * iterators.[Ch]:
1915         * lyxfind.C:
1916         * lyxfunc.C:
1917         * lyxtext.h:
1918         * output_docbook.C:
1919         * output_latex.C:
1920         * output_linuxdoc.C:
1921         * output_plaintext.C:
1922         * paragraph.[Ch]:
1923         * paragraph_funcs.[Ch]:
1924         * paragraph_pimpl.[Ch]:
1925         * rowpainter.C:
1926         * tabular.C:
1927         * tabular.h:
1928         * text.C:
1929         * text2.C:
1930         * text3.C: more IU:  dumps most of the rest of the mathcursor
1931     implementation into cursor.[Ch]; "globalize" a bit of it.
1932
1933 2004-01-25  Angus Leeming  <leeming@lyx.org>
1934
1935         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1936
1937 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1938
1939         * LaTeXFeatures.h: add nice_ and nice() const
1940         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1941
1942 2004-01-20  André Pönitz  <poenitz@gmx.net>
1943
1944         * BufferView.[Ch]:
1945         * BufferView_pimpl.C:
1946         * PosIterator.C:
1947         * bufferview_funcs.C:
1948         * cursor.[Ch]:
1949         * cursor_slice.[Ch]:
1950         * factory.C:
1951         * iterators.C:
1952         * lyx_cb.C:
1953         * lyxfind.C:
1954         * lyxfunc.C:
1955         * lyxtext.h:
1956         * rowpainter.C:
1957         * text.C:
1958         * text2.C:
1959         * text3.C:
1960         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1961           LCursor and mathcursor parts to LCursor and InsetBase.
1962
1963 2004-01-15  André Pönitz  <poenitz@gmx.net>
1964
1965         * cursor_slice.[Ch]: add a few covienience functions
1966
1967         * funcrequest.[Ch]: remove BufferView * member
1968
1969         * BufferView_pimpl.C:
1970         * cursor.C:
1971         * factory.[Ch]:
1972         * lyxfind.[Ch]:
1973         * lyxfunc.C:
1974         * lyxtext.h:
1975         * text3.C:
1976         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1977
1978 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1979
1980         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1981         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1982
1983 2004-01-13  André Pönitz  <poenitz@gmx.net>
1984
1985         * textcursor.[Ch]:
1986         * lyxtext.h: hide cursor and selection anchor behind accessor function
1987
1988         * BufferView.C:
1989         * BufferView_pimpl.[Ch]:
1990         * PosIterator.C:
1991         * bufferview_funcs.C:
1992         * cursor.h:
1993         * lyxfind.C:
1994         * lyxfunc.C:
1995         * text.C:
1996         * text2.C:
1997         * text3.C:
1998         * undo.C: adjust
1999
2000         * cursor.h:
2001         * cursor_slice.[Ch]: some integer type changes for inset unification
2002
2003         * lyxcursor.[hC]: remove, it's CursorSlice now.
2004
2005         * Makefile.am:
2006         * BufferView_pimpl.[Ch]:
2007         * bufferview_funcs.C:
2008         * cursor_slice.C:
2009         * lyxtext.h:
2010         * text.C:
2011         * text2.C:
2012         * text3.C:
2013         * textcursor.[Ch]: adjust
2014
2015 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2016
2017         * text2.C (undoSpan): add and use
2018         * text.C (breakParagraph): use undoSpan (fix bug 578)
2019         * lyxtext.h: adjust
2020
2021 2004-01-08  Angus Leeming  <leeming@lyx.org>
2022
2023         * BufferView_pimpl.C (MenuInsertLyXFile):
2024         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2025         * lyxfunc.C (menuNew, open, doImport):
2026         FileFilterList change to the FileDialog open and save functions.
2027
2028 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2029
2030         * ShareContainer.h: make isEqual and isUnique adaptable
2031
2032         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2033
2034 2004-01-07  Angus Leeming  <leeming@lyx.org>
2035
2036         * LyXAction.C:
2037         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2038
2039         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2040
2041         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2042         functions replacing find, replace and replaceAll.
2043
2044         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2045         LFUN_WORDFIND(FORWARD|BACKWARD).
2046
2047 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2048
2049         * text.C (breakParagraph): remove an outdated #warning
2050
2051 2004-01-07  André Pönitz  <poenitz@gmx.net>
2052
2053         * lyxfind.C: somewhat clearer logic
2054
2055         * text.C: prevent crash in cursorX on unitialized row cache
2056
2057 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2058
2059         * lyxcursor.[Ch] (operator>): add
2060         * textcursor.C (selStart, selEnd): use std::min and std::max
2061
2062 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2063
2064         * Chktex.C: include boost/format.hpp
2065
2066 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2067
2068         * InsetList.C: replace functor MathcIt with adaptable functor
2069         InsetTablePosLess
2070         (insetIterator): modify accordingly
2071
2072         * BranchList.h: move the BranchNamesEqual functor here from...
2073         * BranchList.C: ... to here
2074
2075         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2076         SameName and match.
2077         (add): replace a finding loop with std::find_if.
2078
2079 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2080
2081         * output_docbook.C: moving LatexParam functionality into
2082         .layout files
2083
2084 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2085
2086         * buffer.C: increment format to 229.
2087
2088 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2089
2090         * LaTeXFeatures.C:
2091         * lyx_sty.[Ch]: remove minipageindent_def
2092
2093         * LyXAction.C:
2094         * factory.C:
2095         * lfuns.h:
2096         * lyxfunc.C:
2097         * text3.C: remove LFUN_INSET_MINIPAGE
2098
2099 2003-12-28  Angus Leeming  <leeming@lyx.org>
2100
2101         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2102
2103 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2104
2105         * text2.C (setParagraph): fix off-by-one crash
2106
2107 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2108
2109         * output_docbook.C: header stuff for AGU
2110
2111 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * text2.C (redoCursor): remove
2114         * text.C:
2115         * text3.C:
2116         * BufferView_pimpl.C: remove calls to redoCursor and
2117         setCursor(cursor.par(), cursor.pos()) all around
2118
2119 2003-12-15  Angus Leeming  <leeming@lyx.org>
2120
2121         * buffer.C: up the format to 228.
2122
2123 2003-12-15  André Pönitz  <poenitz@gmx.net>
2124
2125         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2126         slices
2127
2128         * Makefile.am:
2129
2130         * BufferView_pimpl.C:
2131         * cursor.[Ch]:
2132         * lyxcursor.[Ch]:
2133         * rowpainter.[Ch]:
2134         * lyxtext.h:
2135         * text.C:
2136         * text2.C:
2137         * text3.C: adjust
2138
2139 2003-12-15  Angus Leeming  <leeming@lyx.org>
2140
2141         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2142         than getFromGUIName to manipulate the color.
2143
2144 2003-12-14  Angus Leeming  <leeming@lyx.org>
2145
2146         * BranchList.[Ch]: minimize the API.
2147         (Branch::getBranch, getColor): now return a 'const &'.
2148         (Branch::setSelected) now returns a bool set to true if the
2149         selection status changes.
2150         (BranchList::clear, size, getColor, setColor, setSelected,
2151         allBranches, allSelected, separator): removed.
2152         (BranchList::find): new functions, returning the Branch with
2153         the given name.
2154         (BranchList::add, remove): return a bool indicating that
2155         the operation was successful.
2156
2157         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2158         new InsetBranch::isBranchSlected member function.
2159
2160         * LColor.[Ch]: mimimize the API.
2161         (fill): renamed as addColor and made private.
2162         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2163         versions of these functions taking a string arg have been removed.
2164
2165         * bufferparams.C (readToken):
2166         * lyxfunc.C (dispatch):
2167         * lyxrc.C (read): changes due to the altered BranchList and
2168         LColor APIs.
2169
2170         * factory.C (createInset, readInset): changes due to altered
2171         InsetBranch c-tor.
2172
2173 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2174
2175         * factory.C:
2176         * lyxfunc.C: remove insetminipage. "minipage-insert"
2177         now produces a frameless minipage box inset.
2178
2179 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2180
2181         * textcursor.[Ch] (selStart,selEnd): add new methods
2182         remove selection::start, end, use LyXCursor::operator<
2183         * lyxcursor.[Ch] (operator<): add
2184         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2185         * BufferView.[Ch] (unsetXSel): add
2186         * text2.C (clearSelection): use unsetXSel,adjust
2187         * text.C: adjust
2188         * text3.C: adjust
2189         * rowpainter.C: adjust
2190         * bufferview_funcs.C (put_selection_at): adjust
2191
2192 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2193
2194         * BufferView_pimpl.C: small coord. correction
2195
2196 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2197
2198         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2199         dragging over the splash screen.
2200
2201 2003-12-11  Angus Leeming  <leeming@lyx.org>
2202
2203         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2204         as it is now handled in LyXText::dispatch.
2205
2206         * text3.C (doInsertInset): remove a level of nesting.
2207
2208 2003-12-11  Angus Leeming  <leeming@lyx.org>
2209
2210         * factory.C (createInset): changes due to the changed interface to
2211         InsetCommandMailer::string2params.
2212
2213 2003-12-10  Angus Leeming  <leeming@lyx.org>
2214
2215         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2216         'dialog-show-new-inset <inset name>'
2217
2218 2003-12-10  Angus Leeming  <leeming@lyx.org>
2219
2220         * buffer.C: up the format to 227.
2221
2222         * factory.C: the box inset is now identified simply by 'Box'.
2223
2224 2003-12-10  Angus Leeming  <leeming@lyx.org>
2225
2226         * buffer.C: up the format to 226.
2227
2228         * factory.C: the note inset is now identified simply by 'Note'.
2229
2230 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2231
2232         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2233         when a pit is enough. Standarize a couple of loops.
2234
2235 2003-12-05  Angus Leeming  <leeming@lyx.org>
2236
2237         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2238         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2239         data to the re-worked "log" dialog.
2240
2241 2003-12-03  André Pönitz  <poenitz@gmx.net>
2242
2243         * PosIterator.C:
2244         * iterators.C:
2245         * lyxtext.h:
2246         * output_latex.C:
2247         * paragraph_funcs.C:
2248         * text.C:
2249         * text2.C: use Inset::getText instead of Inset::getParagraph
2250
2251 2003-12-03  André Pönitz  <poenitz@gmx.net>
2252
2253         * buffer.[Ch]:
2254         * lyxtext.h:
2255         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2256         InsetText::read() as LyXText::read()
2257
2258 2003-12-02  Angus Leeming  <leeming@lyx.org>
2259
2260         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2261         type. Add a comment in the implementation that the function uses
2262         the stream's bad() function rather than fail() as the std::streams
2263         would do.
2264
2265 2003-12-02  André Pönitz  <poenitz@gmx.net>
2266
2267         * lyxlex.[Ch]: make interface more similar to std::stream
2268
2269         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2270
2271 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2272
2273         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2274
2275 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2276
2277         * vspace.[Ch]: remove VSpace::NONE
2278
2279 2003-12-01  André Pönitz  <poenitz@gmx.net>
2280
2281         * buffer.[Ch]:
2282         * lyxtext.h: move ParagraphList member to LyXText
2283         rename LyXText::ownerParagraphs to LyXText::paragraph
2284
2285         * CutAndPaste.C:
2286         * bufferview_funcs.C:
2287         * iterators.[Ch]:
2288         * lyx_cb.C:
2289         * paragraph.C:
2290         * rowpainter.C:
2291         * tabular.C:
2292         * text.C:
2293         * text2.C:
2294         * text3.C: adjust
2295
2296         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2297
2298         * undo.C: fix cursor positioning
2299
2300 2003-12-01  John Levon  <levon@movementarian.org>
2301
2302         * BufferView_pimpl.C: fix a crash on exit with
2303         a buffer open
2304
2305 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2306
2307         * BranchList.C: fix setSelected() method.
2308
2309 2003-11-28  André Pönitz  <poenitz@gmx.net>
2310
2311         * ParagraphParameters.[Ch]:
2312         * ParameterStruct.h: remove space above/below from Paragraph to
2313          InsetVSpace
2314
2315         * BufferView_pimpl.C:
2316         * factory.C:
2317         * lyxfunc.C:
2318         * lyxtext.h:
2319         * output_latex.C:
2320         * paragraph.C:
2321         * paragraph_funcs.C:
2322         * rowpainter.[Ch]:
2323         * text.C:
2324         * text2.C:
2325         * text3.C: adjust
2326
2327 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2328
2329         * factory.C: Syntax change for CharStyles
2330
2331 2003-11-28  André Pönitz  <poenitz@gmx.net>
2332
2333         * BufferView.[Ch]:
2334         * BufferView.[Ch]:
2335         * buffer.[Ch]:
2336         * buffer.[Ch]: move LyXText member
2337
2338 2003-11-28  André Pönitz  <poenitz@gmx.net>
2339
2340         * BufferView.[Ch]: make LyXText * text a private member
2341
2342         * BufferView_pimpl.C:
2343         * cursor.C:
2344         * iterators.C:
2345         * lyx_cb.C:
2346         * lyxfind.C:
2347         * lyxtext.h:
2348         * rowpainter.[Ch]:
2349         * text.C:
2350         * text2.C:
2351         * undo.C: adjust
2352
2353         * output_plaintext.C: cleanup
2354
2355 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2356
2357         * buffer.C:
2358         * lyxtextclass.[Ch]: parametrize SGML document header
2359
2360 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2361
2362         * converter.[Ch]:
2363         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2364         getFlavor().
2365
2366 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2367
2368         * text2.C (setFont): rework using PosIterator (no more recursive)
2369         (setCharFont): no more needed
2370         (setLayout): no more selection cursors fiddling (done by redoCursor)
2371         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2372         destroy remaining ones)
2373
2374 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2375
2376         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2377         * lyxtext.h: ditto
2378         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2379         selection cursors
2380         * lyxfunc.C: adjust
2381         * text3.C: adjust + re-allow multi par depth changes
2382         * textcursor.C: simplify a bit
2383
2384 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2385
2386         * src/buffer.C:
2387         * src/lyxlayout.C:
2388         * src/lyxlayout.h:
2389         * src/lyxtext.h:
2390         * src/output_docbook.C:
2391         * src/output_latex.C:
2392         * src/paragraph.C:
2393         * src/paragraph.h:
2394         * src/sgml.C:
2395         * src/sgml.h:
2396         * src/text2.C: Introducing a number of tags parametrizing various
2397         XML formats that we may want to support
2398
2399 2003-11-25  André Pönitz  <poenitz@gmx.net>
2400
2401         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2402
2403         * lyxtext.h (leftMargin/rightMargin): simplify interface
2404
2405         * rowpainter.C:
2406         * text.C:
2407         * text2.C:
2408         * text3.C: adjust
2409
2410 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2411
2412         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2413         master file to any child files. Fixes bug 546.
2414
2415 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2416
2417         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2418
2419 2003-11-24  André Pönitz  <poenitz@gmx.net>
2420
2421         * rowpainter.C: simplification
2422
2423         * text2.C (updateCounters): remove call to redoParagraph on
2424         changed labels as this is far too expensive.
2425
2426 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2427
2428         * converter.C (convert): fix a crash: this function gets
2429         called with buffer == 0 from importer code.
2430
2431 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2432
2433         * text3.C (cursorPrevious): make sure that we do not compare
2434         iterators form different containers.
2435         (cursorNext): ditto
2436
2437         * rowpainter.C (paintSelection): make sure that we do not compare
2438         iterators from different containers.
2439
2440         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2441         iterators from different ParagraphList containers.
2442         [NEXT] ditto
2443
2444         * text2.C (LyXText): change order of initialization slightly
2445         (operator=): new function. copy all variables except cache_par_
2446         (moveUp): make sure that we do not compare iterators from
2447         different ParagraphList constainers.
2448         (moveDown): ditto
2449
2450         * text.C (firstPar): new function
2451         (lastPar): new function
2452         (endPar): new function
2453
2454         * lyxtext.h: move things around and group public functions, public
2455         variables, private functions, private variables
2456
2457 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2458
2459         * factory.C: change call to InsetERT constructor to avoid
2460         additional invocation of method status
2461         * text2.C (toggleInset): remove redundant update() call
2462         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2463         instead of a Bufferview pointer
2464
2465 2003-11-21  André Pönitz  <poenitz@gmx.net>
2466
2467         * rowpainter.C: simplification
2468
2469 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2470
2471         * text3.C (dispatch): make possible to extend a word/row selection
2472         with the mouse
2473
2474 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2475
2476         * lyxtext.h: x0_,y0_ -> xo_,yo_
2477         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2478         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2479         * rowpainter.C (paintRows): paint full paragraphs
2480
2481 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2482
2483         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2484         screen coordinates)
2485
2486 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2487
2488         * lyxtext.h: add x0_, y0_
2489         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2490         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2491
2492 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2493
2494         * text2.C (setCursorIntern): move the x_target update here *
2495         * text3.C: change some bv() to true/false in calls to
2496         cursorUp/Down/Right/Left
2497         * cursor.C: use helper function.
2498
2499 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2500
2501         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2502         * paragraph_funcs.[Ch]: correct comment
2503         * rowpainter.C: do not paint selections away from bv->cursor()
2504         Fix a long standing selection painting bug.
2505         * text3.C: generalize mouse-selection code to LyXTexts other that
2506         top one
2507         * textcursor.C: do not use y coords if we can use par offsets
2508
2509 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2510
2511         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2512         cursor position after e.g. inset insert)
2513
2514 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2515
2516         * lyxfind.C (replace): adjust to locking removal + some
2517         code simplification
2518
2519 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2520
2521         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2522         of the path
2523
2524 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2525
2526         * lyxlayout.[Ch]:
2527         * output_docbook.C: XML sanitation: new layout
2528         parameters InnerTag and CommandDepth
2529
2530 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2531
2532         * BufferView_pimpl.C:
2533         * factory.C:
2534         * text3.C: Fix the insertion and modification of button-style
2535         insets
2536
2537 2003-11-13  André Pönitz  <poenitz@gmx.net>
2538
2539         * InsetList.[Ch]: remove deleteLyXText
2540
2541         * paragraph.[Ch]: cache beginOfBody position
2542
2543         * Bidi.C:
2544         * text.C:
2545         * text2.C:
2546         * text3.C: remove superfluous update() calls
2547
2548         * vspace.C: cleanup
2549
2550 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2551
2552         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2553         * BufferView.C (fitLockedInsetCursor): remove
2554         * cursor.[Ch] (getDim): add
2555         * text.C (getRowNearY): add faster version
2556         * text3.C: remove some update calls
2557
2558 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2559
2560         * LaTeXFeatures.C:
2561         * LyXAction.C:
2562         * MenuBackend.C:
2563         * MenuBackend.h:
2564         * dispatchresult.h:
2565         * factory.C:
2566         * lfuns.h:
2567         * lyxfunc.C:
2568         * lyxtextclass.C:
2569         * lyxtextclass.h:
2570         * text3.C: The Character Style /XML short element patch.
2571
2572 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2573
2574         * text3.C:
2575         * factory.C: Small step to solving 'unable to insert some insets'
2576         problem
2577
2578 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2579
2580         * cursor.[Ch] (updatePos): new function for updating the y
2581         position of the tip inset
2582         * bufferview_funcs.C (put_selection_at):
2583         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2584
2585 2003-11-11  André Pönitz  <poenitz@gmx.net>
2586
2587         * text.C: remove big comment on invalid Paragraph pointers as it is
2588         not valid anymore
2589
2590 2003-11-11  André Pönitz  <poenitz@gmx.net>
2591
2592         * text_funcs.[Ch]: merge with ...
2593
2594         * text.C: ... this
2595
2596         * lyxtext.h:
2597         * text2.C:
2598         * text3.C: adjust
2599
2600         * Makefile.am: remove text_funcs.[Ch]
2601
2602 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2603
2604         * cursor.C (getPos): return absolute cached y coord
2605
2606         * BufferView_pimpl.C (fitCursor): new simplistic code
2607         (workAreaDispatch): add a fitCursor call
2608
2609 2003-11-10  André Pönitz  <poenitz@gmx.net>
2610
2611         * BufferView.[Ch]:
2612         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2613
2614 2003-11-10  André Pönitz  <poenitz@gmx.net>
2615
2616         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2617         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2618         indicate that the cursor needs to leave an inset
2619
2620         * lyxtext.h: remove inset locking
2621
2622         * cursor.[Ch]: re-implement functionality provided by inset locking
2623
2624         * BufferView.[Ch]:
2625         * BufferView_pimpl.[Ch]:
2626         * LyXAction.C:
2627         * bufferview_funcs.[Ch]:
2628         * factory.C:
2629         * funcrequest.[Ch]:
2630         * iterators.C:
2631         * lyx_cb.C:
2632         * lyxfind.C:
2633         * lyxfunc.C:
2634         * text.C:
2635         * text2.C:
2636         * text3.C:
2637         * undo.C: adjust
2638
2639 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2640
2641         * PosIterator.[Ch]: replace the stack with a vector, add inset
2642         accesor
2643         * iterators.[C]: adjust
2644
2645 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2646
2647         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2648         replaced
2649         * paragraph_funcs.C (readParToken): put the correct id in the
2650         error item, not the id of the top paragraph
2651
2652 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2653
2654         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2655         * bufferview_funcs.C (put_selection_at): use the above
2656
2657 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2658
2659         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2660
2661 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2662
2663         * output_linuxdoc.h:
2664         * output_plaintext.h:
2665         * output.h:
2666         * output_docbook.h: add #include statements
2667
2668 2003-11-05  José Matos  <jamatos@lyx.org>
2669
2670         * output_docbook.[Ch]:
2671         * output_latex.[Ch]:
2672         * output_linuxdoc.[Ch]:
2673         * output_plaintext.[Ch]: New files for output formats.
2674         * output.[Ch]: New file for helper functions.
2675
2676         * buffer.[Ch]:
2677         * paragraph_funcs.[Ch]: output functions moved to new files.
2678
2679         * outputparams.h: rename of latexrunparams.h
2680
2681         * LaTeX.[Ch]:
2682         * buffer.[Ch]:
2683         * bufferlist.[Ch]:
2684         * converter.[Ch]:
2685         * exporter.C:
2686         * paragraph.[Ch]:
2687         * paragraph_funcs.[Ch]:
2688         * paragraph_pimpl.[Ch]:
2689         * tabular.[Ch]: rename ascii to plaintext
2690         and LatexRunParams to OutputParams.
2691
2692 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2693
2694         * iterators.[Ch] (text): require bv argument
2695         * undo.C (recordUndo):
2696         * lyxfunc.C (dispatch):
2697         * bufferview_funcs.C (put_selection_at): adjust
2698
2699 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2700
2701         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2702
2703 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2704
2705         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2706         nestings
2707
2708 2003-11-04  André Pönitz  <poenitz@gmx.net>
2709
2710         * cursor.[Ch]: restructure
2711
2712         * BufferView.[Ch]:
2713         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2714
2715         * iterators.[Ch] (asCursor): remove
2716
2717         * lfuns.h: remove LFUN_INSET_EDIT
2718
2719         * lyxfunc.C:
2720         * tabular.C:
2721         * text.C:
2722         * text2.C:
2723         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2724
2725 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2726
2727         * lyxfind.[Ch]: complete overhaul
2728         * BufferView_pimpl.C:
2729         * lyxfunc.C: adjust
2730         * paragraph.[Ch] (insert): add
2731
2732 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2733
2734         * BufferView.[Ch]:
2735         * lyxtext.h:
2736         * text.C: remove dead spellcheck code
2737
2738 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2739
2740         * dispatchresult.h: add a val setter
2741
2742         * cursor.C (dispatch): use a tempvar for data_[i]
2743
2744 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2745
2746         * PosIterator.[Ch]: compile fix
2747
2748 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2749
2750         * text.C (cursorPar): deactivate the cursor cache
2751
2752 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2753
2754         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2755
2756 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2757
2758         * text3.C (dispatch): adjust for new DisptchResult semantics.
2759
2760         * lyxfunc.C (dispatch): handle update when return from
2761         Cursor::dispatch, adjust for new DispatchResult semantics.
2762
2763         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2764         DispatchResult(true) mean to not update. Add class functions for
2765         setting dispatched and update, as well as reading.
2766
2767         * cursor.C (dispatch): don't handle update here
2768
2769 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2770
2771         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2772         * trans_mgr.C: adjust
2773
2774         * paragraph_funcs.C (readParToken): exception safety
2775
2776         * lyxvc.h: store the vcs pointer in a scoped_ptr
2777         * lyxvc.C: adjust
2778
2779         * lyxsocket.C (serverCallback): exception safety
2780
2781         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2782
2783         * ispell.C (clone): make it return a auto_ptr
2784
2785         * factory.C (createInset): exception safety
2786         (readInset): exception safety
2787
2788         * bufferlist.C (newBuffer): exception safety
2789
2790         * Thesaurus.C (Thesaurus): use initialization for aik_
2791
2792         * MenuBackend.C (expandToc): exception safety.
2793
2794 2003-11-03  André Pönitz  <poenitz@gmx.net>
2795
2796         * buffer.C:
2797         * buffer.h:
2798         * bufferview_funcs.C: remove getInsetFromId()
2799
2800         * lyxcursor.[Ch]:
2801         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2802
2803         * lyxfunc.C:
2804         * text2.C:
2805         * text3.C: adjust
2806
2807 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2808
2809         * PosIterator.C (distance, advance): new
2810         * bufferview_funcs.[Ch] (put_selection_at): new
2811         * iterators.[Ch] (lockPath): new
2812
2813 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2814
2815         * iterators.[Ch] (asPosIterator): added
2816         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2817         * PosIterator.[Ch]: added
2818
2819 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2820
2821         * text3.C:
2822         * lyxfunc.C:
2823         * cursor.C (dispatch):
2824         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2825
2826         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2827         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2828         contructor, add a class function dispatched. Remove operator>=
2829
2830 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * debug.C: only use the default constructor for debugstream
2833         (lyxerr) here.
2834
2835         * main.C (main): include debug.h and setup the lyxerr streambuf
2836         here.
2837
2838 2003-10-31  José Matos  <jamatos@lyx.org>
2839
2840         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2841
2842         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2843         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2844         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2845         * paragraph_pimpl.C (simpleTeXSpecialC):
2846         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2847         add LatexRunParams argument.
2848
2849         * exporter.C (Export): change call accordingly.
2850
2851         * latexrunparams.h: add new member to take care of the other backends.
2852 2003-10-30  José Matos  <jamatos@lyx.org>
2853
2854         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2855         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2856         factorise code for paragraph output.
2857         * buffer.[Ch]:
2858         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2859         move functions.
2860
2861 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2862
2863         * text3.C (dispatch):
2864         * lyxfunc.C (dispatch):
2865         * cursor.C (dispatch):
2866         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2867
2868         * dispatchresult.h: make the dispatch_result_t ctor explicit
2869
2870 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2871
2872         * sgml.[Ch]:
2873         * buffer.C: small refactoring of docbook stuff
2874
2875 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2876
2877         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2878         meaning.
2879
2880 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2881
2882         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2883         operator dispatch_result_t, and operators for == != and >=
2884
2885         * cursor.C (dispatch): adjust for operator dispatch_result_t
2886         removal. comment out call to update
2887
2888         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2889
2890 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2891
2892         * text3.C:
2893         * text2.C:
2894         * text.C:
2895         * lyxtext.h:
2896         * lyxfunc.C:
2897         * cursor.C:
2898         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2899         (dispatch):
2900
2901         * dispatchresult.h: new file, DispatchResult broken out of
2902         insets/insetbase.h
2903
2904         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2905
2906 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2907
2908         * text.C (rowBreakPoint): put a hack inside #if 0
2909
2910 2003-10-28  André Pönitz  <poenitz@gmx.net>
2911
2912         * lyxtext.h:
2913         * metricsinfo.C:
2914         * paragraph_funcs.C:
2915         * rowpainter.C:
2916         * text.C:
2917         * text2.C: general cleanup (lots of small stuff)
2918
2919 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2920
2921         * text2.C (cursorEnd): simple fix to the "end key goes to one
2922         before the end on last row" bug
2923
2924 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2925
2926         * text.C (backspace): fix the "zombie characters"
2927
2928 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2929
2930         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2931
2932 2003-10-27  André Pönitz  <poenitz@gmx.net>
2933
2934         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2935
2936         * factory.C: handle new InsetPagebreak, InsetLine
2937
2938         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2939         and move handling into new InsetPagebreak, InsetLine
2940
2941         * BufferView_pimpl.C:
2942         * LyXAction.C:
2943         * ParagraphParameters.C:
2944         * ParameterStruct.h:
2945         * lyxfunc.C:
2946         * lyxtext.h:
2947         * paragraph.C:
2948         * paragraph.h:
2949         * paragraph_funcs.C:
2950         * paragraph_pimpl.C:
2951         * rowpainter.C:
2952         * text.C:
2953         * text2.C:
2954         * text3.C: adjust
2955
2956 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2957
2958         * text.C:
2959         * lyxrow_funcs.[Ch]:
2960         * Bidi.C:
2961         * paragraph.C:
2962         * lyxtext.h:
2963         * rowpainter.C:
2964         * text2.C:
2965         * text3.C: remove lastPos uses in favour of Row::endpos
2966
2967 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2968
2969         * undo.C (performUndoOrRedo): fix two crashes by setting a
2970         cursor by hand and reordering some calls. Use bv->lockInset instead
2971         of inset->edit because the latter loses cursor information
2972
2973 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2974
2975         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2976         by Martin
2977         (rowBreakPoint): fix width. change point to point + 1.
2978         Add a missing check.
2979
2980 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2981
2982         * MenuBackend.C:
2983         * lyxfunc.C: fix (at least partly) the problems
2984         with the Nav menu and headers inside branch insets
2985         reported by Kayvan
2986
2987 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2988
2989         * paragraph.C (getChar): add strong asserts
2990
2991         * lyxrow_funcs.C (lastPos): remove hideous hack
2992
2993         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2994         (fill): adjust to that (avoid an infinite loop)
2995
2996 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2997
2998         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2999
3000 2003-10-23  André Pönitz  <poenitz@gmx.net>
3001
3002         * RowList_fwd.h: change list<> to vector<> to gain speed
3003         after suggestion from Alfredo
3004
3005 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3006
3007         * lyxtext.h: move the bidi stuff from here...
3008         * text.C: and here
3009         * text2.C: and here
3010         * Bidi.[Ch]: ... to here
3011
3012 2003-10-23  André Pönitz  <poenitz@gmx.net>
3013
3014         * lyxtext.h:
3015         * text.C (isLastRow, isFirstRow): new functions
3016
3017         * paragraph.h: new width cache member
3018
3019         * rowpainter.C: replace RowList::iterator with Row & where possible
3020
3021         * lyxfunc.C: replace several view()->text with a single call
3022
3023         * toc.C: fix 'unused' warning
3024
3025 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3026
3027         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3028         when woring with stream::pos_type
3029         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3030
3031 2003-10-22  André Pönitz  <poenitz@gmx.net>
3032
3033         * lyxtext.h:
3034         * text.C: use Row & instead of RowList::iterator
3035
3036         * lyxrow.h: rename end() to endpos()
3037
3038         * rowpainter.C:
3039         * text.C:
3040         * text2.C: adjust
3041
3042 2003-10-22  Angus Leeming  <leeming@lyx.org>
3043
3044         * buffer.[Ch] (fully_loaded): new member function, returning true
3045         only when the file has been loaded fully.
3046         Used to prevent the premature generation of previews and by the
3047         citation inset to prevent computation of the natbib-style label.
3048
3049         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3050         templates are all set up.
3051
3052         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3053
3054 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3055
3056         * text.C: fixed an "oops" in the "is a bit silly"
3057         bug fix
3058
3059 2003-10-21  André Pönitz  <poenitz@gmx.net>
3060
3061         * FuncStatus.[Ch]: small stuff, whitespace
3062
3063         * lyxfont.[Ch]: operator<<() for debug reasons
3064
3065         * lyxfunc.C:
3066         * lyxrow_funcs.C:
3067         * lyxtext.h: whitespace, spelling
3068
3069         * paragraph.C: naming of variables
3070
3071         * text.C:
3072         * text2.C: small stuff
3073
3074
3075 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3076
3077         * text.C: (1) finish off the inset display() work;
3078         (2) fix the "is a bit silly" bug (accessing char
3079         past end of par).
3080
3081 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3082
3083         * text.C: re-introduce display() for insets, fixing the
3084         various bugs (stretch of line above, math inset
3085         positioning, ...)
3086
3087 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3088
3089         * text.C (rightMargin): remove spurious semicolon
3090
3091         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3092         1415)
3093
3094 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3095
3096         * text3.C: fix one crash due to wrong cursor def
3097
3098 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3099
3100         * vc-backend.C (scanMaster): make the regex static
3101
3102         * LaTeX.C (scanAuxFile): make the regexs static
3103
3104         * text3.C (doInsertInset, dispatch, dispatch):
3105         * text2.C (cursorUp, cursorDown):
3106         * text.C (selectNextWordToSpellcheck):
3107         * BufferView_pimpl.C (dispatch):
3108         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3109
3110 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3111
3112         * lyxsocket.C: include <cerrno>
3113
3114 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3115
3116         * lyxfunc.C (dispatch): remove textcache stuff
3117
3118         * bufferlist.C (release): remove textcache stuff
3119         (closeAll): ditto
3120
3121         * TextCache.C: delete file
3122         * TextCache.h: delete file
3123
3124         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3125
3126         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3127         delete of the bv_->text.
3128         (resizeCurrentBuffer): remove texcache stuff
3129         (workAreaResize): ditto
3130
3131 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3132
3133         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3134         action.
3135
3136 2003-10-16  André Pönitz  <poenitz@gmx.net>
3137
3138         * lyxrow.[Ch]:
3139         * paragraph.h:
3140         * rowpainter.C:
3141         * text.C:
3142         * text2.C:
3143         * text3.C: speed up by storing y positions per paragraph plus per-row
3144         offset instead of having a 'full' y position in the row.
3145
3146 2003-10-15  André Pönitz  <poenitz@gmx.net>
3147
3148         * iterators.[Ch]:
3149         * iterators.[Ch]:
3150         * undo.[Ch]: make undo aware of inner insets
3151
3152 2003-10-14  Angus Leeming  <leeming@lyx.org>
3153
3154         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3155         static member functions LyX::ref() and LyX::cref.
3156         (lastfiles): new accessor functions for the new lastfiles_ member var.
3157         (addLyXView, views_): add a new LyXView to the list of views_.
3158         (updateInset): loop over all LyXViews to call their own updateInset
3159         member function, returning a pointer to the Buffer owning the inset.
3160
3161         * BufferView_pimpl.C (loadLyXFile):
3162         * MenuBackend.C (expandLastfiles):
3163         * bufferlist.C (MenuWrite, QuitLyX):
3164         lastfiles is no longer a global variable.
3165         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3166
3167         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3168         static function. Access through LyX::cref().emergencyCleanup().
3169
3170 2003-10-14  André Pönitz  <poenitz@gmx.net>
3171
3172         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3173
3174         * undo.[Ch]: restoring part of 'undo in insets'
3175
3176         * Makefile.am:
3177         * undo_funcs.[Ch]: merge with undo.[Ch]
3178
3179         * tabular.C: small cleansing stuff
3180
3181 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3182
3183         * paragraph_funcs.C (readParToken): report unknown insets as error
3184         boxes. Use the outer paragraph as location (also for unknown
3185         tokens).
3186
3187         * factory.C (readInset): do not abort on reading an unknown inset.
3188         Eat it and return 0.
3189
3190 2003-10-13  Angus Leeming  <leeming@lyx.org>
3191
3192         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3193
3194         * lyxrc.C: displayTranslator is now a function,
3195         declared in GraphicsTypes.h.
3196
3197 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3198
3199         * format.C: new placeholder $$a to pass the socket address.
3200
3201         * bufferlist.[Ch]: new function getBufferFromTmp.
3202
3203         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3204           files in the temporary dir.
3205
3206 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3207
3208         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3209
3210         * Makefile.am: add lyxsocket.[Ch].
3211
3212         * lyx_main.C (error_handler): handle SIGPIPE.
3213
3214 2003-10-13  André Pönitz  <poenitz@gmx.net>
3215
3216         * BufferView_pimpl.C:
3217         * lyxtext.h:
3218         * text.C:
3219         * text2.C:
3220         * text3.C:
3221         * undo_funcs.[Ch]: use paroffset_type instead of
3222           ParagraphList::iterators to prevent multiple conversion
3223           (and get a more robust interface)
3224
3225 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3226
3227         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3228         * lyxtext.h: ditto
3229         * text3.C (dispatch): ditto
3230
3231 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3232
3233         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3234         move the onlyfile, use onlyfile instead of foundfile in a couple
3235         of places.
3236
3237         * DepTable.C (update): flush the error stream a bit more
3238
3239 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3240
3241         * lyxserver.C (callback): adjust
3242
3243         * lyxfunc.C (getStatus): add a missing brace in commented code
3244         (ensureBufferClean): reindent
3245         (dispatch): delete version taking a string
3246
3247 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3248
3249         * LaTeX.C (deplog): move found file handlig from here...
3250         (handleFoundFile): .. to new function here.
3251         (deplog): make sure to discover several files mentioned on the
3252         same log line.
3253
3254 2003-10-10  André Pönitz  <poenitz@gmx.net>
3255
3256         * lyxfunc.C:
3257         * lyxtext.h:
3258         * tabular.C:
3259         * text.C:
3260         * text2.C:
3261         * text3.C: fix some of the tabular crashes
3262
3263 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3264
3265         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3266
3267         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3268
3269 2003-10-09  André Pönitz  <poenitz@gmx.net>
3270
3271         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3272
3273         * BufferView.C:
3274         * BufferView_pimpl.C:
3275         * bufferview_funcs.C:
3276         * lyx_cb.C:
3277         * lyxcursor.C:
3278         * lyxfind.C:
3279         * lyxfunc.C:
3280         * lyxtext.h:
3281         * text.C:
3282         * text2.C:
3283         * text3.C:
3284         * text_funcs.[Ch]:
3285         * textcursor.[Ch]:
3286         * undo_funcs.C: adjust
3287
3288 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3289
3290         * text2.C (incrementItemDepth): new function, use a backtracking
3291         algorithm to discover the correct item depth.
3292         (resetEnumCounterIfNeeded): new function, use a backtracking
3293         algorithm to discover if counter reset is needed.
3294         (setCounter): use them. Simplify a bit. Add different labels for
3295         different item depths for itemize.
3296
3297         * paragraph.C (Paragraph): remove initialization of enumdepth
3298         (operator=): ditto
3299
3300         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3301         enumerate and itemize. Change the type of itemdepth to signed char.
3302
3303 2003-10-08  André Pönitz  <poenitz@gmx.net>
3304
3305         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3306           thing assignable.
3307         * text.C:
3308         * text2.C: adjust
3309
3310         * tabular.[Ch]: fix crash after 'row-insert'
3311
3312 2003-10-08  Angus Leeming  <leeming@lyx.org>
3313
3314         Fix doxygen warnings.
3315
3316         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3317         Remove CutAndPaste:: prefix from header file declaration.
3318
3319         * LColor.h (fill): remove LColor:: prefix from declaration.
3320
3321         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3322         use lyx::depth_type rather than Paragraph::depth_type so that
3323         header file and .C file match.
3324
3325         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3326
3327         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3328         * aspell.C: \file aspell_local.C -> \file aspell.C
3329         * gettext.C: \file gettext.C -> \file src/gettext.C
3330         * gettext.h: \file gettext.h -> \file src/gettext.h
3331         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3332         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3333         * text.C: \file text.C -> \file src/text.C
3334
3335         * toc.C: move comment so that doxygen is not confused.
3336
3337 2003-10-07  Angus Leeming  <leeming@lyx.org>
3338
3339         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3340
3341 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3342
3343         * aspell.C:
3344         * aspell_local.h: add forgotten std::string's.
3345
3346 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3347
3348         * LaTeXFeatures.C:
3349         * LyXAction.C:
3350         * factory.C:
3351         * lfuns.h:
3352         * lyxfunc.C:
3353         * text3.C: The Box patch. Fancybox support, minipage, parbox
3354
3355 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3356
3357         * CutAndPaste.h:
3358         * DepTable.h:
3359         * FloatList.h:
3360         * LaTeXFeatures.h:
3361         * ParagraphParameters.h:
3362         * TextCache.h:
3363         * Thesaurus.h:
3364         * bufferlist.h:
3365         * exporter.h:
3366         * importer.h:
3367         * lastfiles.h:
3368         * lyxfind.h:
3369         * lyxfont.h:
3370         * lyxlex.h:
3371         * lyxtextclasslist.h:
3372         * messages.h:
3373         * paragraph.h:
3374         * paragraph_pimpl.C:
3375         * textcursor.h: add <string> and other small fixes to make Lars'
3376         std::string patch compile with STLport.
3377
3378 2003-10-06  Angus Leeming  <leeming@lyx.org>
3379
3380         * LColor.h: Add missing #include <string>.
3381
3382 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3383
3384         * All most all file in all subdirs: Make <string> be the prefered
3385         way of getting to std::string, add using declarations.
3386
3387 2003-10-06  André Pönitz  <poenitz@gmx.net>
3388
3389         * metricsinfo.C: initialize LyXFont before changing attribute.
3390         (fixes the 'math in \emph is upright' bug)
3391
3392 2003-10-06  André Pönitz  <poenitz@gmx.net>
3393
3394         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3395
3396 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3397
3398         * graph.C:
3399         * paragraph_pimpl.C: Small fixes to build using STLport
3400
3401 2003-10-02  André Pönitz  <poenitz@gmx.net>
3402
3403         * lyxfunc.C:
3404         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3405
3406 2003-10-01  André Pönitz  <poenitz@gmx.net>
3407
3408         * factory.C: assert early
3409
3410 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3411
3412         * lyx_main.C: remove the global debug object
3413
3414         * debug.h: adjust for new debugstream
3415
3416         * debug.C: adjust for new debugstream and keep the global debug
3417         object here.
3418
3419 2003-09-22  Angus Leeming  <leeming@lyx.org>
3420
3421         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3422         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3423         an incomplete class LyXFont.
3424
3425 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3426
3427         * factory.C: bug fix in branches
3428
3429 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3430
3431         * lyxfunc.C (processKeySym): adjust
3432         (dispatch): adjust
3433         (dispatch): change arg name from ev to func, adjust
3434         (sendDispatchMessage): ditto
3435
3436         * lyx_main.C (defaultKeyBindings): adjust keybindings
3437         (deadKeyBindings): ditto
3438
3439         * kbsequence.C (addkey): return a FuncRequest
3440
3441         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3442
3443         * kbmap.C (bind): take a FuncRequest as arg, adjust
3444         (read): adjust
3445         (lookup): adjust
3446         (defkey): change to take a FuncRequest as arg, adjust
3447         (findbinding): take a FuncRequest as arg, adjust.
3448
3449         * funcrequest.h (operator=): added
3450
3451         * funcrequest.C (FuncRequest): default kb_action changed from
3452         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3453
3454         * buffer.C (dispatch): simplify
3455         (dispatch): adjust to take a FuncRequest as arg, adjust
3456
3457         * boost.C (assertion_failed): change assertion message slightly
3458
3459         * ToolbarBackend.C (read): simplify
3460
3461         * MenuBackend.C (binding): adjust call to findbinding, add a
3462         message if no binding is found.
3463         (read): simplify
3464         (expandToc): correct by adding a empty FuncRequest
3465
3466         * LyXAction.C: include <boost/assert.hpp>
3467         (isPseudoAction): delete function
3468         (LookupFunc): change name to...
3469         (lookupFunc): this. change return type to FuncRequest.
3470         (getActionName): take kb_action as arg, simplify
3471         (funcHasFlag): add an assert, simplify.
3472
3473 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3474
3475         * toc.C (action): return a FuncRequest, simplify
3476
3477         * lyxfunc.C (processKeySym): adjust
3478         (getStatus): delete version that takes an int.
3479         (getStatus): adjust
3480         (dispatch): delete version that takes action as int
3481         (dispatch): adjust
3482         (sendDispatchMessage): simplify and adjust
3483
3484         * funcrequest.C (getArg): take unsigned int as arg
3485
3486         * ToolbarBackend.C (read): adjust
3487         (add): delete version that takes func as a string.
3488         (getIton): take a FuncRequest as arg
3489
3490         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3491         action.
3492
3493         * MenuBackend.C (MenuItem): add a new construct that only takes a
3494         Kind, simplify the constructor use for submenus.
3495         (add): adjust
3496         (expandLastfiles): adjust
3497         (expandDocuments): adjust
3498         (expandFormats): adjust
3499         (expandFloatListInsert): adjust
3500         (expandFloatInsert): adjust
3501         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3502
3503         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3504         Remove class variables lyx_pseudo_map and lyx_arg_map
3505
3506         * LyXAction.C (searchActionArg): delete function
3507         (getPseudoAction): delete function
3508         (retrieveActionArg): delete function
3509         (LookupFunc): make it return kb_action, simplify.
3510         (getActionName): simplify
3511
3512         * factory.C (createInset): fix new bug
3513
3514 2003-09-19  Angus Leeming  <leeming@lyx.org>
3515
3516         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3517         masterFilename_ parameter in the include inset.
3518
3519         * factory.C (createInset): changes due to the changes to InsetInclude.
3520
3521 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3522
3523         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3524
3525 2003-09-18  Angus Leeming  <leeming@lyx.org>
3526
3527         * buffer.C:
3528         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3529         Inset::fillWithBibKeys.
3530         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3531
3532 2003-09-18  Angus Leeming  <leeming@lyx.org>
3533
3534         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3535         variables.
3536         (ctor): pass and store a 'Buffer const &'
3537         (buffer): new member function.
3538
3539         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3540         '*this' to the LaTeXFeatures ctor.
3541
3542 2003-09-18  Angus Leeming  <leeming@lyx.org>
3543
3544         * LColor.h:
3545         * lyxfont.C:
3546         * lyxfont.h:
3547         * lyxtext.h:
3548         * text.C: rename EnumLColor as LColor_color.
3549
3550 2003-09-18  Angus Leeming  <leeming@lyx.org>
3551
3552         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3553         remove #include "insets/insetbase.h" from cursor.h.
3554
3555 2003-09-18  Angus Leeming  <leeming@lyx.org>
3556
3557         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3558         InsetOld_code to remove #include "inset.h".
3559
3560         * iterators.C: add #include "insets/inset.h"
3561
3562 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3563
3564         * BufferView.C: remove more locking stuff that apparently doesn't
3565         do anything sensible.
3566
3567 2003-09-16  André Pönitz  <poenitz@gmx.net>
3568
3569         * paragraph.[Ch]:
3570         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3571           performance boost.
3572
3573 2003-09-16  Angus Leeming  <leeming@lyx.org>
3574
3575         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3576
3577         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3578         arg/return type.
3579
3580         * paragraph.h: remove #include "lyxfont.h". Forward declare
3581         LyXFont_size.
3582
3583 2003-09-16  Angus Leeming  <leeming@lyx.org>
3584
3585         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3586         of support/textutils.h.
3587         (isWord): move the contents of support/textutils.h's IsWordChar here.
3588
3589         * buffer.C:
3590         * lyxfind.C:
3591         * rowpainter.C:
3592         * text.C:
3593         * text2.C: add #include "paragraph.h".
3594
3595         * rowpainter.C:
3596         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3597
3598 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3599
3600         * main.C:
3601         * lyx_main.C:
3602         * lyx_cb.C:
3603         * buffer.C:
3604         * LaTeX.C: use namespace alias for lyx::support::os
3605
3606 2003-09-16  Angus Leeming  <leeming@lyx.org>
3607
3608         * bufferparams.C:
3609         * bufferview_funcs.C:
3610         * factory.C:
3611         * lyxfunc.C:
3612         * paragraph_pimpl.C:
3613         * rowpainter.C:
3614         * text.C: add #include "LColor.h".
3615
3616 2003-09-16  Angus Leeming  <leeming@lyx.org>
3617
3618         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3619         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3620         return LyXFont &.
3621         Store the FontBits::color variable as an int rather than as an
3622         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3623         file.
3624
3625         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3626         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3627         string calls together.
3628
3629         * lyxrc.C: add #include "LColor.h".
3630
3631 2003-09-15  Angus Leeming  <leeming@lyx.org>
3632
3633         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3634         a cow_ptr.
3635
3636 2003-09-15  Angus Leeming  <leeming@lyx.org>
3637
3638         * LColor.h: add an EnumLColor wrapper for LColor::color.
3639
3640         * lyxfont.[Ch] (color, setColor, realColor):
3641         * lyxtext.h, text.C (backgroundColor):
3642         pass EnumLColor args to/from the functions, rather than LColor::color
3643         ones.
3644
3645         * lyxfont.h:
3646         * lyxtext.h: forward declare EnumLColor.
3647
3648         * lyx_main.C: add #include "LColor.h".
3649
3650 2003-09-15  Angus Leeming  <leeming@lyx.org>
3651
3652         * .cvsignore: add lyx-gtk.
3653
3654 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3655
3656         * Chktex.C
3657         * LaTeX.C
3658         * LaTeXFeatures.C
3659         * ParagraphParameters.C
3660         * Spacing.C
3661         * buffer.C
3662         * bufferparams.C
3663         * bufferview_funcs.C
3664         * chset.C
3665         * counters.C
3666         * funcrequest.C
3667         * lyxfont.C
3668         * lyxgluelength.C
3669         * lyxlength.C
3670         * paragraph.C
3671         * paragraph_funcs.C
3672         * text3.C
3673         * vc-backend.C: remove usage of STRCONV
3674
3675 2003-09-15  Angus Leeming  <leeming@lyx.org>
3676
3677         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3678         explicitly define the color passed to the painter.
3679
3680 2003-09-15  Angus Leeming  <leeming@lyx.org>
3681
3682         * bufferparams.C (BufferParams): reorder member initializers to avoid
3683         compiler warning.
3684
3685 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3686
3687         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3688         * text.C (updateRowPositions): remove an unusual nop
3689
3690 2003-09-12  André Pönitz  <poenitz@gmx.net>
3691
3692         * BufferView_pimpl.C:
3693         * Bullet.C:
3694         * layout.h:
3695         * lyxfunc.C:
3696         * lyxlayout.[Ch]:
3697         * lyxtextclass.C:
3698         * rowpainter.C:
3699         * text.C:
3700         * text2.C:
3701         * Counters.[Ch]: finish the 'automatic counters' job
3702
3703 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3704
3705         * aspell.C: include <boost/assert.cpp> (compile fix)
3706
3707 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3708
3709         * boost.C (assertion_failed): use lyx::support::abort instead of
3710         assert.
3711
3712 2003-09-10  Angus Leeming  <leeming@lyx.org>
3713
3714         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3715         with their _fwd progeny.
3716
3717 2003-09-09  Angus Leeming  <leeming@lyx.org>
3718
3719         134 files throughtout the source tree: replace 'using namespace abc;'
3720         directives with the appropriate 'using abc::xyz;' declarations.
3721
3722 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3723
3724         * boost.C (emergencyCleanup): moved here from LAssert.c
3725         (assertion_failed): new function, called by BOOST_ASSERT
3726
3727         * several files: change Assert to BOOST_ASSERT
3728
3729 2003-09-09  Angus Leeming  <leeming@lyx.org>
3730
3731         * buffer.[Ch]: Add an Impl class and move Buffer's member
3732         variables into it. As a result move several header files out of
3733         buffer.h.
3734
3735         Add header files to lots of .C files all over the tree as a result.
3736
3737 2003-09-09  Angus Leeming  <leeming@lyx.org>
3738
3739         * buffer.[Ch]: make Buffer's member variables private. Add
3740         accessor functions.
3741
3742         Lots of changes all over the tree as a result.
3743
3744 2003-09-08  Angus Leeming  <leeming@lyx.org>
3745
3746         * graph.C: #include <config.h>.
3747
3748 2003-09-08  Angus Leeming  <leeming@lyx.org>
3749
3750         * BranchList.C:
3751         * BufferView.C:
3752         * BufferView_pimpl.C:
3753         * CutAndPaste.C:
3754         * DepTable.C:
3755         * LaTeX.C:
3756         * LaTeXFeatures.C:
3757         * LyXAction.C:
3758         * MenuBackend.C:
3759         * TextCache.C:
3760         * aspell.C:
3761         * buffer.C:
3762         * bufferlist.C:
3763         * changes.C:
3764         * chset.C:
3765         * converter.C:
3766         * counters.C:
3767         * debug.C:
3768         * graph.C:
3769         * ispell.C:
3770         * lyx_cb.C:
3771         * lyxfind.C:
3772         * lyxfunc.C:
3773         * lyxlex_pimpl.C:
3774         * lyxrc.C:
3775         * lyxrow.C:
3776         * paragraph.C:
3777         * rowpainter.C:
3778         * texrow.C:
3779         * text.C:
3780         * text2.C:
3781         * toc.C: remove redundant using directives.
3782
3783 2003-09-07  Angus Leeming  <leeming@lyx.org>
3784
3785         * LaTeXFeatures.h: remove #include "support/types.h".
3786         * ToolbarBackend.h: remove #include <algorithm>.
3787         * changes.h: remove #include <ctime>.
3788         * debug.h: remove #include <iosfwd>.
3789         * graph.h: remove #include "support/std_string.h".
3790         * lyx_main.h: remove #include <csignal>.
3791         * lyxlex_pimpl.h: remove #include <fstream>.
3792         * sgml.h: remove #include <algorithm>, <utility>.
3793         * toc.h: remove #include "support/std_ostream.h".
3794         Add #include <iosfwd>.
3795
3796 2003-09-07  Angus Leeming  <leeming@lyx.org>
3797
3798         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3799
3800         * converter.h: forward declare LatexRunParams.
3801         * encoding.h: remove #include "lyxrc.h".
3802         * lyxtext.h: remove #include "LColor.h".
3803         * lyxtextclass.h: remove #include "support/types.h".
3804         * trans.h: remove #include "tex-accent.h".
3805         * trans_mgr.h: remove #include "tex-accent.h".
3806         * insets/inset.h: remove #include "support/types.h", <vector>.
3807         * insets/insetcollapsable.h: remove #include "LColor.h".
3808         * insets/insetinclude.h: remove #include "dimension.h".
3809         * insets/insetlatexaccent.h: remove #include "dimension.h".
3810         * insets/insetoptarg.h:: remove #include "insettext.h".
3811         * insets/insettext.h: remove #include "dimension.h",
3812         <boost/shared_ptr.hpp>
3813
3814         * insets/renderers.h: add #include "dimension.h".
3815         * insets/updatableinset.h: add #include "support/types.h".
3816
3817         * many .C files: Associated changes.
3818
3819 2003-09-06  Angus Leeming  <leeming@lyx.org>
3820
3821         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3822         one, inside testInvariant.
3823
3824         * PrinterParams.C: new file.
3825         * PrinterParams.[Ch]: move the function bodies out of line.
3826
3827 2003-09-06  Angus Leeming  <leeming@lyx.org>
3828
3829         * ParagraphParameters.h: forward declare ParameterStruct rather than
3830         including its header file.
3831         (depth): moved out-of-line.
3832
3833 2003-09-06  Angus Leeming  <leeming@lyx.org>
3834
3835         * BufferView_pimpl.h:
3836         * kbmap.h:
3837         * kbsequence.h:
3838         * lyxfunc.h: forward declare LyXKeySym rather than
3839         #include "frontends/LyXKeySym.h".
3840
3841         * BufferView_pimpl.C:
3842         * kbmap.C:
3843         * kbsequence.C:
3844         * lyxfunc.C: associated changes.
3845
3846 2003-09-06  Angus Leeming  <leeming@lyx.org>
3847
3848         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3849         As a result, can remove the #include "insets/inset.h" from BufferView.h
3850
3851 2003-09-06  Angus Leeming  <leeming@lyx.org>
3852
3853         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3854         As a result, can remove the #include "insets/inset.h" from BufferView.h
3855
3856 2003-09-06  Angus Leeming  <leeming@lyx.org>
3857
3858         * buffer_funcs.C:
3859         * buffer.h:
3860         * bufferlist.C:
3861         * BufferView.C:
3862         * bufferview_funcs.C:
3863         * BufferView_pimpl.C:
3864         * CutAndPaste.C:
3865         * lyx_cb.C:
3866         * lyxfunc.C:
3867         * paragraph.h:
3868         * ParagraphParameters.C:
3869         * tabular.C:
3870         * text3.C:
3871         * toc.C:
3872         * undo_funcs.C:
3873         * frontends/controllers/ControlDocument.C:
3874         * insets/insetcaption.C: rearrange the #includes into some sort of
3875         coherent order.
3876
3877         * buffer.h: remove #includes ErrorList.h, undo.h
3878
3879 2003-09-06  Angus Leeming  <leeming@lyx.org>
3880
3881         * support/types.h: add a 'depth_type' typedef, used to store the
3882         nesting depth of a paragraph.
3883
3884         * paragraph.h:
3885         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3886         defining explicitly.
3887
3888         * buffer.h:
3889         * paragraph_funcs.h:
3890         * ParagraphParameters.h:
3891         * sgml.h: use lyx::depth_type rather than Paragraph or
3892         ParameterStruct's depth_type.
3893
3894         * buffer.h
3895         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3896
3897         * BufferView.C:
3898         * BufferView_pimpl.C:
3899         * CutAndPaste.C:
3900         * ParagraphParameters.C:
3901         * buffer_funcs.C:
3902         * bufferlist.C:
3903         * bufferview_funcs.C:
3904         * lyx_cb.C:
3905         * lyxfunc.C:
3906         * tabular.C:
3907         * text3.C:
3908         * toc.C:
3909         * undo_funcs.C:
3910         * frontends/LyXView.C:
3911         * frontends/controllers/ControlDocument.C:
3912         * frontends/controllers/ControlErrorList.C:
3913         * insets/insetbibitem.C:
3914         * insets/insetbranch.C:
3915         * insets/insetcaption.C:
3916         * insets/insetcollapsable.C:
3917         * insets/insetenv.C:
3918         * insets/insetert.C:
3919         * insets/insetfloat.C:
3920         * insets/insetfoot.C:
3921         * insets/insetfootlike.C:
3922         * insets/insetnewline.C:
3923         * insets/insetquotes.C:
3924         * insets/insettabular.C:
3925         * insets/insettext.C:
3926         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3927
3928         * frontends/controllers/ControlChanges.C: #include "changes.h".
3929
3930 2003-09-06  Angus Leeming  <leeming@lyx.org>
3931
3932         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3933         than #including paragraph.h.
3934
3935         * ParagraphList.h:
3936         * RowList.h: deleted. Superfluous.
3937
3938         * CutAndPaste.h:
3939         * iterators.h:
3940         * lyxcursor.h:
3941         * lyxtext.h:
3942         * text_funcs.h:
3943         * undo.h:
3944         * undo_funcs.h:
3945         * insets/inset.h:
3946         * insets/insettext.h: use ParagraphList_fwd.h rather than
3947         ParagraphList.h.
3948
3949         * paragraph.h: don't forward declare ParagraphList.
3950
3951         * buffer.h:
3952         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3953         rather than ParagraphList.h. paragraph.h is still needed for the
3954         Paragraph::depth_type parameters.
3955
3956         * textcursor.h: enable it to compile stand-alone in light of the
3957         above changes.
3958
3959         * bufferview_funcs.C:
3960         * iterators.C:
3961         * lyxfunc.C:
3962         * lyxrow_funcs.C:
3963         * paragraph.C:
3964         * rowpainter.C:
3965         * text.C:
3966         * text2.C:
3967         * text3.C:
3968         * text_funcs.C:
3969         * textcursor.C:
3970         * undo.C:
3971         * frontends/controllers/ControlParagraph.C:
3972         * frontends/controllers/ControlTabular.C:
3973         * insets/insetmarginal.C:
3974         * insets/insetminipage.C:
3975         * insets/insetnote.C:
3976         * insets/insetoptarg.C: add header files needed to compile again.
3977
3978 2003-09-06  Angus Leeming  <leeming@lyx.org>
3979
3980         * RowList_fwd.h: new file, forward-declaring Row rather than
3981         #including lyxrow.h.
3982
3983         * lyxrow_funcs.h:
3984         * lyxtext.h:
3985         * paragraph.h:
3986         * insets/insettext.h: use it instead of RowList.h
3987
3988         * bufferview_funcs.C:
3989         * lyxfunc.C:
3990         * lyxrow_funcs.C:
3991         * paragraph.C:
3992         * rowpainter.C:
3993         * text.C:
3994         * text2.C:
3995         * text3.C: #include "RowList.h".
3996
3997 2003-09-05  Angus Leeming  <leeming@lyx.org>
3998
3999         * factory.C (createInset):
4000         * vspace.C (c-tor): replace sscanf call with an istringstream.
4001         * ispell.C: re-add missing HP/UX headers.
4002         * lyxserver.C: re-add missing  os2 headers.
4003
4004 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4005
4006         * BranchList.C:
4007         * graph.C:
4008         * ispell.C:
4009         * lastfiles.C:
4010         * lyx_cb.C:
4011         * lyxserver.C:
4012         * texrow.C:
4013         * text3.C: re-add missing system headers, needed for 2.95.2.
4014
4015 2003-09-05  Angus Leeming  <leeming@lyx.org>
4016
4017         Changes most place everywhere due to the removal of using directives
4018         from support/std_sstream.h.
4019
4020 2003-09-05  Angus Leeming  <leeming@lyx.org>
4021
4022         Replace LString.h with support/std_string.h,
4023         Lsstream.h with support/std_sstream.h,
4024         support/LIstream.h with support/std_istream.h,
4025         support/LOstream.h with support/std_ostream.h.
4026
4027         Changes resulting throughout the tree.
4028
4029 2003-09-05  Angus Leeming  <leeming@lyx.org>
4030
4031         * sgml.h: ensure that the header file can be compiled stand-alone.
4032         * *.C: strip out redundant #includes. (320 in total.)
4033
4034 2003-09-04  Angus Leeming  <leeming@lyx.org>
4035
4036         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4037         here (from getPackages).
4038
4039         * debug.[Ch]: add a new EXTERNAL tag.
4040
4041 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4042
4043         * text2.C (cursorEnd): simplify
4044         (setCursor): adjust
4045         (getColumnNearX): adjust
4046
4047         * text.C (computeBidiTables): adjust
4048         (fill): adjust
4049
4050         * rowpainter.C (paintChars): adjust
4051         (paintSelection): adjust
4052         (paintChangeBar): adjust
4053         (paintText): adjust
4054
4055         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4056         lastPos instead.
4057         (numberOfSeparators): adjust
4058
4059 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4060
4061         * LyXAction.C:
4062         * box.[Ch]:
4063         * lfuns.h:
4064         * lyxfunc.C:
4065         * text3.C: Restricts the mouse click functionality
4066         of insets like bibtex, include, toc and floatlist to the visible
4067         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4068         up the dialogs. Cursor has to be in front of the inset (i.e.
4069         start of row) for this to function.
4070
4071 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4072
4073         * bufferview_funcs.C (currentState): output row information
4074
4075 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4076
4077         * bufferview_funcs.C (currentState): output paragraph position
4078
4079 2003-09-04  Angus Leeming  <leeming@lyx.org>
4080
4081         * FloatList.h: move out #include "Floating.h".
4082         * LaTeX.h: move out #include "DepTable.h".
4083         * LyXAction.h: move out #include "funcrequest.h".
4084         * buffer.h: move out #include "author.h", "iterators.h".
4085         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4086         * lyx_main.h: move out #include "errorlist.h".
4087         * lyxfunc.h: move out #include "FuncStatus.h".
4088         * lyxtext: move out #include "lyxcursor.h".
4089         * paragraph_pimpl.h: move out #include "counters.h".
4090
4091 2003-09-03  Angus Leeming  <leeming@lyx.org>
4092
4093         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4094         preamble_snippets list, enabling us to add snippets to the preamble
4095         only if the snippet was not there already.
4096
4097 2003-09-04  Angus Leeming  <leeming@lyx.org>
4098
4099         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4100
4101 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4102
4103         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4104         update
4105
4106 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4107
4108         * BranchList.C: point fix, earlier forgotten
4109
4110 2003-09-02  Angus Leeming  <leeming@lyx.org>
4111
4112         * box.C (contains): renamed from 'contained' after a fantastic
4113         amount of hot air.
4114
4115 2003-09-02  John Levon  <levon@movementarian.org>
4116
4117         * BufferView.C:
4118         * lyxcursor.h:
4119         * lyxcursor.C:
4120         * lyxfunc.C:
4121         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4122
4123 2003-09-02  John Levon  <levon@movementarian.org>
4124
4125         * text2.C: simplification of cursorEnd(), including partial
4126         fix for bug 1376
4127
4128 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4129
4130         * buffer.C (readFile): add a space
4131
4132 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4133
4134         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4135
4136 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4137
4138         * buffer.C (readFile): new function, take a filename and a
4139         ParagraphList::iterator
4140         (readFile): adjust
4141         (readFile): adjust, make it private. don't use setStream, make
4142         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4143         always contain the filename.
4144
4145         * BufferView.C (insertLyXFile): simplify and make it work for
4146         gzipped files.
4147
4148 2003-08-30  John Levon  <levon@movementarian.org>
4149
4150         * Makefile.am: fix dist (from Kayvan)
4151
4152 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4153
4154         * most files: change to use const Buffer refs
4155
4156 2003-08-27  André Pönitz  <poenitz@gmx.net>
4157
4158         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4159         on top of ownerPar().
4160
4161 2003-08-27  John Levon  <levon@movementarian.org>
4162
4163         * funcrequest.C: properly initialise POD members
4164
4165 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4166
4167         * lyxtext.h (top_y): move top_y from here
4168         * text.C:
4169         * text2.C:
4170         * text3.C:
4171         * BufferView.[Ch]:
4172         * BufferView_pimpl.[Ch]: to here
4173         * frontends/screen.C:
4174         * insets/insettabular.C:
4175         * insets/insettext.C: adjust
4176         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4177
4178 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4179
4180         * BufferView.[Ch]:
4181         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4182
4183 2003-08-26  André Pönitz  <poenitz@gmx.net>
4184
4185         * paragraph_func.[Ch] (outerPar): new function
4186
4187         * paragraph.C:
4188         * paragraph_funcs.C:
4189         * paragraph_funcs.h:
4190         * paragraph_pimpl.C:
4191         * text2.C: remove Inset::par_owner
4192
4193 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4194
4195         * lyxrow_funcs.C:
4196         * lyxtext.h:
4197         * text.C:
4198         * text2.C: eliminates the needFullRow/display() stuff
4199         altogether, putting the logic in metrics/draw in the insets.
4200
4201 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4202
4203         * text2.C (redoParagraphInternal, redoParagraphs):
4204         * text.C (redoParagraph): add a call to updateRowPositions at the
4205         end of each 'metrics-like' call. Remove all others.
4206         (getRow): remove the 'y-computing' version.
4207         (getRowNearY): do not compute nor return the real y. Solve the
4208         'y < 0' problem and simplify.
4209
4210 2003-08-22  Angus Leeming  <leeming@lyx.org>
4211
4212         * *.[Ch]: clean-up of licence and author blurbs.
4213         Also move config.h out of a few .h files and into a few .C files.
4214
4215 2003-08-22  André Pönitz  <poenitz@gmx.net>
4216
4217         * lyxrow.[Ch]: add x_ and *fill_ members
4218
4219         * lyxtext.h:
4220         * text.C:
4221         * rowpainter.C:
4222         * text2.C: adjust/remove prepareToPrint() calls
4223
4224 2003-08-22  André Pönitz  <poenitz@gmx.net>
4225
4226         * lyxrow.[Ch]: add  end_ member
4227
4228         * lyxrow_funcs.C: use LyXRow::end_
4229
4230         * lyxtext.h (singleWidth): add LyXFont parameter
4231
4232         * rowpainter.C:
4233         * text2.C: adjust LyXText::singleWidth() calls
4234
4235         * text.C (redoParagraph): simplify row breaking logic
4236
4237
4238 2003-08-19  André Pönitz  <poenitz@gmx.net>
4239
4240         * funcrequest.C: initialize button_ member
4241
4242         * text3.C:
4243         * rowpainter.[Ch]: interface consolidation
4244
4245 2003-08-18  André Pönitz  <poenitz@gmx.net>
4246
4247         * BufferView.C:
4248         * BufferView_pimpl.C:
4249         * lyxfind.C:
4250         * paragraph_funcs.C:
4251         * rowpainter.C:
4252         * text3.C: remove LyXScreen::draw() and fitCursor calls
4253
4254         * BranchList.h: remove spurious semicolons
4255
4256         * MenuBackend.C: fix branchlist related crash
4257
4258 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4259
4260         * BranchList.[Ch]:
4261         * InsetList.[Ch]:
4262         * LColor.[Ch]:
4263         * LyXAction.C:
4264         * Makefile.am:
4265         * MenuBackend.[Ch]:
4266         * bufferparams.[Ch]:
4267         * factory.C:
4268         * lfuns.h:
4269         * lyxfunc.C:
4270         * text3.C: implements the 'branch inset'
4271         idea. This allows the output of various versions of a document
4272         from a single source version, selectively outputing or suppressing
4273         output of parts of the text.
4274         This implementation contains a 'branch list editor' in a separate
4275         tab of the document settings dialog. Branches are user definable
4276         and have a "display colour" to distinguish them on-screen.
4277
4278         ColorHandler was somewhat cleaned up.
4279         (1) make possible a dynamically growing LColor list by allowing
4280         the graphic context cache to grow along (vector);
4281         (2) eliminate an IMHO unnecessary step in colour allocation.
4282
4283 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4284
4285         * BufferView_pimpl.C: compile fix
4286
4287 2003-08-15  André Pönitz  <poenitz@gmx.net>
4288
4289         * rowpainter.C: remove extra metrics calls
4290
4291         * lyxtext.h: merge the two constructors into a single one,
4292           pass reference to owner's par list
4293
4294         * BufferView_pimpl.C:
4295         * text.C:
4296         * text2.C: adjust
4297
4298 2003-08-15  André Pönitz  <poenitz@gmx.net>
4299
4300         * lyxrow_funcs.[Ch]:
4301         * lyxtext.h:
4302         * paragraph.h:
4303         * paragraph_funcs.C:
4304         * rowpainter.C:
4305         * text.C:
4306         * text2.C:
4307         * text3.C:
4308         * text_funcs.C: split LyXText::rowlist_ into individual
4309         Paragraph::rows_ chunks
4310
4311         * BufferView.[Ch]:
4312         * BufferView_pimpl.[Ch]:
4313         * lyxfind.C:
4314         * lyxtext.h:
4315         * text3.C: remove toggleSelection()
4316
4317 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4318
4319         * bufferlist.C: beautify two alerts (shorter text of buttons)
4320         * buffer.C: Remove redundant ' ' from message
4321         * tabular.h:
4322         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4323         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4324         rename VALIGN_CENTER to VALIGN_MIDDLE
4325
4326 2003-08-11  André Pönitz  <poenitz@gmx.net>
4327
4328         * lyxtext.h (getPar):
4329         * text.C: new function
4330
4331 2003-08-11  André Pönitz  <poenitz@gmx.net>
4332
4333         * Makefile.am:
4334         * tracer.[Ch]: remove unneeded files
4335
4336         * InsetList.[Ch]: remove resizeInsetsLyXText()
4337
4338         * lyxtext.h:
4339         * text.C:
4340         * text2.C:
4341         * text3.C: merge insertParagraphs() and appendParagraph()
4342         remove breakAgain(), update()
4343
4344         * BufferView_pimpl.[Ch]:
4345         * bufferview_funcs.[Ch]:
4346         * lyxfunc.C:
4347         * paragraph.[Ch]:
4348         * rowpainter.C:
4349         * tabular.C: adjust after text & InsetList changes.
4350
4351 2003-08-08  André Pönitz  <poenitz@gmx.net>
4352
4353         * text.C (insertChar, backspace): replace rowlist fiddling
4354         with rebreak of full par
4355
4356         * lyxtext.h:
4357         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4358         checkParagraph, updateInset): removed
4359
4360 2003-08-07  André Pönitz  <poenitz@gmx.net>
4361
4362         * paragraph.C:
4363         * text3.C: merge some LFUN handlers, remove dead code
4364
4365 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4366
4367         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4368
4369 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4370
4371         * text2.C (DEPM): fix part of bug 1255 and 1256
4372
4373 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4374
4375         * BufferView_pimpl.C (workAreaDispatch): change to use
4376         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4377         that are no mouse related.
4378
4379 2003-08-05  André Pönitz  <poenitz@gmx.net>
4380
4381         * BufferView.[Ch]:
4382         * BufferView_pimpl.[Ch]:
4383         * bufferview_funcs.C:
4384         * text2.C:
4385         * text3.C: rip out "deep update"
4386
4387         * textcursor.[Ch] (last_sel_cursor): remove unused member
4388
4389 2003-08-04  André Pönitz  <poenitz@gmx.net>
4390
4391         * BufferView.[Ch]:
4392         * BufferView_pimpl.[Ch]:
4393         * ParagraphParameters.C:
4394         * bufferview_funcs.C:
4395         * lyx_cb.C:
4396         * lyxfind.C:
4397         * lyxfunc.C:
4398         * text.C:
4399         * text2.C:
4400         * text3.C: replace "complicated" BufferView::update(...) calls with
4401         simpler ones.
4402
4403         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4404
4405 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4406
4407         * Makefile.am (lyx_SOURCES): add paper.h
4408
4409 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4410
4411         * Makefile.am: move things around so that both lyx-qt and
4412         lyx-xforms can be built (according to --with-frontend). Then lyx
4413         is a symbolic link to lyx-[firstfrontend]
4414
4415 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4416
4417         * Always use std::endl with lyxerr
4418
4419 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4420
4421         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4422
4423 2003-08-01  André Pönitz  <poenitz@gmx.net>
4424
4425         * BufferView.[Ch]:
4426         * BufferView_pimpl.[Ch]:
4427         * lyxfunc.C:
4428         * text3.C: merge BufferView::repaint() and BufferView::update()
4429
4430 2003-08-01  José Matos  <jamatos@lyx.org>
4431
4432         * buffer.[Ch]: file_format is no longer a buffer data element.
4433
4434 2003-08-01  André Pönitz  <poenitz@gmx.net>
4435
4436         * BufferView.C:
4437         * lyxtext.h:
4438         * text.C:
4439         * text2.C: make redoParagraph more independent of current cursor
4440
4441         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4442         * text.C:
4443         * text2.C: remove unneeded members
4444
4445 2003-07-30  André Pönitz  <poenitz@gmx.net>
4446
4447         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4448
4449         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4450           create a single function...
4451
4452         * paragraph_funcs.C (moveItem): ... here.
4453
4454         * text.C:
4455           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4456
4457 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4458
4459         * LColor.[Ch]: Add comment and greyedout logical colors.
4460
4461 2003-07-30  André Pönitz  <poenitz@gmx.net>
4462
4463         * tabular.C: don't use Assert too heavily. This crashes where it
4464           shouldn't
4465
4466 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4467
4468         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4469         is disabled (bug 1232)
4470
4471 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4472
4473         * factory.C: limited 'arg' scope
4474
4475 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4476
4477         * factory.C: fixed Note submenu issues
4478
4479 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4480
4481         * factory.C: submenu for Note/Comment/Greyedout
4482
4483 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4484
4485         * lyx_main.C (LyX):
4486         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4487
4488 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4489
4490         * LaTeXFeatures.C:
4491         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4492         greyedout. Patch provided by Jürgen Spitzmüller.
4493
4494 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4495
4496         * kbmap.C (read): fix error message when reading bind files
4497
4498 2003-07-29  Angus Leeming  <leeming@lyx.org>
4499
4500         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4501         certainly does not do what it purports to do. I am doing it, and
4502         us, a favour by killing it.
4503
4504 2003-07-28  José Matos  <jamatos@lyx.org>
4505
4506         * buffer.C (readBody, do_writeFile):
4507         * paragraph.C(readParagraph): \end_document replaces \the_end.
4508
4509 2003-07-29  André Pönitz  <poenitz@gmx.net>
4510
4511         * BufferView.[Ch]:
4512         * BufferView_pimpl.[Ch]:
4513         * lyxfunc.C:
4514         * text2.C:
4515         * text3.C:
4516         * textcursor.[Ch]: remove toggleToggle & Co
4517
4518 2003-07-28  José Matos  <jamatos@fep.up.pt>
4519
4520         * buffer.C (readParagraph):
4521         * params_func (readParToken, readParagraph):
4522         * paragraph.C (write): \layout -> \begin_layout.
4523
4524 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * lyxlex_pimpl.C (setFile): clean up slightly.
4527
4528         * bufferparams.h: add compressed var
4529
4530         * buffer_funcs.C (readFile): adjust for LyXLex change
4531         (newFile): ditto + simplify
4532
4533         * buffer.C (writeFile): handle writing of compressed files
4534
4535         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4536         Check if the file is compressed and set a bufferparm if so.
4537
4538         * Makefile.am (lyx_LDADD): remove explicit -lz
4539
4540 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4541
4542         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4543         makeDocBookFile): put the real LyX version in the first line of
4544         the file
4545
4546         * version.h:
4547         * version.C.in: remove lyx_docversion
4548
4549         * tabular.C (write_attribute): add a template-based version to
4550         write enums properly
4551
4552 2003-07-28  André Pönitz  <poenitz@gmx.net>
4553
4554         * lyxtext.h:
4555         * text.C:
4556         * text2.C:
4557         * text3.C: use doubles again for x-coordinates. They are needed.
4558
4559 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4560
4561         * messages.C (getLocaleDir): use lyx_localedir()
4562
4563         * lyxlex_pimpl.C (setFile): compress stuff
4564
4565         * buffer.C (writeFile): add some compression stuff
4566         (do_writeFile): new func, dont call expliti close... will this
4567         breake anything?
4568
4569         * Makefile.am (lyx_LDADD): add -lz
4570
4571 2003-07-28  José Matos  <jamatos@fep.up.pt>
4572
4573         * buffer.C: increment file format.
4574         * paragraph_funcs (readParagraph, readParToken):
4575         * paragraph.C (readParagraph): add \end_layout.
4576
4577 2003-07-27  Angus Leeming  <leeming@lyx.org>
4578
4579         * Makefile.am: remove special casing for configure-time setting of
4580         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4581
4582         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4583         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4584
4585 2003-07-26  André Pönitz  <poenitz@gmx.net>
4586
4587         * paragraph_func.[Ch]:
4588         * paragraph.C (realizeFont): inline it whereever it is used
4589
4590         * rowpainter.C:
4591         * text.C:
4592         * text2.C:
4593         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4594
4595
4596 2003-07-26  André Pönitz  <poenitz@gmx.net>
4597
4598         *       lyxtext.h:
4599         * text.C:
4600         * text2.C: get rid of LyXText::need_break_row
4601
4602 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4603
4604         * toc.[Ch]: put namespace toc inside namespace lyx
4605
4606         * MenuBackend.C (expandToc2): adjust for lyx::toc
4607         (expandToc): ditto
4608
4609         * lyxfunc.C (dispatch): adjust for lyx::find
4610
4611         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4612         lyx::find instead. Reorganize a bit.
4613         (LyXReplace): rename to replace
4614         (LyXFind): rename to find
4615
4616         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4617         (dispatch): ditto
4618
4619 2003-07-26  André Pönitz  <poenitz@gmx.net>
4620
4621         * text.C (setHeightOfRow): restrict scope of temporary variable
4622
4623         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4624           code (never has been used?)
4625
4626 2003-07-27  Asger Alstrup  <alstrup@local>
4627
4628         * text.C (fill): Optimise algorithm to exploit that we can reuse
4629         the LyXFont for many characters.
4630         (setHeightOfRow): Same thing.
4631         (rowBreakPoint): Same thing.
4632
4633 2003-07-26  Asger Alstrup  <alstrup@local>
4634
4635         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4636
4637         * text.C (singleWidth): Spurious font copying in hot-spot
4638         singleWidth avoided. Reorder tests for arabic for efficiency.
4639
4640         * text.C (fill): handle empty paragraphs better.
4641
4642 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4643
4644         * ispell.C:
4645         * encoding.h: add includes
4646
4647         * lyxrc.C: remove reading of bind files
4648
4649         * lyx_main.C (init): setup bindings and menus only if we have a
4650         gui.
4651
4652         * kbmap.C (read): new method. Do the actual reading of bind
4653         files.
4654
4655         * converter.C (dvipdfm_options):
4656         * bufferparams.C:
4657         * lyxrc.C (read):
4658         (output): adapt PAPER_* enums.
4659
4660         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4661
4662         * bufferparams.h: remove paper-related enums from there
4663
4664         * paper.h: New file. A trivial header file to hold paper-related
4665         enums. It should later expand to contain many paper-related
4666         horrors access.
4667
4668         * lyxrc.C: declare extern displayTranslator
4669
4670 2003-07-27  José Matos  <jamatos@fep.up.pt>
4671
4672         * tabular.[Ch] (linuxdoc): add support for tables and figures
4673         (linuxdoc).
4674
4675 2003-07-27  José Matos  <jamatos@fep.up.pt>
4676
4677         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4678         consistency in both functions.
4679         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4680
4681 2003-07-26  Asger Alstrup  <alstrup@local>
4682
4683         * rowpainter.C (paintRows): Change algorithm to work directly on
4684         the insets rather than asking every character in the document
4685         whether its an inset.
4686
4687 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4688
4689         * buffer.C (openFileWrite): factorize some code
4690
4691 2003-07-26  Angus Leeming  <leeming@lyx.org>
4692
4693         * lyx_cb.C:
4694         * lyx_main.[Ch]: replace occurances of system_tempdir with
4695         os::getTmpDir().
4696
4697 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4698
4699         * rename Inset to InsetOld
4700
4701 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4702
4703         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4704         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4705         which I think is a bit clearer. EDIT is gone, since it was
4706         premature optimisation, and broken for mathed anyway.
4707         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4708         with cursor positioning in insets as well (math insets still do not
4709         work, but that's a different story anyway.) It mysteriously
4710         crashes sometimes with undo in the first paragraph, but I'm fairly
4711         confident that this is a compiler bug.
4712
4713 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4714
4715         * paragraph.C (Paragraph): adjust for new clone return type
4716         (operator==): ditto
4717         (copyIntoMinibuffer): ditto
4718
4719 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4720
4721         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4722         by not having a special case, and always doing a full rebreak of
4723         the document after undo.
4724
4725 2003-07-23  Angus Leeming  <leeming@lyx.org>
4726
4727         * factory.C (createInset): InsetExternal::setParams now takes a
4728         Buffer const * arg.
4729
4730 2003-07-23  Angus Leeming  <leeming@lyx.org>
4731
4732         * factory.C (createInset): changed interface to the external and
4733         graphics mailers' string2params functions.
4734
4735 2003-07-23  Angus Leeming  <leeming@lyx.org>
4736
4737         * factory.C (createInset): pass a
4738         Buffer const * parameter to InsetExternalMailer's string2params.
4739
4740 2003-07-22  John Levon  <levon@movementarian.org>
4741
4742         * Thesaurus.h: include the right aiksaurus header
4743
4744 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4745
4746         * MenuBackend.C (expand): check menu shortcuts unconditionally
4747
4748 2003-07-21  Angus Leeming  <leeming@lyx.org>
4749
4750         * factory.C (createInset): pass a
4751         buffer_path parameter to InsetGraphicsMailer's string2params.
4752
4753 2003-07-21  Angus Leeming  <leeming@lyx.org>
4754
4755         * BufferView_pimpl.C (buffer):
4756         * buffer.C (d-tor):
4757         * lyx_main.C (LyX):
4758         * lyxfunc.C (dispatch):
4759         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4760         rather than the grfx shortcut.
4761
4762 2003-07-21  André Pönitz  <poenitz@gmx.net>
4763
4764         * rowpainter.C: remove unused variables
4765
4766         * tabular_funcs.C:
4767         * tabular_funcs.h: move to tabular.C
4768         * Makefile.am: adjust
4769
4770         * tabular.[Ch]: basic optical cleaning
4771
4772         * author.h: pass references, not values
4773
4774 2003-07-18  André Pönitz  <poenitz@gmx.net>
4775
4776         * lyxtext.h:
4777         * metricsinfo.C:
4778         * metricsinfo.h:
4779         * rowpainter.C:
4780         * text.C:
4781         * text2.C:
4782         * text3.C: two-phase drawing for InsetText and InsetTabular
4783         some float -> int changes.
4784
4785 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4786
4787         * lyx_main.C: fix the fix
4788
4789 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4790
4791         * lyx_main.C: fix a crash in batch mode if no files specified
4792         * converter.C: ws
4793
4794 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4795
4796         * format.[Ch] (papersize): moved to BufferParams
4797         * converter.[Ch] (dvips_options): moved to BufferParams
4798         (dvipdfm_options): moved to anon namespace
4799         * bufferparams.[Ch]: added above functions.
4800
4801 2003-07-17  André Pönitz  <poenitz@gmx.net>
4802
4803         * lyxtext.h:
4804         * rowpainter.C:
4805         * text2.C: don't call inset->update() anymore
4806
4807         * metricsinfo.[Ch]: add convenience constructor
4808
4809 2003-07-16  André Pönitz  <poenitz@gmx.net>
4810
4811         * lyxcursor.[Ch]:
4812         * lyxfunc.[Ch]:
4813         * text.C:
4814         * text2.C: replace the LyXCursor::irow_ member with
4815          on-demand computation of the value
4816
4817 2003-07-16  John Levon  <levon@movementarian.org>
4818
4819         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4820
4821 2003-07-15  André Pönitz  <poenitz@gmx.net>
4822
4823         * text.C:
4824         * text2.C: remove no more needed refresh_row
4825
4826 2003-07-15  André Pönitz  <poenitz@gmx.net>
4827
4828         * lyxtext.h:
4829         * rowpainter.C:
4830         * text2.C:
4831         * text3.C: refresh_status tristate -> need_update bool
4832
4833 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4834
4835         * lyxtext.h (init): remove reinit argument (act as if always true)
4836         * text2.C: adjust to that
4837
4838 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4839
4840         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4841         * text3.C: use it to delete selections in some cases
4842         (bugs 441, 673, 702, 954).
4843
4844 2003-07-14  André Pönitz  <poenitz@gmx.net>
4845
4846         * rowpainter.[Ch]: reduce interface
4847
4848 2003-07-14  André Pönitz  <poenitz@gmx.net>
4849
4850         * BufferView_pimpl.C:
4851         * text2.C: adjust after removing unused BufferView * argument
4852
4853 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4854
4855         * text2.C (init): fix a crash fired on resize
4856
4857 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4858
4859         * buffer.[Ch]: added new closing signal
4860         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4861         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4862         BufferView::Pimpl via the closing the signal
4863
4864 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4865
4866         * buffer.[Ch]: take out all bv-related from buffer
4867         * BufferView.C:
4868         * BufferView_pimpl.[Ch]: connect to new signals
4869         * CutAndPaste.C: removed useless asserts
4870         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4871         * lyxvc.[Ch]:
4872         * vc-backend.[Ch]:
4873         * lyxfunc.C: moved view-related funciontality from vc here
4874         * paragraph.C: removed outdated comments
4875         * text.C: ws
4876
4877 2003-07-10  André Pönitz  <poenitz@gmx.net>
4878
4879         * BufferView_pimpl.C:
4880         * tabular.h:
4881         * tabular_funcs.C:
4882         * text.C:
4883         * text2.C: remove InsetText::InnerCache, clean up consequences
4884
4885 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4886
4887         * ispell.C: fix two typos in error messages
4888
4889 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4890
4891         * Extend Note inset to other forms of annotation like Comment
4892         and Greyedout. Right button click gives dialog.
4893
4894         Files modified or added (+):
4895
4896         * insetnote.[Ch]
4897         * FormNote.[Ch]      +
4898         * ControlNote.[Ch]   +
4899         * form_note.fd       +
4900         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4901         frontends/controllers
4902         * xforms/Dialogs.C
4903         * factory.C
4904
4905 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4906
4907         * aspell.C: add missing namespace lyx::support
4908
4909 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4910
4911         * BufferView.[Ch] (newFile): Add
4912         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4913         * LaTeX.[Ch] (message): added this signal and use it
4914         * buffer.[Ch] (busy, message): added these signals and use them
4915         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4916         * converter.C:
4917         * exporter.C:
4918         * format.C:
4919         * importer.C: use buffer signals instead of direct bv calling
4920         * lyx_cb.[Ch] (ShowMessage): removed
4921         * lyx_main.C:
4922         * lyxfunc.C:
4923         * paragraph_funcs.C:
4924         * text2.C: use buffer signals
4925
4926 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * introduce namespace lyx::graphics
4929
4930 2003-07-02  André Pönitz  <poenitz@gmx.net>
4931
4932         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4933
4934 2003-07-01  André Pönitz  <poenitz@gmx.net>
4935
4936         * text.C:
4937         * text2.C:
4938         * text3.C:
4939         * text_funcs.[Ch]:
4940         * textcursor.h:
4941         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4942           text*.C to text_func.C
4943
4944 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4945
4946         * introduce namespace lyx::support
4947
4948 2003-06-30  André Pönitz  <poenitz@gmx.net>
4949
4950         * Chktex.C:
4951         * funcrequest.C:
4952         * lyxtext.h:
4953         * text.C: re-enable --with-included-string
4954
4955 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4956
4957         * textcursor.C: add <config.h>
4958
4959         * text.C (getWord): remove const from word_location arg
4960
4961         * lyxvc.C (getLogFile): fix const type order
4962
4963         * lyxtext.h: remove const from word_location arg, add arg name
4964
4965         * lyxlayout.h: currect type on labeltype.
4966
4967         * importer.C: correct \file
4968
4969         * converter.C (intToFormat): use std:: on ret val, ws changes
4970
4971         * bufferlist.h: correct \file
4972
4973         * buffer.C (makeLinuxDocFile): fix const type order
4974         (makeDocBookFile): ditto
4975         (fillWithBibKeys): use std:: on stdlib args.
4976
4977         * CutAndPaste.C: fix authors.
4978         (availableSelections): use std:: on return vector
4979
4980 2003-06-27  André Pönitz  <poenitz@gmx.net>
4981
4982         * BufferView_pimpl.C:
4983         * bufferview_funcs.C:
4984         * lyxcursor.C:
4985         * lyxcursor.h:
4986         * lyxfunc.C:
4987         * lyxtext.h:
4988         * rowpainter.C:
4989         * text.C:
4990         * text2.C:
4991         * text3.C: remove LyXCursor::row_ member
4992
4993         * lyxtext.h:
4994         * text.C: rename fullRebreak() to partialRebreak() and implement
4995           a fullRebreak() that really bereks fully
4996
4997         * textcursor.h: new struct for cursor-related data
4998
4999 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5000
5001         * lyx_main.C (LyX): get full path of document loaded on the
5002         command line
5003
5004 2003-06-26  André Pönitz  <poenitz@gmx.net>
5005
5006         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5007           remove unused/broken operator>,<,>=.
5008
5009         *       text.C: remove only use of broken operator<= in an Assert().
5010
5011 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5012
5013         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5014         moved errorlist_.clear to showErrorList
5015
5016 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5017
5018         * converter.C (scanLog, runLaTeX):
5019         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5020         move the bv->showErrorList call to the callers
5021         * lyxfunc.C: i.e. here...
5022         * text2.C: and here
5023         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5024         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5025         namespace, the second to...
5026         * buffer_funcs (BufferFormat, parseErrors): added
5027         * errorlist.C (ErrorList(TeXErrors const &)): removed
5028
5029 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5030
5031         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5032
5033 2003-06-24  "Garst R. Reese" <reese@isn.net>
5034
5035         * debug.C: fix typo
5036
5037 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5038
5039         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5040
5041         * version.C.in: change docversion to 1.4
5042
5043 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5044
5045         * buffer.C: fix a bug just introduced
5046
5047 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5048
5049         * buffer.[Ch]: added the parseError signal and use it, removed
5050         sgmlError
5051         * BufferView.[Ch] (addError): moved to ...
5052         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5053         to the Buffer::parseError signal to catch (guess what) parse errors
5054         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5055
5056 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5057
5058         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5059         ability to create a buffer and to return an existing one from
5060         the list. Moved these functions to...
5061         * buffer_funcs.[Ch]: added
5062         * BufferView.[Ch] (loadLyXFile): added
5063         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5064         job removed from bufferlist::loadLyXFile.
5065         * buffer.C (setReadOnly): make it work without view
5066         (i.e added an if (users))
5067
5068 2003-06-19  Angus Leeming  <leeming@lyx.org>
5069
5070         * lfuns.h:
5071         * LyXAction.C (init):
5072         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5073         with LFUN_DIALOG_SHOW <name> <data>.
5074
5075 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5076
5077         * CutAndPaste.C (availableSelections): small compilation fix for
5078         ancient (gcc 2.9x) compilers
5079
5080 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5081
5082         * text3.C (cursorNext): add tmp var
5083
5084         * text2.C (updateCounters): for function calling out of for clause
5085         (replaceSelectionWithString): ditto
5086         (insertStringAsParagraphs): ditto
5087         (getColumnNearX): add tmp var
5088         (setCursorFromCoordinates): add tmp var
5089         (cursorDownParagraph): add tmp var
5090         (deleteEmptyParagraphMechanism): add tmp var
5091
5092         * text.C (insertChar): add tmp var
5093
5094         * rowpainter.C (paintDepthBar): add tmp var
5095
5096         * CutAndPaste.C (availableSelections): potentially check all
5097         paragraphs in a cut to fill the shown strings.
5098
5099 2003-06-18  André Pönitz  <poenitz@gmx.net>
5100
5101         * kbmap.[Ch]: use vector<> instead of list<>
5102
5103 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5104
5105         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5106         pasteSelection with index
5107
5108         * text2.C (pasteSelection): modify, call pasteSelection with index
5109
5110         * paragraph.C (asString): reimplement version with no interval to
5111         call the one with interval.
5112
5113         * lyxtext.h: add index arg to pasteSelection
5114
5115         * MenuBackend.C (MenuItem): handle PasteRecent
5116         (Menu::read::Menutags): add md_pasterecent
5117         (read): handle it
5118         (expandPasteRecent): new function
5119         (expand): use it
5120
5121         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5122
5123         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5124         the limited stack
5125         (availableSelections): new function
5126
5127 2003-06-17  Angus Leeming  <leeming@lyx.org>
5128
5129         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5130
5131 2003-06-17  Angus Leeming  <leeming@lyx.org>
5132
5133         * lfuns.h:
5134         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5135
5136         * lyxfunc.C (dispatch): invoke it.
5137
5138 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5139
5140         * iterators.C (operator++, ParPosition): reintroduce some
5141         const_cast for the benefit of older compilers.
5142
5143 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5144
5145         * text3.C (dispatch): do not modify clipboard when doing
5146         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5147         LFUN_DELETE_SKIP on a selection selection
5148
5149 2003-06-16  André Pönitz  <poenitz@gmx.net>
5150
5151         * BufferView.C:
5152         * buffer.C:
5153         * buffer.h:
5154         * paragraph.C:
5155         * tabular.[Ch]: IU of clone() and getLabelList();
5156
5157 2003-06-13  André Pönitz  <poenitz@gmx.net>
5158
5159         * tabular.h: compactification
5160
5161 2003-06-12  André Pönitz  <poenitz@gmx.net>
5162
5163         * tabular.C:
5164         * tabular.h:
5165         * tabular_funcs.h: some renaming plus whitespace
5166
5167 2003-06-12  André Pönitz  <poenitz@gmx.net>
5168
5169         * BufferView.C:
5170         * BufferView_pimpl.C:
5171         * CutAndPaste.C:
5172         * buffer.C:
5173         * iterators.[Ch]:
5174         * lyxfunc.C:
5175         * text.C:
5176         * toc.C: Return a Paragraph & for ParIterator::operator*()
5177
5178 2003-06-11  John Levon  <levon@movementarian.org>
5179
5180         * lyx_main.C:
5181         * ToolbarBackend.h:
5182         * ToolbarBackend.C: add "Toolbars" section and
5183         put the flags there
5184
5185 2003-06-10  Angus Leeming  <leeming@lyx.org>
5186
5187         * lfuns.h:
5188         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5189
5190         * lyxfunc.C (dispatch): invoke it.
5191
5192 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5193
5194         * main.C: protect <ios> with HAVE_IOS
5195         (main): protect sync_with_stdio with HAVE_IOS
5196
5197 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5198
5199         * text2.C (cutSelection): adjust
5200         (pasteSelection): adjust
5201
5202         * messages.C: handle get of empty string
5203
5204         * main.C (main): use sync_with_stdio(false)
5205
5206         * lyxfunc.C (dispatch): adjust
5207
5208         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5209         (WriteAs): remove unneeded BufferView arg.
5210
5211         * bufferparams.h: use correct types on papersize, papersize2 and
5212         paperpackage.
5213
5214         * bufferparams.C (readToken): adjust for type
5215         (writeLaTeX): add missing cases to switch.
5216
5217         * bufferlist.C (quitWriteBuffer): adjust
5218         (close): adjust
5219
5220         * buffer.C (asciiParagraph): remove some commented code.
5221
5222         * CutAndPaste.C: remove current_view extern variable.
5223         (cutSelection): add BufferParams arg.
5224         (eraseSelection): add BufferParams arg.
5225         (pasteSelection): add Buffer const & arg
5226
5227 2003-06-07  John Levon  <levon@movementarian.org>
5228
5229         * buffer.C:
5230         * paragraph_funcs.C:
5231         * paragraph_pimpl.C:
5232         * text.C:
5233         * text2.C:
5234         * paragraph.h:
5235         * paragraph.C: allow InsetERT to freely space lines,
5236         and some consolidation of code
5237
5238 2003-06-06  José Matos  <jamatos@fep.up.pt>
5239
5240         * buffer.C (makeDocBookFile): fix bug #821
5241
5242 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5243
5244         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5245
5246 2003-06-04  Angus Leeming  <leeming@lyx.org>
5247
5248         * buffer.C: bump format to 224.
5249
5250 2003-06-05  André Pönitz  <poenitz@gmx.net>
5251
5252         * text2.C (redoParagraphs): remove two const_cast<>
5253
5254 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5255
5256         * ParagraphList.h: remove last remnants of NO_STD_LIST
5257
5258 2003-06-03  Angus Leeming  <leeming@lyx.org>
5259
5260         * factory.C (createInset): small change to the way InsetExternal's params
5261         are set.
5262
5263 2003-06-04  André Pönitz  <poenitz@gmx.net>
5264
5265         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5266
5267         * paragraph_pimpl.h:
5268         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5269
5270         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5271
5272         * undo_funcs.C: make some simple cases of undo work again
5273
5274 2003-06-03  John Levon  <levon@movementarian.org>
5275
5276         * ispell.C: HPUX doesn't have sys/select.h
5277         (from Albert Chin)
5278
5279 2003-06-03  John Levon  <levon@movementarian.org>
5280
5281         * CutAndPaste.C: update tabular and include inset
5282         buffer references
5283
5284         * buffer.h:
5285         * paragraph.h:
5286         * paragraph.C: remove owningBuffer(), don't pass Buffer
5287         to clone()
5288
5289         * factory.C: insetGraphicsParams changed
5290
5291 2003-06-02  John Levon  <levon@movementarian.org>
5292
5293         * LyXAction.C:
5294         * factory.C:
5295         * lfuns.h:
5296         * lyxfunc.C:
5297         * text3.C: remove insetparent
5298
5299 2003-06-02  John Levon  <levon@movementarian.org>
5300
5301         * buffer.h:
5302         * buffer.C: fix inset_iterator.end(), move out of line
5303         (bug 1149)
5304
5305 2003-06-01  John Levon  <levon@movementarian.org>
5306
5307         * text3.C: use a proper cut/paste when doing inset
5308         insert (from Jürgen Spitzmüller)
5309
5310 2003-06-01  John Levon  <levon@movementarian.org>
5311
5312         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5313
5314 2003-05-30  André Pönitz  <poenitz@gmx.net>
5315
5316         * rowpainter.C: unify second drawing phase
5317
5318 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * trans_mgr.C: remove one case of current_view
5321
5322         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5323
5324         * paragraph_funcs.h: remove paragraph.h include
5325
5326         * paragraph.h: delete NO_STD_LIST stuff
5327
5328         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5329
5330         * buffer.h: remove paragraph.h include
5331
5332         * ParagraphList.C: delete file
5333
5334         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5335
5336         * toc.C (getTocList): adjust
5337
5338         * paragraph_pimpl.C (validate): adjust
5339
5340         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5341
5342         * paragraph.C (Paragraph): adjust
5343         (getPositionOfInset): use const_iterator, adjust
5344         (bibitem): use const_iterator, adjust
5345         (setInsetOwner): adjust
5346
5347         * iterators.C (operator++): adjust
5348
5349         * InsetList.[Ch]: Replace selfmade iterator with standard
5350         vector::iterator also introduce const_iterator. Remove getPos,
5351         getInset and setInset from InsetTable. Adjust accordingly.
5352
5353         * BufferView.C (lockInset): adjust
5354         (ChangeInsets): adjust
5355
5356         * tabular.[Ch]: delete commented same_id functions
5357
5358 2003-05-28  John Levon  <levon@movementarian.org>
5359
5360         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5361
5362 2003-05-28  André Pönitz  <poenitz@gmx.net>
5363
5364         * metricsinfo.[Ch]: remove 'fullredraw' member
5365
5366 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5367
5368         * lyxtextclass.C (operator): remove caching.
5369
5370 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * text3.C: adjust
5373
5374         * text2.C (cursorBottom): adjust
5375         (setCounter): use ParagraphList::find, adjust
5376
5377         * text.C (workWidth): use ParagraphList::find, adjust
5378
5379         * lyxcursor.C (LyXCursor): adjust
5380
5381         * buffer.C (inset_iterator): adjust
5382
5383         * ParagraphList.h: make iterator(value_type) private, make
5384         ParagraphList a friend of iterator.
5385
5386         * ParagraphList.C (find): new function
5387
5388         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5389
5390 2003-05-27  André Pönitz  <poenitz@gmx.net>
5391
5392         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5393
5394 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5395
5396         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5397
5398 2003-05-26  John Levon  <levon@movementarian.org>
5399
5400         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5401
5402 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * remove same_id from function signatures, adjust.
5405
5406 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5407
5408         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5409
5410         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5411
5412         * paragraph.C (Paragraph): get rid of same_ids parameter
5413
5414         * ParagraphList.C (insert): adjust
5415         (push_back): adjust
5416
5417 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5418
5419         * paragraph_funcs.C (breakParagraph): adjust
5420         (breakParagraphConservative): adjust
5421
5422         * buffer.C (readParagraph): adjust
5423
5424         * ParagraphList.C (insert): take a reference instead of a pointer
5425         (insert): adjust
5426
5427         * paragraph.[Ch] (id): new function
5428
5429         * bufferlist.C (newFile): adjust
5430
5431         * ParagraphList.C (ParagraphList): adjust
5432         (assign): adjust
5433         (push_back): take a reference instead of a pointer.
5434
5435         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5436
5437         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5438         instead.
5439
5440         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5441         set else use old code.
5442
5443         * ParagraphList.C: remove all NO_NEXT code and only compile this
5444         code of NO_STD_LIST is set.
5445
5446 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5447
5448         * BufferView_pimpl.C:
5449         * TextCache.C:
5450         * TextCache.h:
5451         * bufferlist.C:
5452         * errorlist.h:
5453         * format.C:
5454         * format.h:
5455         * graph.C:
5456         * lyxfunc.C:
5457         * lyxrc.C:
5458         * graphics/GraphicsConverter.C:
5459         * graphics/PreviewLoader.C: header adjustment
5460
5461 2003-05-23  Angus Leeming  <leeming@lyx.org>
5462
5463         * LaTeXFeatures.[Ch] (useBabel): new method.
5464         * bufferparams.C (writeLaTeX): use it.
5465
5466 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * ParagraphList.h (set): remove unused function.
5469
5470 2003-05-23  André Pönitz  <poenitz@gmx.net>
5471
5472         * BufferView.C:
5473         * BufferView_pimpl.C:
5474         * buffer.C:
5475         * buffer.h:
5476         * lyxfunc.C:
5477         * undo_funcs.C: setUndo reworked
5478
5479         * iterators.[Ch]: add access to topmost ParagraphList
5480
5481         * lyxtext.[Ch] (workWidth): add a const
5482
5483 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5484
5485         * texrow.[Ch] (increasePos): remove function
5486         * exporter.C (export): removed unused var and outdated comment
5487
5488 2003-05-23  Angus Leeming  <leeming@lyx.org>
5489
5490         * latexrunparams.h: rename fragile as moving_arg.
5491         * paragraph.C (simpleTeXOnePar): ditto.
5492         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5493
5494 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5495
5496         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5497         (createUndo): ditto
5498         (textUndoOrRedo): comment out a currently unused var.
5499
5500         * paragraph.h (NO_NEXT): enable NO_NEXT
5501
5502         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5503
5504         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5505
5506         * exporter.C (Export): adjust for removeAutoInsets removal.
5507
5508         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5509
5510         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5511
5512         * BufferView.[Ch] (removeAutoInsets): delete function
5513
5514 2003-05-22  Angus Leeming  <leeming@lyx.org>
5515
5516         * latexrunparams.h: add a free_spacing variable.
5517
5518         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5519         to pass moving_arg, as the data is stored in runparams.fragile.
5520
5521         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5522         to Inset::latexOptional or to simpleTeXOnePar.
5523
5524         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5525         free_spacing arg to Inset::latexOptional.
5526
5527         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5528         free_spacing arg.
5529
5530 2003-05-22  Angus Leeming  <leeming@lyx.org>
5531
5532         * latexrunparams.h: add fragile and use_babel variables.
5533
5534         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5535         * buffer.C (makeLaTeXFile): store this returned value in
5536         runparams.use_babel, thus passing it to the inset::latex methods.
5537
5538         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5539         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5540
5541         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5542         longer has a fragile arg, as it is stored in runparams.fragile.
5543
5544         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5545         moving_arg parameter as the data is stored in runparams.fragile.
5546
5547         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5548         a fragile parameter as the data is stored in runparams.fragile.
5549
5550 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5553
5554 2003-05-22  Angus Leeming  <leeming@lyx.org>
5555
5556         * latexrunparams.h: add a 'bool nice' which defaults to false.
5557
5558         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5559         now encapsulated within runparams.
5560
5561         * bufferlist.C (updateIncludedTeXfiles):
5562         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5563
5564 2003-05-22  Angus Leeming  <leeming@lyx.org>
5565
5566         * latexrunparams.h: new file containing struct LatexRunParams.
5567         * Makefile.am: add new file.
5568
5569         * LaTeX.[Ch] (c-tor, run):
5570         * buffer.[Ch] (makeLaTeXFile):
5571         * bufferlist.[Ch] (updateIncludedTeXfiles):
5572         * converter.C (convert, scanLog):
5573         * converter.[Ch] (runLaTeX):
5574         * exporter.C (Export):
5575         * paragraph.[Ch] (simpleTeXOnePar):
5576         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5577         * paragraph_funcs.[Ch] (latexParagraphs):
5578         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5579         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5580         pass around a LatexRunParams parameter.
5581
5582 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5583
5584         * paragraph.[Ch]: remove unused constructor
5585
5586         * ParagraphList.C (erase): new function, taking two iterators
5587
5588 2003-05-22  André Pönitz  <poenitz@gmx.net>
5589
5590         * undo_funcs.C: remove duplicated code
5591
5592         * iterator.[Ch]: operator=
5593
5594 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5595
5596         * tabular.C (SetMultiColumn): ws changes
5597
5598         * rowpainter.C (paintFirst): get rid of a ->previous
5599
5600         * lyx_cb.C (getPossibleLabel): parlist simplification
5601
5602         * BufferView.C (ChangeInsets): simplify slightly.
5603
5604 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5605
5606         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5607         * lfuns.h: new LFUN_SPACE
5608         * lyxfunc.C: protected space has a new lfun
5609         * paragraph_funcs.C: read new space insets
5610         * text3.C:
5611         * factory.C: handle new space insets
5612
5613 2003-05-22  André Pönitz  <poenitz@gmx.net>
5614
5615         * BufferView.C:
5616         * BufferView_pimpl.C:
5617         * buffer.[Ch]:
5618         * lyxfunc.C:
5619         * undo_funcs.C: return a ParIterator from getParFromID.
5620
5621         * iterators.[Ch]: add two const's
5622
5623 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * toc.C (getTocList): adjust
5626
5627         * iterators.[Ch]: rework for parlist
5628
5629         * buffer.C (par_iterator_begin): adjust
5630         (par_iterator_end): adjust
5631
5632         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5633
5634         * BufferView.C (removeAutoInsets): adjust
5635         (ChangeInsets): adjust
5636
5637 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5638
5639         * text.C (top_y): fix bug 1110
5640
5641 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5642
5643         * errorlist.[Ch]: added
5644         * buffer.C:
5645         * BufferView.[Ch]:
5646         * BufferView_pimpl.C:
5647         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5648         instead
5649
5650 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5651
5652         * Makefile.am: ensure that lyx is relinked upon changes to the
5653         various "convenience" libs.
5654
5655 2003-05-20  Angus Leeming  <leeming@lyx.org>
5656
5657         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5658         files are compiled in alphabetical order again.
5659
5660         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5661
5662 2003-05-19  Angus Leeming  <leeming@lyx.org>
5663
5664         * gettext.[Ch]: remove "char const * _(char const *)".
5665
5666 2003-05-19  André Pönitz  <poenitz@gmx.net>
5667
5668         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5669
5670         * Makefile.am:
5671         * BufferView.C:
5672         * DepTable.h:
5673         * LaTeXFeatures.C:
5674         * buffer.C:
5675         * lyxfont.C:
5676         * lyxlex.h:
5677         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5678
5679 2003-05-19  André Pönitz  <poenitz@gmx.net>
5680
5681         * buffer.C:
5682         * lyxlayout.[Ch]:
5683         * lyxtextclass.[Ch]:
5684         * paragraph.C:
5685         * paragraph_funcs.[Ch]:
5686         * text2.C:
5687         * text3.C: more insetenv work
5688
5689 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5690
5691         * ParagraphParameters.C (params2string): small bug fixed
5692
5693 2003-05-16  André Pönitz  <poenitz@gmx.net>
5694
5695         * debug.C:
5696         * bufferview_funcs.C: patch from Kornel Benko to prevent
5697           crash when _(...) is called twice in a statement
5698
5699 2003-05-16  André Pönitz  <poenitz@gmx.net>
5700
5701         * BufferView.C:
5702         * lyxfunc.C:
5703         * text.C:
5704         * text2.C:
5705         * text3.C:
5706         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5707
5708 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5709
5710         * lyx_main.C (init): remove spurious static_cast
5711
5712 2003-05-14  André Pönitz  <poenitz@gmx.net>
5713
5714         * BufferView.C: fix format string
5715
5716 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5717
5718         * BufferView.[Ch] (insertErrors): removed
5719         * BufferView.[Ch] (showErrorList): added
5720         * buffer.C (runChkTeX):
5721         * converter.C (scanLog): call showErrorList instead of inserterrors
5722
5723 2003-05-13  André Pönitz  <poenitz@gmx.net>
5724
5725         * BufferView_pimpl.C:
5726         * buffer.C:
5727         * bufferview_func.C:
5728         * MenuBackend.C:
5729         * lyxfunc.C:
5730         * lyxrc.C:
5731         * tex-accent.C:
5732         * text3.C:
5733         * toc.C:
5734         * tabular_funcs.h: tostr() from its own header
5735
5736         * ParagraphParameters.C:
5737         * ToolbarBackend.C:
5738         * bufferparams.C:
5739         * format.C:
5740         * lyxlex_pimpl.C:
5741         * text3.C: STRCONV()
5742
5743 2003-05-12  André Pönitz  <poenitz@gmx.net>
5744
5745         * BufferView.C:
5746         * BufferView_pimpl.C:
5747         * CutAndPaste.C:
5748         * LaTeX.C:
5749         * LaTeXFeatures.C:
5750         * ParagraphParameters.C:
5751         * buffer.C:
5752         * bufferlist.C:
5753         * bufferparams.C:
5754         * bufferview_funcs.C:
5755         * converter.C:
5756         * counters.C:
5757         * debug.C:
5758         * exporter.C:
5759         * format.C:
5760         * importer.C:
5761         * lyx_cb.C:
5762         * lyx_main.C:
5763         * lyxfont.C:
5764         * lyxfunc.C:
5765         * lyxvc.C:
5766         * paragraph.C:
5767         * paragraph_funcs.C:
5768         * tabular.C:
5769         * tabular_funcs.C:
5770         * text2.C:
5771         * text3.C:  boost::format -> bformat  all over the place
5772
5773
5774 2003-05-09  André Pönitz  <poenitz@gmx.net>
5775
5776         * LColor.[Ch]: Pimpl the #include <map> away
5777
5778 2003-05-09  John Levon  <levon@movementarian.org>
5779
5780         * bufferlist.C: never remove emergency saves
5781
5782 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5783
5784         * Makefile.am: better lib building
5785
5786 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5787
5788         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5789         instead.
5790         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5791         (simpleTeXSpecialChars): adjust
5792         (simpleTeXSpecialChars): adjust
5793         * paragraph.C (simpleTeXOnePar): adjust
5794         * buffer.C (makeLaTeXFile): adjust
5795
5796         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5797
5798         * text2.C (changeDepth): parlist cleanup
5799         (getColumnNearX): ditto
5800
5801         * rowpainter.C (getLabelFont): parlist cleanup
5802
5803         * bufferlist.C (newFile): parlist cleanup
5804
5805         * CutAndPaste.C (eraseSelection): parlist cleanup
5806
5807         * BufferView_pimpl.C (trackChanges): parlist cleanup
5808         (dispatch): ditto
5809
5810         * BufferView.C (lockInset): parlist cleanup.
5811         (ChangeInsets): ditto
5812
5813 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * CutAndPaste.h: Update file header.
5816
5817         * CutAndPaste.C: Update file header.
5818         Store the parts cut out of the Document in a limited_stack.
5819         (copySelection): adjust
5820         (pasteSelection): new function, takes the index in the limited stack.
5821         (nrOfParagraphs): adjust
5822         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5823         simplify error inset insertion.
5824         (checkPastePossible): adjust
5825
5826 2003-05-06  John Levon  <levon@movementarian.org>
5827
5828         * text2.C: don't cast wrap inset to float
5829
5830 2003-05-05  André Pönitz  <poenitz@gmx.net>
5831
5832         * iterator.C:
5833         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5834
5835         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5836           few naked Paragraph *.
5837
5838 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5839
5840         * bufferparams.C: Output warning if a document with missing
5841         TeX document class is loaded
5842         * exporter.C: Disable TeX exports if the document class is missing
5843         * lyxtextclass.C:
5844         * lyxtextclass.h:
5845         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5846         isTeXClassAvailable()
5847
5848 2003-05-03  John Levon  <levon@movementarian.org>
5849
5850         * BufferView.h:
5851         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5852         explicit cursor show/hide
5853
5854         * BufferView_pimpl.h:
5855         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5856         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5857
5858         * lyxfunc.C: hide cursor before dispatching.
5859
5860         * lyx_cb.C:
5861         * lyxfind.C:
5862         * text.C:
5863         * text3.C: remove explicit cursor hides
5864
5865 2003-05-02  André Pönitz  <poenitz@gmx.net>
5866
5867         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5868
5869         * undo_funcs.C:
5870         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5871           linked lists
5872
5873         * text2.C: tiny whitespace
5874
5875 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5876
5877         * undo_funcs.C: almost only ws changes.
5878
5879         * ParagraphList.C (splice): just return if pl is empty.
5880
5881 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5882
5883         * ParagraphList.C (splice): new function.
5884
5885         * CutAndPaste.C (pasteSelection): use it
5886
5887 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * CutAndPaste.C (pasteSelection): remove the last next and
5890         previous from this file.
5891
5892 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * CutAndPaste.C (pasteSelection): more clean up, user proper
5895         ParagraphList functions for pasteing.
5896
5897         * ParagraphList.C (insert): new function, three arg insert
5898
5899 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5900
5901         * ParagraphList.C (insert): new function, three arg insert
5902
5903         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5904         not on paragraphs.
5905
5906 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5909
5910 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5911
5912         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5913
5914 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5915
5916         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5917         (copySelection): clean up a bit.
5918         (pasteSelection): use make_pair
5919
5920         * ParagraphList.C (ParagraphList): implement copy constructor
5921         (operator=): implement, base on copy constructor.
5922         (assign): new func
5923
5924         * paragraph.C (erase): return a bool
5925
5926         * paragraph_pimpl.C (erasePos): remove function, move contents...
5927         (erase): ... here. Return a bool.
5928         (erase): call erase instead of erasePos.
5929
5930 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5931
5932         * ParagraphList.h: define PitPosPair
5933         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5934         ParagraphList, fix a bug on pasting multiple pars
5935         * text2.C: change interface to C&P
5936
5937 2003-04-30  André Pönitz  <poenitz@gmx.net>
5938
5939         * undo_func.C: revert part of yesterday's patch 2
5940
5941 2003-04-30  John Levon  <levon@movementarian.org>
5942
5943         * LColor.C: s/tabular/table/
5944
5945 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * text3.C (dispatch): do not convert iterator -> pointer
5948         * undo_funcs.C (setCursorParUndo): ditto
5949         * text_funcs.C (transposeChars): ditto
5950
5951         * text2.C (setLayout): ws changes only
5952
5953         * text.C (breakParagraph): do not convert iterator -> pointer
5954         (insertChar): ditto
5955         (acceptChange): ditto
5956         (rejectChange): ditto
5957         (changeCase): ditto
5958         (Delete): ditto
5959         (backspace): ditto
5960
5961         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5962         pointer
5963
5964 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5965
5966         * text3.C (gotoInset): YABG (yet another bad getChar)
5967
5968 2003-04-29  André Pönitz  <poenitz@gmx.net>
5969
5970         * paragraph.h: make operator= private unimplemented as long as
5971           it is unusable
5972
5973         * ParagraphList.C: whitespace
5974
5975         * paragraph.[Ch]:
5976         * paragraph_pimpl.[Ch]:
5977         * paragraph_funcs.C:
5978         * CutAndPaste.C:
5979         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5980
5981         * text2.C:
5982           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5983
5984 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5985
5986         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5987         * paragraph.[Ch] (erase):
5988         * paragraph_pimpl.[Ch] (erase): change return type and value
5989         * text2.C (cutSelection): some rework
5990
5991 2003-04-28  John Levon  <levon@movementarian.org>
5992
5993         * bufferlist.C: changes for unsaved changes dialog
5994
5995 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5996
5997         * bufferlist.C (newFile): set language (messages_) for new
5998         documents also.
5999
6000         * buffer.C (readFile): ws changes only.
6001
6002 2003-04-28  André Pönitz  <poenitz@gmx.net>
6003
6004         * undo_funcs.C:
6005         * lyxfunc.C:
6006         * buffer.[Ch]:
6007         * BufferView_pimpl.C:
6008         * BufferView.C: getParFromID related ParagraphList::iterator changes
6009
6010 2003-04-28  André Pönitz  <poenitz@gmx.net>
6011
6012         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6013           Changes
6014
6015 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6016
6017         * messages.C: remove one more localedir class variable.
6018
6019 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6020
6021         * messages.C (getLocaleDir): singleton generation function
6022         (Pimpl): use it.
6023         (Messages): add a default constructor.
6024
6025         * main.C (main): do not setup localedir here, do not call
6026         gettext_init.
6027
6028         * gettext.C (_): use it.
6029         (gettext_init): delete funciton
6030
6031 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6032
6033         * gettext.C (getLyXMessages): new singleton generating function.
6034
6035         * buffer.C (updateDocLang): adjust
6036
6037         * Makefile.am (messages.o): add target
6038         (main.o): remove target
6039
6040 2003-04-27  John Levon  <levon@movementarian.org>
6041
6042         * bufferlist.C:
6043         * lyx_cb.C:
6044         * lyxfunc.C:
6045         * lyxvc.C: specify cancel button in Alert::prompt
6046
6047 2003-04-26  John Levon  <levon@movementarian.org>
6048
6049         * text3.C:
6050         * lyxfunc.C:
6051         * lfuns.h:
6052         * LyXAction.C: add LFUN_INSET_SETTINGS
6053
6054         * lyxfunc.C: don't enable tabular-feature when there's
6055         just any locking inset
6056
6057 2003-04-26  John Levon  <levon@movementarian.org>
6058
6059         * bufferlist.C: re-add Cancel to buffer close question
6060
6061         * lyxfunc.C: fix import UI a bit
6062
6063 2003-04-25  John Levon  <levon@movementarian.org>
6064
6065         * gettext.C: remove the broken asserts for now
6066
6067 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6068
6069         * messages.C: make case where setlocale cannot comply work better.
6070
6071         * buffer.C (updateDocLang): new function
6072         (changeLanguage): use it
6073         (readFile): use it
6074
6075         * text2.C (setCounter): use B_ a bit.
6076
6077         * lyxlayout.C (Read): be sure to trim the label strings.
6078
6079         * messages.C (Messages): fix typo in comment
6080
6081         * buffer.C (readFile): set message_ after file is loaded.
6082         (makeDocBookFile): remove double return
6083         (changeLanguage): reset message_ upon language change.
6084         (B_): new func, use this to get translated buffer strings.
6085
6086         * main.C: add myself and Jean Marc as authors.
6087
6088 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6089
6090         * messages.[hC]: pimplify Messages, and three different pimpls to be
6091         used in different circumstances.
6092
6093         * gettext.[Ch]: change for use with new message code.
6094
6095 2003-04-24 André Pönitz <poenitz@gmx.net>
6096
6097         * factory.C: support for eqref
6098
6099 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6100
6101         * messages.[Ch]: add missing char
6102
6103         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6104
6105         * messages.[Ch]: New files
6106
6107 2003-04-18  John Levon  <levon@movementarian.org>
6108
6109         * BufferView.h:
6110         * BufferView.C:
6111         * BufferView_pimpl.C:
6112         * lfuns.h:
6113         * LyXAction.C:
6114         * lyxtext.h:
6115         * text2.C: remove layout-copy/paste (bug 778)
6116
6117 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6118
6119         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6120
6121 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6122
6123         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6124         if they succeed. Act accordingly.
6125
6126 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6127
6128         * text2.C (setCharFont): adjust
6129         (setCounter): adjust
6130         (insertStringAsLines): adjust
6131
6132         * text.C (leftMargin): adjust
6133         (setHeightOfRow): adjust
6134
6135         * rowpainter.C (paintFirst): adjust
6136         (paintLast): adjust
6137
6138         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6139         (outerHook): ditto
6140         (isFirstInSequence): ditto
6141         (getEndLabel): ditto
6142         (outerFont): adjust
6143
6144         * paragraph.C (getParLanguage): comment out some hard stuff.
6145
6146         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6147         (sgmlError): ditto
6148         (simpleDocBookOnePar): ditto
6149         (makeDocBookFile): use ParagraphList::iterator
6150
6151         * CutAndPaste.C (pasteSelection): adjust
6152
6153 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6154
6155         * text2.C (getFont): adjust
6156         (getLayoutFont): adjust
6157         (getLabelFont): adjust
6158
6159         * paragraph_funcs.C (TeXOnePar): adjust
6160
6161         * buffer.C (simpleLinuxDocOnePar): adjust
6162         (simpleDocBookOnePar): adjust
6163
6164         * CutAndPaste.C (pasteSelection): adjust
6165
6166         * BufferView.C (getEncoding): adjust
6167
6168         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6169
6170 2003-04-16  John Levon  <levon@movementarian.org>
6171
6172         * lyxfind.C: use parlist stuff for search/changes
6173
6174 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6175
6176         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6177
6178         * text2.C (deleteEmptyParagraphMechanism): adjust
6179
6180         * text2.[Ch] (ownerParagraph): delete func (both of them
6181
6182 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6183
6184         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6185
6186 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6187
6188         * ParagraphList.C: prepare for NO_NEXT
6189
6190 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6191
6192         * text2.C (getFont): adjust
6193         (getLayoutFont): adjust
6194         (getLabelFont): adjust
6195
6196         * paragraph.C (getFont): adjust
6197         (getLabelFont): adjust
6198         (getLayoutFont): adjust
6199
6200         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6201
6202 2003-04-15  John Levon  <levon@movementarian.org>
6203
6204         From Angus Leeming
6205
6206         * lyx_main.C: handle Include in .ui files
6207
6208 2003-04-15  John Levon  <levon@movementarian.org>
6209
6210         * MenuBackend.C: make the doc files length shorter
6211
6212         * ToolbarBackend.h:
6213         * ToolbarBackend.C: handle toolbar placement flags,
6214         Minibuffer
6215
6216 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6217
6218         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6219         adjust
6220
6221         * paragraph_funcs.C (TeXOnePar): adjust
6222
6223         * paragraph.C (getLabelFont): add outerfont arg, adjust
6224         (getLayoutFont): ditto
6225         (simpleTeXOnePar): adjust
6226
6227         * paragraph_pimpl.C (realizeFont): delete func
6228
6229 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6230
6231         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6232         row argument, constify cur argument.
6233
6234 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6235
6236         * text2.C (getFont): adjust
6237         (getLayoutFont): adjust
6238         (getLabelFont): adjust
6239
6240         * paragraph_funcs.C (TeXOnePar): adjust
6241         (outerFont): new func...
6242         (realizeFont): ...moved out from here, changed this to facilitate
6243         transition
6244
6245         * paragraph.C (getFont): take outerfont as arg, adjust
6246         (simpleTeXOnePar): add outerfont arg, adjust
6247
6248         * buffer.C (simpleLinuxDocOnePar): adjust
6249         (simpleDocBookOnePar): adjust
6250
6251         * CutAndPaste.C (pasteSelection): adjust
6252
6253         * BufferView.C (getEncoding): adjust
6254
6255 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6256
6257         * text2.C (setCharFont): adjust
6258         (setCounter): adjust
6259
6260         * text.C (leftMargin): adjust
6261         (setHeightOfRow): adjust
6262
6263         * rowpainter.C (paintFirst): adjust
6264         (paintLast): adjust
6265
6266         * paragraph_pimpl.C (realizeFont): adjust
6267
6268         * paragraph.C (isFirstInSequence): move from here...
6269         * paragraph_funcs.C (isFirstInSequence): ...to here
6270
6271         * paragraph.C (outerHook): move from here...
6272         * paragraph_funcs.C (outerHook): ...to here
6273
6274         * paragraph.C (depthHook): move from here...
6275         * paragraph_funcs.C (depthHook): ...to here
6276
6277         * paragraph.C (getEndLabel): move from here...
6278         * paragraph_funcs.C (getEndLabel): ...to here
6279
6280         * text2.C (realizeFont): move from here...
6281         * paragraph_funcs.C (realizeFont): ...to here
6282
6283 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6286
6287 2003-04-14  Angus Leeming  <leeming@lyx.org>
6288
6289         * LColor.[Ch]: scrap LColor mathcursor.
6290
6291 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * lyxlex.[Ch] (text): delete function
6294         * trans.C (Load): adjust
6295         * paragraph_funcs.C (readParToken): adjust
6296
6297 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6298
6299         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6300         vector<char> instead of a char[].
6301
6302         * lyxlex_pimpl.C (getString): adjust
6303         (next): adjust
6304         (lex): use getString
6305         (eatLine): adjust
6306         (nextToken): adjust
6307
6308         * lyxlex.C (text): use pimpl_->getString()
6309         (getBool): ditto
6310         (findToken): ditto
6311
6312 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6313
6314         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6315         (makeFontEntriesLayoutSpecific): temp var for par.size()
6316         (setLayout): temp var for ownerParagraphs().end()
6317         (fullRebreak): temp var for rows().end()
6318         (selectionAsString): temp var for boost::next(startpit), realize
6319         that the while really is a regular for loop.
6320         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6321         setCursor in one place.
6322         (setParagraph): temp vr for ownerParagraphs().end()
6323         (updateCounters): make the while loop a for loop
6324         (cutSelection): temp var for ownerParagraphs().end()
6325         (updateInset): make the do {} while() a regular for loop
6326         (getCursorX): use temp vars
6327         (setCurrentFont): use temp vars
6328         (getColumnNearX): use temp vars
6329
6330 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * text.C (transformChar): use temp var for getChar
6333         (computeBidiTables): use temp var for row->par()
6334         (fill): move temp vars for row->par() and pit->layout() earlier in
6335         the function.
6336         (labelFill): use temp var for row->par()
6337         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6338         asc and desc, realize that pit never changes and that firstpit is
6339         just a duplicate and not needed. Exchange rit->par() with pit in a
6340         lot of places.
6341         (breakAgain): use a temp var for boost::next(rit)
6342         (breakAgainOneRow): ditto
6343         (breakParagraph): use a temp var for rows().begin()
6344         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6345         (cursorRightOneWord): use temp var for cursor.par() and
6346         cursor.pos(), remove usage of tmpcursor.
6347         (cursorLeftOneWord): use temp var for cursor.par() and
6348         cursor.pos() only set cur at end of function.
6349
6350 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * text.C, text2.C: exchange all usage of Paragraph::next with
6353         boost::next(ParagraphList::iterator)
6354
6355         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6356
6357         * text2.C (cursorTop): simplify implementation
6358         (cursorBottom): ditto
6359         (setParagraph): use ParagraphList::iterator
6360         (setCurrentFont): adjust
6361         (getColumnNearX): adjust
6362         (cursorRight): adjust
6363         (cursorLeft): remove usage of Paragraph::previous
6364         (cursorUpParagraph): ditto
6365         (deleteEmptyParagraphMechanism): slight cleanup
6366
6367         * text.C (isBoundary): take a Paragraph const & instead of a
6368         pointer as arg.
6369         (addressBreakPoint): ditto
6370         (leftMargin): remove usage of Paragraph::previous.
6371         (setHeightOfRow): ditto
6372         (cursorLeftOneWord): ditto
6373         (selectNextWordToSpellcheck): ditto
6374         (Delete): ditto
6375         (backspace): ditto
6376         (breakParagraph): remove one usage of Paragraph::next
6377         (redoParagraph): ditto
6378         (acceptChange): ditto
6379         (insertChar): adjust
6380         (rowBreakPoint): adjust
6381
6382         * bufferview_funcs.C (toggleAndShow): adjust
6383
6384 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6385
6386         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6387         methods to access it.
6388         * lyxtext.h:
6389         * text.C: Added updateRowPositions to compute all row positions.
6390         Make top_y and getRowNearY() to use the cached y position
6391
6392 2003-04-11  John Levon  <levon@movementarian.org>
6393
6394         * text.C (rowBreakPoint): reintroduce the labelEnd
6395         checks, code copied from the row fill stuff. Deep voodoo.
6396
6397         * text.C (fill): add a comment and debugging for the
6398         next poor soul.
6399
6400 2003-04-11  John Levon  <levon@movementarian.org>
6401
6402         * text.C: make sure fullrow insets get wrapped to the next line,
6403         even when they're in a manual label
6404
6405 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * text2.C (insertParagraph): make it take ParagraphList::iterator
6408         as arg.
6409         (setLayout): make it return ParagraphList::iterator
6410         (redoParagraphs): ditto
6411         (setCounter): ditto
6412         (checkParagraph): ditto
6413
6414         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6415
6416         * text2.C: adjust several funcs.
6417         (realizeFont): take a ParagraphList::iterator as arg.
6418         (getLayoutFont): ditto
6419         (getLabelFont): ditto
6420         (setCharFont): ditto
6421
6422         * text.C: adjust several funcs.
6423
6424 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6425
6426         * text.C (selectNextWordToSpellcheck): don't accidentally
6427         skip insets
6428
6429 2003-04-10  John Levon  <levon@movementarian.org>
6430
6431         * ToolbarBackend.C (getIcon): special handling for
6432         LFUN_MATH_DELIM
6433
6434 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6435
6436         * text2.C (cursorRight): a getChar assert fixed
6437
6438 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6439
6440         * text2.C (getFont): change to take a ParagraphList::iterator
6441         instead of Paragraph*
6442         Adjust several functions.
6443
6444         * text.C (transformChar): change to take a ParagraphList::iterator
6445         instead of Paragraph*
6446         (singleWidth): ditto
6447         Adjust several functions.
6448
6449         * rowpainter.C: adjust several functions
6450         * rowpainter.h:store a ParagraphList::iterator and not a
6451         Paragraph&.
6452
6453
6454 2003-04-09  John Levon  <levon@movementarian.org>
6455
6456         * lyxfunc.C:
6457         * lfuns.h:
6458         * LyXAction.h:
6459         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6460         and the "help" bits as well
6461
6462 2003-04-09  John Levon  <levon@movementarian.org>
6463
6464         * ToolbarBackend.h:
6465         * ToolbarBackend.C: allow multiple toolbars
6466
6467 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6468
6469         * undo_funcs.C (setCursorParUndo): adjust
6470
6471         * text_funcs.C (transposeChars): adjust
6472
6473         * text3.C (gotoNextInset): adjust
6474         (dispatch): adjust
6475
6476         * text2.C (setLayout): adjust
6477         (changeDepth): adjust
6478         (setFont): adjust
6479         (redoParagraphs): adjust
6480         (selectionAsString): adjust
6481         (setParagraph): adjust
6482         (insertInset): adjust
6483         (cutSelection): adjust
6484         (copySelection): adjust
6485         (pasteSelection): adjust
6486         (insertStringAsLines): adjust
6487         (updateInset): adjust
6488         (setCursor): change to take a ParagraphList::iterator parameter
6489         (setCursorIntern): change to take a ParagraphList::iterator parameter
6490         (setCurrentFont): adjust
6491         (cursorLeft): adjust
6492         (cursorRight): adjust
6493         (deleteEmptyParagraphMechanism): adjust
6494
6495         * text.C (breakParagraph): adjust
6496         (insertChar): adjust
6497         (acceptChange): adjust
6498         (rejectChange): adjust
6499         (selectNextWordToSpellcheck): adjust
6500         (changeCase): adjust
6501         (Delete): adjust
6502         (backspace): adjust
6503
6504         * lyxfind.C (SearchForward): adjust
6505         (SearchBackward): adjust
6506         (nextChange): adjust
6507
6508         * lyxcursor.C (par): adjust
6509
6510         * lyxcursor.h: store a ParagraphList::iterator instead of a
6511         Paragraph*
6512
6513         * lyx_cb.C (getPossibleLabel): adjust
6514
6515         * bufferview_funcs.C (toggleAndShow): adjust
6516
6517         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6518         (dispatch): adjust
6519
6520         * BufferView.C (removeAutoInsets): adjust
6521         (lockedInsetStoreUndo): adjust
6522
6523 2003-04-09  John Levon  <levon@movementarian.org>
6524
6525         * ToolbarBackend.C: try icon without argument
6526         if with argument fails
6527
6528 2003-04-08  John Levon  <levon@movementarian.org>
6529
6530         * ToolbarBackend.h:
6531         * ToolbarBackend.C: add getIcon(), handle tooltip,
6532         and change from "Icon" to "Item".
6533
6534 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6535
6536         * BufferView.C (lockInset): another bad getchar crunched
6537
6538 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6539
6540         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6541         again)
6542
6543 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6544
6545         * lyxfind.C (searchForward, searchBackwards): bug 782
6546
6547 2003-04-07  John Levon  <levon@movementarian.org>
6548
6549         * paragraph.C: remove dead comment
6550
6551         * text.C: remove troublesome depth-fiddling code
6552         in leftMargin() and rightMargin() (bug 1017)
6553
6554         * text.C: fix breaking of rows in nested lists
6555         (bug 1004)
6556
6557         * text2.C (updateCounters): fix up depth values
6558         (bug 1013)
6559
6560 2003-04-07  John Levon  <levon@movementarian.org>
6561
6562         * BufferView_pimpl.C: clear message when doc finishes resizing,
6563         and after a mouse event
6564
6565         * lyxfunc.C: clear message after exiting inset
6566
6567 2003-04-07  John Levon  <levon@movementarian.org>
6568
6569         * bufferview_funcs.C: show math status not outside
6570         status in the statusbar
6571
6572 2003-04-07  John Levon  <levon@movementarian.org>
6573
6574         * lyxfunc.C: note status changed after a depth change
6575
6576 2003-04-04  Angus Leeming  <leeming@lyx.org>
6577
6578         * LaTeX.h: move AuxInfo operator==, != out of line.
6579         Remove LaTeX virtual destructor; nothing derives from it.
6580         Move operator()() out of public area and rename it startscript().
6581         Change protected for private.
6582
6583 2003-04-04  Angus Leeming  <leeming@lyx.org>
6584
6585         * lyxfunc.C:
6586         * text2.C: remove unneeded #includes.
6587
6588 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6589
6590         * text2.C (dEPM): fix the heigth of the next row
6591
6592 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6593
6594         * text.C: squashed an invalid getChar requester + some ws changes
6595
6596 2003-04-03  John Levon  <levon@movementarian.org>
6597
6598         * bufferview_funcs.h:
6599         * bufferview_funcs.C:
6600         * lyxfunc.C:
6601         * lyxtext.h:
6602         * text2.C: make getStatus work for the env depth lfuns
6603
6604 2003-04-03  John Levon  <levon@movementarian.org>
6605
6606         * bufferview_funcs.h:
6607         * bufferview_funcs.C:
6608         * lyxfunc.C:
6609         * lyxtext.h:
6610         * text2.C: parlistize decDepth(), by merging it with incDepth()
6611
6612 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * lyxrow.h: store a ParagraphList::iterator instead of a
6615         Paragraph* and adjust other class functions to suit.
6616
6617         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6618         above.
6619
6620 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6621
6622         * text2.C (setCursor): do not anchor to cursor row for the time being
6623
6624 2003-04-02  John Levon  <levon@movementarian.org>
6625
6626         * LyXAction.C:
6627         * lfuns.h:
6628         * lyx_main.C:
6629         * lyxtext.h:
6630         * text.C:
6631         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6632
6633 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6634
6635         * paragraph.h: make ParagraphList and ParagraphList::iterator
6636         friends of Paragraph.
6637
6638         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6639
6640         * ParagraphList.C: Use the private next_ and previous_ from
6641         Paragraph.
6642
6643 2003-04-01  John Levon  <levon@movementarian.org>
6644
6645         * ToolbarBackend.h:
6646         * ToolbarBackend.C:
6647         * Makefile.am: rename, remove defaults gunk
6648
6649         * MenuBackend.h:
6650         * MenuBackend.C: remove defaults gunk
6651
6652         * Languages.h:
6653         * Languages.C: remove defaults gunk
6654
6655         * lyx_main.h:
6656         * lyx_main.C: error out if files couldn't be found.
6657
6658 2003-04-02  John Levon  <levon@movementarian.org>
6659
6660         * text2.C: make incDepth() use parlist
6661
6662 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6663
6664         * undo_funcs.C (firstUndoParagraph): adjust
6665
6666         * text3.C (gotoInset): adjust
6667         (dispatch): adjust, and rewrite loop.
6668
6669         * text2.C (init): adjust, and rewrite loop.
6670         (redoParagraphs): adjust
6671         (updateInset): adjust, and rewrite loop.
6672         (deleteEmptyParagraphMechanism): adjust
6673
6674         * tabular.C (LyXTabular): adjust
6675         (SetMultiColumn): adjust
6676         (TeXRow): adjust
6677
6678         * lyxtext.[Ch] (ownerParagraph): delete function
6679         (ownerParagraphs): new function returns a ParagraphList.
6680
6681         * BufferView.C (removeAutoInsets): adjust
6682         (insertErrors): adjust
6683         (setCursorFromRow): adjust
6684
6685 2003-04-01  Angus Leeming  <leeming@lyx.org>
6686
6687         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6688         in the frontends.
6689
6690 2003-04-02  John Levon  <levon@movementarian.org>
6691
6692         * lyxtext.h:
6693         * text.C:
6694         * Makefile.am:
6695         * text_funcs.h:
6696         * text_funcs.C: make transposeChars a free function
6697
6698         * lyxrow_funcs.C: remove wrong comment
6699
6700 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6701
6702         * lyxtext.h: adjust
6703         * rowpainter.C: adjust
6704         * text.C: adjust
6705         * text2.C: adjust
6706         * text3.C: adjust
6707
6708         * lyxrow_funcs. [Ch]: new files
6709
6710         * lyxrow.[Ch]: remove next and previous pointers
6711         (next,previous): remove accessor functions
6712         (isParEnd): move to lyxrow_funcs
6713         (lastPos): move to lyxrow_funcs
6714         (nextRowIsAllInset): move to lyxrow_funcs
6715         (lastPrintablePos): move to lyxrow_funcs
6716         (numberOfSeparators): move to lyxrow_funcs
6717         (numberOfHfills): move to lyxrow_funcs
6718         (numberOfLabelHfills): move to lyxrow_funcs
6719         (hfillExpansion): move to lyxrow_funcs
6720
6721         * lyxfunc.C: adjust
6722
6723         * bufferview_funcs.C (toggleAndShow): adjust
6724
6725         * RowList.h: Remove class RowList from file leave just a
6726         std::list<Row>.
6727
6728         * RowList.C: delete file
6729
6730         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6731         and lyxrow_funcs.h
6732
6733 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6734
6735         * text3.C (cursorPrevious): adjust
6736         (cursorNext): adjust
6737         (dispatch): adjust
6738
6739         * text2.C (redoHeightOfParagraph): adjust
6740         (redoDrawingOfParagraph): adjust
6741         (setCursor): adjust
6742
6743         * text.C (breakParagraph): adjust
6744         (insertChar): adjust
6745         (backspace): adjust
6746
6747         * rowpainter.C (RowPainter): adjust
6748         (leftMargin): simplify and adjust
6749         (most rowpainter functions): adjust.
6750
6751         * rowpainter.h: store the row as RowList::iterator not as Row*
6752
6753         * lyxcursor.C (row): taka RowList::iterator as arg
6754         (irow): ditto
6755
6756         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6757         of Row*.
6758
6759 2003-04-01  Angus Leeming  <leeming@lyx.org>
6760
6761         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6762         stuff like bool Bool.
6763
6764 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6765
6766         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6767         rewrite a loop
6768
6769 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6770
6771         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6772         RowList::iterator.
6773
6774         * lyxtext.h (rows): drop one version and leve a const variant that
6775         returns a RowList::iterator.
6776
6777 2003-03-31  Angus Leeming  <leeming@lyx.org>
6778
6779         * text.C (fill): ensure that the signature is the same as that in the
6780         header file.
6781
6782 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * text2.C (redoParagraphs): adjust
6785         (updateCounters): adjust
6786         (checkParagraph): adjust
6787         (getColumnNearX): adjust and reformat a bit.
6788
6789         * text.C (top_y): adjust
6790         (workWidth): adjust
6791         (leftMargin): adjust
6792         (prepareToPrint): adjust
6793         (getRow): adjust
6794         (getRowNearY): adjust
6795
6796         * lyxtext.h: make rowlist_ mutable.
6797
6798         * RowList.h: add const_iterator
6799         * RowList.C: adjust for RowList::const_iterator.
6800
6801         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6802         adjust.
6803
6804 2003-03-31  John Levon  <levon@movementarian.org>
6805
6806         * lyxrc.h:
6807         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6808
6809         * lyx_main.C: set default fonts from using lyx_gui funcs
6810
6811         * exporter.C: pdf_mode moved from lyxrc
6812
6813         * lyx_cb.C:
6814         * lyxfunc.C: changes from above
6815
6816 2003-03-31  John Levon  <levon@movementarian.org>
6817
6818         * lyx_main.C: fix to the last fix
6819
6820 2003-03-31  John Levon  <levon@movementarian.org>
6821
6822         * bufferlist.C: "Load original" -> "Load Original"
6823
6824         * converter.C:
6825         * exporter.C:
6826         * importer.C:
6827         * lyx_main.C:
6828         * format.C: more Alert cleanups
6829
6830 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6831
6832         * text2.C (removeParagraph): make it take a RowList::iterator as
6833         arg, adjust.
6834         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6835         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6836
6837         * text.C (anchor_row): make it take a RowList::iterator as arg,
6838         adjust.
6839         (computeBidiTables): make it take a const reference to Row instead
6840         of Row pointer, adjust.
6841         (leftMargin): make it take a RowList::iterator as arg, adjust.
6842         (rowBreakPoint): adjust
6843         (breakAgainOneRow): make it take a RowList::iterator as arg,
6844         adjust.
6845         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6846
6847         * bufferview_funcs.C (toggleAndShow): adjust
6848
6849 2003-03-30  John Levon  <levon@movementarian.org>
6850
6851         * Makefile.am:
6852         * BoostFormat.h:
6853         * boost-inst.C: moved to support
6854
6855         * several files: changes as a result
6856
6857 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6858
6859         * text2.C (LyXText): adjust.
6860         (init): adjust
6861         (removeRow): make it take a RowList::iterator as arg, adjust.
6862         (fullRebreak): adjust
6863         (deleteEmptyParagraphMechanism): adjust
6864         (clearPaint): adjust
6865         (postPaint): adjust
6866
6867         * text.C (top_y): adjust
6868         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6869         (breakAgain): make it take a RowList::iterator as arg, adjust.
6870         (breakParagraph): adjust
6871         (insertChar): adjust
6872         (backspace): adjust
6873
6874         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6875         need_break_row, and refresh_row.
6876
6877         * text3.C (dispatch): adjust
6878
6879         * text2.C (checkParagraph): adjust
6880         (setCursor): adjust
6881         (setCursorFromCoordinates): adjust
6882
6883         * text.C (top_y): adjust
6884         (workWidth): adjust
6885         (getRow): make it return a RowList::iterator, adjust
6886         (getRowNearY): make it return a RowList::iterator, adjust
6887
6888         * text2.C (init): adjust
6889         (insertRow): remove function
6890         (insertParagraph): adjust
6891         (redoParagraphs): adjust
6892         (fullRebreak): adjust
6893         (updateCounters): adjust
6894
6895         * text.C (top_y): rewrite to use RowList iterators.
6896         (top_y): adjust
6897         (setHeightOfRow): rewrite to sue RowList iterators.
6898         (appendParagraph): adjust
6899         (breakAgain): adjust
6900         (breakAgainOneRow): adjust
6901         (breakParagraph): adjust
6902         (getRow): adjust
6903         (getRowNearY): adjust, and remove commented code.
6904
6905         * lyxtext.h (firstRow): delete function
6906         (lastRow): delete function
6907         (rows): new function (const and non-const versions.)
6908         (insertRow): delete function
6909
6910         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6911
6912 2003-03-29  John Levon  <levon@movementarian.org>
6913
6914         * BufferView_pimpl.C: always update scrollbar top
6915         because pasting text when we're anchored could mean we
6916         miss an update altogether
6917
6918 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6919
6920         * text2.C (init): use rowlist_.end() and not 0.
6921         (insertRow): change to take a RowList::iterator as arg, adjust
6922         for this.
6923         (insertParagraph): change to take a RowList::iterator as arg,
6924         adjust for this.
6925         (redoParagraphs): remove some debug msgs.
6926
6927         * text.C (appendParagraph): change to take a RowList::iterator
6928         arg, adjust for this.
6929         (breakAgain): add an assert
6930         (breakAgainOneRow): ditto
6931
6932 2003-03-29  John Levon  <levon@movementarian.org>
6933
6934         * text2.C: do not clear selection after inc/decDepth
6935         (bug 550)
6936
6937 2003-03-29  John Levon  <levon@movementarian.org>
6938
6939         * BufferView.C:
6940         * buffer.C: fix broken strerrors according to Lars
6941
6942 2003-03-29  John Levon  <levon@movementarian.org>
6943
6944         * converters.C: more Alert cleanups
6945
6946 2003-03-29  John Levon  <levon@movementarian.org>
6947
6948         * bufferview_funcs.C: remove pointless Alert
6949
6950         * buffer.C: fix confusing error message when
6951         a template is chmoded 000
6952
6953 2003-03-29  John Levon  <levon@movementarian.org>
6954
6955         * BufferView.C:
6956         * BufferView.h:
6957         * BufferView_pimpl.C: Alert fixes
6958
6959         * Makefile.am:
6960         * tabular.C:
6961         * tabular-old.C: remove unused table compat reading
6962
6963 2003-03-29  John Levon  <levon@movementarian.org>
6964
6965         * BufferView.C:
6966         * buffer.C:
6967         * lyx_cb.h:
6968         * lyx_cb.C: more Alert cleanups
6969
6970         * lyxfunc.C: don't allow chktex if not latex document
6971
6972 2003-03-29  John Levon  <levon@movementarian.org>
6973
6974         * lyx_cb.C:
6975         * BufferView.C:
6976         * buffer.C: warnings pushed down from support/,
6977         kill err_alert
6978
6979 2003-03-29  John Levon  <levon@movementarian.org>
6980
6981         * lyxfunc.C: safety check for C-r (revert)
6982
6983 2003-03-29  John Levon  <levon@movementarian.org>
6984
6985         * bufferlist.h:
6986         * bufferlist.C: several UI fixes using Alert::prompt.
6987         Fix the pointless looping quit code. Fix stupid revert
6988         behaviour (bug 938)
6989
6990         * lyxvc.h:
6991         * lyxvc.C:
6992         * lyx_cb.C: use Alert::prompt
6993
6994         * lyx_main.C: remove a silly question
6995
6996         * lyxfunc.C: remove a couple of silly questions,
6997         use Alert::prompt
6998
6999 2003-03-28  John Levon  <levon@movementarian.org>
7000
7001         * text2.C: fix bug 974 (End on empty par)
7002
7003 2003-03-28  John Levon  <levon@movementarian.org>
7004
7005         * BufferView_pimpl.C:
7006         * LyXAction.C:
7007         * lfuns.h: remove do-nothing math greek lfuns
7008
7009 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7010
7011         * lyxgluelength.h (isValidGlueLength): add default arg on
7012         parameter 2. Remove default arg from friend in class.
7013
7014         * lyxlength.h (isValidLength): add default arg on parameter 2.
7015         Remove default arg from friend in class.
7016
7017         * text2.C (LyXText): adjust, initialize refresh_row.
7018         (init): adjust
7019         (removeRow): adjust
7020         (insertRow): adjust
7021         (insertParagraph): adjst
7022         (redoParagraphs): adjust
7023         (fullRebreak): adjust
7024         (updateCounters): adjust
7025         (deleteEmptyParagraphMechanism): first attempt at fixing a
7026         crashing bug.
7027
7028         * text.C (top_y): adjust
7029         (setHeightOfRow): adjust
7030         (getRow): adjust
7031         (getRowNearY): adjust
7032
7033         * lyxtext.h: include RowList.h
7034         (~LyXText): not needed anymore, deleted.
7035         (firstRow): modify for RowList
7036         (lastRow): new function
7037         Delete firstrow and lastrow class variables, add a Rowlist
7038         rowlist_ class variable.
7039
7040         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7041         paragraph is empty.
7042
7043         * RowList.C (insert): fix case where it == begin().
7044
7045 2003-03-26  Angus Leeming  <leeming@lyx.org>
7046
7047         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7048         the thesaurus dialog.
7049
7050 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7051
7052         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7053
7054         * RowList.[Ch]: new files
7055
7056         * ParagraphList.C (erase): handle the case where it == begin
7057         correctly.
7058
7059 2003-03-25  John Levon  <levon@movementarian.org>
7060
7061         * Makefile.am:
7062         * aspell_local.h:
7063         * aspell.C: add new aspell support
7064
7065         * lyxrc.h:
7066         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7067         have it accessible.
7068
7069 2003-03-25  Angus Leeming  <leeming@lyx.org>
7070
7071         * lfuns.h:
7072         * LyXAction.C (init): new LFUN_INSET_INSERT.
7073
7074         * BufferView_pimpl.C (dispatch): split out part of the
7075         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7076
7077         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7078         LFUN_INSET_APPLY.
7079
7080 2003-03-25  Angus Leeming  <leeming@lyx.org>
7081
7082         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7083
7084 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7085
7086         * text2.C:
7087         * text3.C: remove useless row->height(0)
7088
7089 2003-03-25  John Levon  <levon@movementarian.org>
7090
7091         * lyxtext.h:
7092         * text2.C:
7093         * text3.C: rename the refreshing stuff to better names
7094
7095 2003-03-24  John Levon  <levon@movementarian.org>
7096
7097         * BufferView_pimpl.h:
7098         * BufferView_pimpl.C: update layout choice on a mouse
7099         press/release
7100
7101 2003-03-23  John Levon  <levon@movementarian.org>
7102
7103         * Makefile.am: fix commandtags.h reference
7104
7105 2003-03-22  John Levon  <levon@movementarian.org>
7106
7107         * BufferView_pimpl.C:
7108         * lyxtext.h:
7109         * rowpainter.C:
7110         * rowpainter.h:
7111         * text.C:
7112         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7113
7114 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7115
7116         * lyxtext.h:
7117         * text.C: take the rtl methods out of line
7118
7119 2003-03-21 André Pönitz <poenitz@gmx.net>
7120
7121         * metricsinfo.[Ch]: new files containing structures to be passed around
7122         during the two-phase-drawing...
7123
7124 2003-03-21 André Pönitz <poenitz@gmx.net>
7125
7126         * lyxtextclass.C: read 'environment' tag.
7127
7128 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7129
7130         * text2.C (removeRow): fix bug 964
7131
7132 2003-03-20  John Levon  <levon@movementarian.org>
7133
7134         * rowpainter.C:
7135         * text.C:
7136         * text2.C: paint cleanups. Inset::update() dropped font
7137         parameter
7138
7139 2003-03-19  John Levon  <levon@movementarian.org>
7140
7141         * lyxfunc.C: only fitcursor/markDirty if available()
7142
7143 2003-03-19  John Levon  <levon@movementarian.org>
7144
7145         * commandtags.h: rename to ...
7146
7147         * lfuns.h: ... this, and renumber / cleanup
7148
7149 2003-03-19  John Levon  <levon@movementarian.org>
7150
7151         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7152         fit the cursor after an lfun
7153
7154         * BufferView.h:
7155         * BufferView.C:
7156         * BufferView_pimpl.h:
7157         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7158
7159         * LyXAction.C: layout-character should have ReadOnly
7160
7161         * ParagraphParameters.C:
7162         * buffer.C:
7163         * bufferview_funcs.C:
7164         * lyx_cb.C:
7165         * lyxfind.C:
7166         * lyxtext.h:
7167         * text.C:
7168         * text2.C:
7169         * text3.C:
7170         * undo_funcs.C: changes from above
7171
7172 2003-03-18  John Levon  <levon@movementarian.org>
7173
7174         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7175         remove it from update()
7176
7177         * lyxfunc.C: update layout choice after an lfun
7178
7179         * text3.C: remove extra updateLayoutChoice()s
7180
7181 2003-03-18  John Levon  <levon@movementarian.org>
7182
7183         * text.C: top_y change means full repaint, fix
7184         a drawing bug with cursor movement
7185
7186 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7187
7188         * lyxtext.h:
7189         * text.C:
7190         * text2.C: anchor row on setCursor
7191
7192 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7193
7194         * lyxtext.h: remove almost all mutable keywords
7195         * text.C:
7196         * text2.C:
7197         * text3.C: remove const keywords accordingly
7198
7199 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7200
7201         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7202         anon namespace
7203         (TeXEnvironment): ditto
7204         (TeXOnePar): ditto
7205
7206 2003-03-17  John Levon  <levon@movementarian.org>
7207
7208         * text.C (rowBreakPoint): remove attempt to fix displayed
7209         math insets inside a manual label
7210
7211 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7212
7213         * lyxtext.h: remove BufferView* as first arg from almost all class
7214         functions.
7215         * other files: adjust.
7216
7217 2003-03-17  John Levon  <levon@movementarian.org>
7218
7219         * lyxtext.h:
7220         * undo_funcs.C:
7221         * text2.C: more paint cleanups
7222
7223         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7224
7225         * rowpainter.h:
7226         * rowpainter.C: remove "smart" background painting code
7227
7228 2003-03-16  John Levon  <levon@movementarian.org>
7229
7230         * lyxtext.h:
7231         * text.C:
7232         * text2.C:
7233         * text3.C: add helper functions for setting refresh_row/y
7234
7235 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7236
7237         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7238         newline inset which *can* get inserted in the pass_thru layouts.
7239         This is primarily for literate documents.
7240
7241 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7242
7243         * buffer.C: increment LYX_FORMAT to 223
7244
7245 2003-03-14 André Pönitz <poenitz@gmx.net>
7246
7247         * textclass.h: prepare for environment handling, ws changes
7248         * lyxlayout.C: read latexheader and latexfooter tags
7249
7250 2003-03-14  John Levon  <levon@movementarian.org>
7251
7252         * text2.C: rewrite ::status() a bit
7253
7254 2003-03-13  John Levon  <levon@movementarian.org>
7255
7256         * lyxtext.h: add some docs
7257
7258 2003-03-13  John Levon  <levon@movementarian.org>
7259
7260         * lyxtext.h:
7261         * text.C:
7262         * text2.C:
7263         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7264
7265 2003-03-13  John Levon  <levon@movementarian.org>
7266
7267         * text3.C: fix appendix redrawing
7268
7269 2003-03-13  John Levon  <levon@movementarian.org>
7270
7271         * text.C (setHeightOfRow):
7272         * rowpainter.h:
7273         * rowpainter.C: make appendix mark have the text
7274           "Appendix" so the user knows what it is
7275
7276         * LColor.h:
7277         * LColor.C: s/appendixline/appendix/ from above
7278
7279 2003-03-13  John Levon  <levon@movementarian.org>
7280
7281         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7282
7283         * text.C: fix a getChar(pos) bug properly
7284
7285 2003-03-13  Angus Leeming  <leeming@lyx.org>
7286
7287         * commandtags.h:
7288         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7289         Probably only temporary. Let's see how things pan out.
7290
7291         * BufferView.C (unlockInset):
7292         * BufferView_pimpl.C (fitCursor):
7293         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7294
7295         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7296         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7297
7298         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7299         new functions that convert ParagraphParameters to and from a string.
7300
7301         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7302         BufferView::Pimpl's dispatch.
7303         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7304
7305 2003-03-13 André Pönitz <poenitz@gmx.net>
7306
7307         * lyxfunc.C:
7308         * text3.C:
7309         * factory.C: make it aware of InsetEnv
7310
7311 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7312
7313         * text2.C (setCursor): never ask for one past last
7314         (setCursor): add some debugging messages.
7315
7316         * text.C (singleWidth): never ask for one past last
7317         (singleWidth): ditto
7318         (leftMargin): ditto
7319         (rightMargin): ditto
7320         (rowBreakPoint): ditto
7321         (setHeightOfRow): ditto
7322         (prepareToPrint): ditto
7323
7324         * rowpainter.C (paintBackground): never ask for one past last
7325         (paintText): never ask for one past last
7326
7327         * paragraph_pimpl.C (getChar): make the assert stricter, never
7328         allow the one past last pos to be taken
7329
7330         * paragraph.C (getChar): ws changes only
7331
7332         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7333         (numberOfSeparators): ditto
7334         (numberOfHfills): ditto
7335
7336 2003-03-12  John Levon  <levon@movementarian.org>
7337
7338         * author.h:
7339         * author.C:
7340         * bufferparams.h:
7341         * bufferparams.C:
7342         * paragraph_funcs.C: fix per-buffer authorlists
7343
7344 2003-03-12  John Levon  <levon@movementarian.org>
7345
7346         * text.C: fix newline in right address
7347
7348 2003-03-12  Angus Leeming  <leeming@lyx.org>
7349
7350         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7351         duplicate those in LyXFunc::dispatch.
7352
7353         * commandtags.h:
7354         * LyXAction.C:
7355         * ToolbarDefaults.C:
7356         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7357         Add LFUN_FONTFREE_UPDATE.
7358
7359         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7360         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7361
7362         * bufferview_func.[Ch]: several new functions to facilliate
7363         transfer of data to and from the character dialog.
7364
7365 2003-03-12  John Levon  <levon@movementarian.org>
7366
7367         * buffer.C:
7368         * paragraph.h:
7369         * paragraph.C:
7370         * paragraph_funcs.C:
7371         * paragraph_pimpl.C:
7372         * sgml.C:
7373         * tabular.C:
7374         * text.C:
7375         * text3.C: remove META_NEWLINE in favour of an inset
7376
7377         * rowpainter.h:
7378         * rowpainter.C: remove paintNewline (done by inset)
7379
7380 2003-03-12  John Levon  <levon@movementarian.org>
7381
7382         * paragraph_pimpl.C: complain about bad getChar()s
7383         for a while at least
7384
7385 2003-03-12  John Levon  <levon@movementarian.org>
7386
7387         * buffer.h:
7388         * buffer.C: move paragraph read into a separate function,
7389         a little renaming to reflect that.
7390
7391         * bufferparams.h:
7392         * bufferparams.C: remove the author_ids map, not necessary now
7393
7394         * factory.h:
7395         * factory.C: moved Buffer::readInset to here
7396
7397         * paragraph_funcs.h:
7398         * paragraph_funcs.C: readParagraph free function moved from
7399         buffer.C
7400
7401         * tabular.C: name change
7402
7403 2003-03-12  John Levon  <levon@movementarian.org>
7404
7405         * buffer.C:
7406         * ParagraphParameters.C: move par params input to
7407         a read() method
7408
7409         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7410         behave like a normal read from the stream wrt reading
7411         a line vs. a \\token
7412
7413 2003-03-12  John Levon  <levon@movementarian.org>
7414
7415         * paragraph.C:
7416         * ParagraphParameters.h:
7417         * ParagraphParameters.C: move output code to a
7418         ::write() method
7419
7420 2003-03-12  John Levon  <levon@movementarian.org>
7421
7422         * BufferView.C (insertLyXFile):
7423         * buffer.h:
7424         * buffer.C:
7425         * tabular.C: use a parlist iterator for creating the
7426           document.
7427
7428 2003-03-12  John Levon  <levon@movementarian.org>
7429
7430         * buffer.C: make current_change static local not
7431           static file-scope
7432
7433 2003-03-12  John Levon  <levon@movementarian.org>
7434
7435         * buffer.C: fix insertStringAsLines for change tracking
7436
7437 2003-03-12  John Levon  <levon@movementarian.org>
7438
7439         * BufferView.C:
7440         * tabular.C:
7441         * buffer.h:
7442         * buffer.C:
7443         * bufferparams.h:
7444         * bufferparams.C: move author list into params. Rename some
7445           functions. Move the header reading into a separate token
7446           loop. Move the header token reading into BufferParams.
7447
7448 2003-03-12  John Levon  <levon@movementarian.org>
7449
7450         * changes.C: put debug inside lyxerr.debugging() checks
7451
7452 2003-03-11 André Pönitz <poenitz@gmx.net>
7453
7454         * factory.C: make it aware of InsetHFill
7455
7456 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7457
7458         * buffer.C (latexParagraphs): move function from here...
7459         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7460         args.
7461
7462 2003-03-10  Angus Leeming  <leeming@lyx.org>
7463
7464         * LyXAction.C (init): fix bug in poplating array with multiple entries
7465         with the same LFUN (spotted by JMarc).
7466
7467 2003-03-10  John Levon  <levon@movementarian.org>
7468
7469         * text.C:
7470         * text2.C: move getColumnNearX() near its
7471         only call site
7472
7473 2003-03-10  John Levon  <levon@movementarian.org>
7474
7475         * text.C: fix break before a minipage
7476
7477 2003-03-10  John Levon  <levon@movementarian.org>
7478
7479         * text.C: fix the last commit
7480
7481 2003-03-09  John Levon  <levon@movementarian.org>
7482
7483         * lyxtext.h:
7484         * text.C:
7485         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7486         bug 365 (don't break before insets unless needed). Don't
7487         return a value > last under any circumstances.
7488
7489 2003-03-09  Angus Leeming  <leeming@lyx.org>
7490
7491         * BufferView_pimpl.C (trackChanges, dispatch): call
7492         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7493
7494 2003-03-09  Angus Leeming  <leeming@lyx.org>
7495
7496         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7497         than Dialogs::showAboutlyx().
7498
7499 2003-03-09  Angus Leeming  <leeming@lyx.org>
7500
7501         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7502         than Dialogs::showTabularCreate().
7503
7504 2003-03-09  John Levon  <levon@movementarian.org>
7505
7506         * lyxtext.h:
7507         * text.C:
7508         * text2.C: 3rd arg to nextBreakPoint was always the same.
7509           Use references.
7510
7511 2003-03-08  John Levon  <levon@movementarian.org>
7512
7513         * lyxrow.C:
7514         * paragraph.C:
7515         * paragraph.h:
7516         * rowpainter.C:
7517         * text.C:
7518         * text2.C: Remove the "main" bit from the "main body"
7519           notion.
7520
7521 2003-03-08  John Levon  <levon@movementarian.org>
7522
7523         * text.C (leftMargin): The left margin of an empty
7524         manual label paragraph should not include the label width
7525         string length.
7526
7527         * text.C (prepareToPrint): don't attempt to measure hfills
7528         for empty manual label paragraphs - the answer should be 0
7529
7530 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * CutAndPaste.C: remove commented code and reindent.
7533
7534 2003-03-08  John Levon  <levon@movementarian.org>
7535
7536         * lyxfunc.h:
7537         * lyxfunc.C: move reloadBuffer()
7538
7539         * BufferView.h:
7540         * BufferView.C: to here
7541
7542         * lyxvc.C: add comment
7543
7544         * vc-backend.h:
7545         * vc-backend.C: call bv->reload() to avoid
7546           getStatus() check on MENURELOAD
7547
7548 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7549
7550         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7551         to an old format .dep file.
7552
7553 2003-03-07  Angus Leeming  <leeming@lyx.org>
7554
7555         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7556         when the LFUN_MOUSE_RELEASE should have been handled by
7557         inset->localDispatch.
7558
7559 2003-03-07  Angus Leeming  <leeming@lyx.org>
7560
7561         * BufferView_pimpl.C (dispatch):
7562         * LyXAction.C (init):
7563         * ToolbarDefaults.C (init):
7564         * commandtags.h:
7565         * lyxfunc.C (getStatus):
7566         remove LFUN_INSET_GRAPHICS.
7567
7568         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7569
7570 2003-03-07  Angus Leeming  <leeming@lyx.org>
7571
7572         * commandtags.h:
7573         * LyXAction.C (init):
7574         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7575
7576         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7577
7578         * commandtags.h:
7579         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7580
7581         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7582         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7583
7584 2003-03-07  Angus Leeming  <leeming@lyx.org>
7585
7586         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7587         remove "ert".
7588
7589 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * ParagraphList.C (front): new function
7592         (back): implement
7593
7594 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7595
7596         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7597         and top_row_offset_. removed var first_y.
7598         * text.C (top_y):
7599         * text2.C (LyXText, removeRow):
7600         * text3.C:
7601         * BufferView_pimpl.C:
7602         use these methods instead of using first_y
7603
7604 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7605
7606         * text2.C (pasteSelection): adjust for checkPastePossible
7607
7608         * CutAndPaste.C: remove Paragraph * buf and replace with
7609         ParagraphList paragraphs.
7610         (DeleteBuffer): delete
7611         (cutSelection): change the tc type to textclass_type
7612         (copySelection): change the tc type to textclass_type
7613         (copySelection): adjust for ParagraphList
7614         (pasteSelection): change the tc type to textclass_type
7615         (pasteSelection): adjust for Paragraphlist
7616         (nrOfParagraphs): simplify for ParagraphList
7617         (checkPastePossible): simplify for ParagraphList
7618         (checkPastePossible): remove unused arg
7619
7620         * ParagraphList.C (insert): handle the case where there are no
7621         paragraphs yet.
7622
7623         * CutAndPaste.h: make CutAndPaste a namespace.
7624
7625         * text3.C (dispatch): adjust
7626
7627         * text.C (breakParagraph): add a ParagraphList as arg
7628
7629         * paragraph_funcs.C (breakParagraph): change to take a
7630         BufferParams and a ParagraphList as args.
7631         (breakParagraphConservative): ditto
7632         (mergeParagraph): ditto
7633         (TeXDeeper): add a ParagraphList arg
7634         (TeXEnvironment): ditto
7635         (TeXOnePar): ditto
7636
7637         * buffer.C (readLyXformat2): adjust
7638         (insertStringAsLines): adjust
7639         (latexParagraphs): adjust
7640
7641         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7642         (cutSelection): adjust
7643         (pasteSelection): adjust
7644
7645         * BufferView_pimpl.C (insertInset): adjust
7646
7647 2003-03-05  Angus Leeming  <leeming@lyx.org>
7648
7649         * commandtags.h:
7650         * LyXAction.C (init):
7651         * BufferView_pimpl.C (dispatch):
7652         * lyxfunc.C (getStatus):
7653         remove LFUN_CHILD_INSERT.
7654
7655         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7656
7657 2003-03-05  Angus Leeming  <leeming@lyx.org>
7658
7659         * commandtags.h:
7660         * LyXAction.C (init):
7661         * src/factory.C (createInset):
7662         * lyxfunc.C (getStatus):
7663         * text3.C (dispatch):
7664         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7665
7666         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7667
7668 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7669
7670         * ParagraphList.C (insert): handle insert right before end()
7671         (erase): fix cases where it can be first or last paragraph.
7672
7673 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7674
7675         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7676         Paragraph::next and Paragraph::previous
7677         (TeXOnePar): ditto
7678
7679         * text.C (breakParagraph): adjust
7680
7681         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7682         BufferParams& as arg.
7683         (breakParagraph): use ParagraphList::insert
7684         (breakParagraphConservative): take a Buffer* instead of a
7685         BufferParams& as arg.
7686         (breakParagraphConservative): use ParagraphList::insert.
7687
7688         * buffer.C (insertStringAsLines): un-const it
7689         (insertStringAsLines): adjust
7690
7691         * ParagraphList.C (insert): new function
7692
7693         * CutAndPaste.C (pasteSelection): adjust
7694
7695         * text.C (backspace): adjust
7696
7697         * tabular.C (SetMultiColumn): adjust
7698
7699         * CutAndPaste.C (cutSelection): adjust
7700         (pasteSelection): adjust
7701
7702         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7703         Buffer const * as arg
7704
7705         * ParagraphList.C (erase): new function
7706         * paragraph_funcs.C (mergeParagraph): use it
7707         (mergeParagraph): make it take a Buffer* instead of a
7708         BufferParams* as arg
7709
7710         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7711         as arg
7712         (breakParagraphConservative): ditto
7713
7714         * paragraph.h: remove the breakParagraph friend
7715
7716         * paragraph.C (eraseIntern): new function
7717         (setChange): new function
7718
7719         * paragraph_funcs.C (mergeParagraph): make it take a
7720         ParagraphList::iterator instead of a Paragraph *, adjust
7721         accordingly.
7722
7723         * paragraph.h: move an #endif so that the change tracking stuff
7724         also works in the NO_NEXT case.
7725
7726 2003-03-04  Angus Leeming  <leeming@lyx.org>
7727
7728         * commandtags.h:
7729         * LyXAction.C: new LFUN_INSET_MODIFY.
7730
7731         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7732         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7733
7734 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7735
7736         * several files: ws changes only
7737
7738         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7739         (TeXEnvironment): ditto
7740         (TeXDeeper): ditto
7741
7742         * buffer.C (makeLaTeXFile): adjust
7743         (latexParagraphs): make it take ParagraphList::iterator as args
7744
7745 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7746
7747         * buffer.C (latexParagraphs): adjust
7748
7749         * paragraph.C (TeXOnePar): move function...
7750         (optArgInset): move function...
7751         (TeXEnvironment): move function...
7752         * paragraph_pimpl.C (TeXDeeper): move function...
7753         * paragraph_funcs.C: ...here
7754
7755         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7756
7757 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * buffer.C (readInset): remove compability code for old Figure and
7760         InsetInfo insets
7761
7762 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7763
7764         * buffer.C: ws changes
7765         (readInset):
7766
7767         * BufferView_pimpl.C: ditto
7768         * author.C: ditto
7769         * buffer.h: ditto
7770         * bufferlist.h: ditto
7771         * changes.h: ditto
7772         * lyxfunc.C: ditto
7773
7774 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7775
7776         * converter.[Ch]: split into itself +
7777         * graph.[Ch]
7778         * format.[Ch]
7779         * Makefile.am: += graph.[Ch] + format.[Ch]
7780         * MenuBackend.C
7781         * buffer.C
7782         * exporter.C
7783         * importer.C
7784         * lyx_main.C
7785         * lyxfunc.C
7786         * lyxrc.C: added #include "format.h"
7787
7788 2003-02-27  Angus Leeming  <leeming@lyx.org>
7789
7790         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7791           a label.
7792
7793         * factory.C (createInset): add "label" to the factory.
7794
7795         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7796           string and do no more.
7797
7798 2003-02-27  Angus Leeming  <leeming@lyx.org>
7799
7800         * commandtags.h:
7801         * LyXAction.C (init):
7802         * factory.C (createInset):
7803         * BufferView_pimpl.C (dispatch):
7804           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7805
7806         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7807
7808         * lyxfunc.C (dispatch):
7809         * text3.C (dispatch): pass name to params2string.
7810
7811 2003-02-26  Angus Leeming  <leeming@lyx.org>
7812
7813         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7814           blocks together.
7815           Rearrange the ~includes. Strip out the unnecessary ones.
7816
7817         * factory.C (createInset): reformat.
7818           create new insets for the various LFUN_XYZ_APPLY lfuns.
7819
7820 2003-02-26  John Levon  <levon@movementarian.org>
7821
7822         * lyxrow.h:
7823         * lyxrow.C: add isParStart,isParEnd helpers
7824
7825         * paragraph.h: make isInserted/DeletedText take refs
7826
7827         * paragraph_funcs.h:
7828         * paragraph_funcs.C: remove #if 0'd code
7829
7830         * lyxtext.h:
7831         * text3.C:
7832         * text2.C:
7833         * text.C: use lyxrow helpers above.
7834           Move draw and paint routines to RowPainter.
7835           Make several methods use refs not pointers.
7836           Make backgroundColor() const.
7837           Add markChangeInDraw(), isInInset().
7838           Merge changeRegionCase into changeCase.
7839           Make workWidth() shouldn't-happen code into an Assert.
7840
7841         * rowpainter.h:
7842         * rowpainter.C: new class for painting a row.
7843
7844         * vspace.h:
7845         * vspace.C: make inPixels take a ref
7846
7847 2003-02-26  Angus Leeming  <leeming@lyx.org>
7848
7849         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7850         LFUN_REF_APPLY.
7851
7852 2003-02-25  John Levon  <levon@movementarian.org>
7853
7854         * ispell.C: give the forked command a more accurate name
7855
7856 2003-02-22  John Levon  <levon@movementarian.org>
7857
7858         * toc.h:
7859         * toc.C: make TocItem store an id not a Paragraph *
7860           (bug #913)
7861
7862 2003-02-21  Angus Leeming  <leeming@lyx.org>
7863
7864         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7865           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7866           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7867           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7868           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7869           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7870
7871         * BufferView_pimpl.C (dispatch):
7872         * LyXAction.C (init):
7873         * factory.C (createInset):
7874         * lyxfunc.C (getStatus, dispatch):
7875         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7876
7877 2003-02-21  Angus Leeming  <leeming@lyx.org>
7878
7879         * BufferView_pimpl.C (MenuInsertLyXFile):
7880         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7881         * lyxfunc.C (menuNew, open, doImport):
7882           no longer pass a LyXView & to fileDlg.
7883
7884 2003-02-21  Angus Leeming  <leeming@lyx.org>
7885
7886         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7887         * LyXAction.C: change, BIBKEY to BIBITEM.
7888         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7889         Change InsetBibKey to InsetBibitem.
7890         Change BIBKEY_CODE to BIBITEM_CODE.
7891         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7892         * factory.C: replace insetbib.h with insetbibitem.h.
7893         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7894         * paragraph.C: replace insetbib.h with insetbibitem.h.
7895         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7896         Change bibkey() to bibitem().
7897         * text.C: remove insetbib.h.
7898         * text2.C: replace insetbib.h with insetbibitem.h.
7899         change bibkey() to bibitem().
7900         * text3.C: remove insetbib.h.
7901         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7902
7903 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7904
7905         * lyxrc.C (output): enclose user email in quotes (in case there are
7906         several words)
7907
7908 2003-02-18  John Levon  <levon@movementarian.org>
7909
7910         * buffer.h: add std::
7911
7912 2003-02-17  John Levon  <levon@movementarian.org>
7913
7914         * SpellBase.h:
7915         * ispell.h:
7916         * ispell.C:
7917         * pspell.h:
7918         * pspell.C: reworking. Especially in ispell, a large
7919           number of clean ups and bug fixes.
7920
7921         * lyxfunc.C: fix revert to behave sensibly
7922
7923 2003-02-17 André Pönitz <poenitz@gmx.net>
7924
7925         * LyXAction.C:
7926         * commandtags.h: new LFUN_INSERT_BIBKEY
7927
7928         * layout.h:
7929         * lyxlayout.C:
7930         * buffer.C:
7931         * factory.C:
7932         * text.C:
7933         * text2.C:
7934         * text3.C:
7935         * paragraph.[Ch]:
7936         * paragraph_func.C: remove special bibkey handling
7937
7938 2003-02-17  John Levon  <levon@movementarian.org>
7939
7940         * text.C (Delete): fix case where delete at the end of
7941           the very first paragraph would not merge the pars
7942
7943 2003-02-17  John Levon  <levon@movementarian.org>
7944
7945         * lyxrow.C: fix lastPrintablePos()
7946
7947 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7948
7949         * bufferparams.C (writeLaTeX): add a std:here
7950
7951         * buffer.C: and remove a using directive there
7952
7953 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7954
7955         * buffer.C (makeLaTeXFile): move the code that generates the
7956           preamble...
7957
7958         * bufferparams.C (writeLaTeX): ... in this new method
7959
7960         * LaTeXFeatures.C (getEncodingSet): make const
7961           (getLanguages): make const
7962
7963         * MenuBackend.C (binding): returns the binding associated to this
7964           action
7965           (add): sets the status of each item by calling getStatus. Adds
7966           some intelligence.
7967           (read): add support for OptSubMenu
7968           (expand): remove extra separator at the end of expanded menu
7969
7970 2003-02-15  John Levon  <levon@movementarian.org>
7971
7972         * BufferView.C:
7973         * BufferView_pimpl.C:
7974         * bufferlist.h:
7975         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7976           inset code that had no actual effect. Remove unneeded status
7977           code.
7978
7979 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7980
7981         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7982           in preamble
7983
7984 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7985
7986         * text.C (drawLengthMarker): also draw an arrow marker for
7987           symbolic lengths (medskip...)
7988
7989 2003-02-14  John Levon  <levon@movementarian.org>
7990
7991         * tabular.h:
7992         * tabular.C: better method names
7993
7994 2003-02-14  John Levon  <levon@movementarian.org>
7995
7996         * BufferView_pimpl.C:
7997         * bufferlist.C:
7998         * buffer.C:
7999         * converter.C:
8000         * lyx_cb.C:
8001         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8002           it's a more accurate name. Remove some pointless uses.
8003
8004 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8005
8006         * text2.C (LyXText): change order of initilizers to shut off
8007           warnings
8008
8009 2003-02-14  John Levon  <levon@movementarian.org>
8010
8011         * buffer.C: use ParIterator for getParFromID()
8012
8013         * paragraph.h:
8014         * paragraph.C:
8015         * paragraph_pimpl.h:
8016         * paragraph_pimpl.C: remove unused getParFromID()
8017
8018 2003-02-14  John Levon  <levon@movementarian.org>
8019
8020         * buffer.C: remove some very old #if 0'd parse code
8021
8022 2003-02-13  John Levon  <levon@movementarian.org>
8023
8024         * text.h:
8025         * text.C:
8026         * text2.C: move hfillExpansion(), numberOfSeparators(),
8027           rowLast(), rowLastPrintable(), numberofHfills(),
8028           numberOfLabelHfills() ...
8029
8030         * lyxrow.h:
8031         * lyxrow.C: ... to member functions here.
8032
8033         * paragraph.h:
8034         * paragraph.C:
8035         * lyxtext.h:
8036         * text.C: remove LyXText::beginningOfMainBody(), and call
8037           p->beginningOfMainBody() directly. Move the check for
8038           LABEL_MANUAL into the latter.
8039
8040         * text.h:
8041         * text.C:
8042         * text2.C:
8043         * vspace.C:
8044         * BufferView.h:
8045         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8046
8047         * text.h:
8048         * text.C:
8049         * text2.C:
8050         * text3.C:
8051         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8052           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8053
8054 2003-02-13  John Levon  <levon@movementarian.org>
8055
8056         * CutAndPaste.C: remove debug
8057
8058 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8059
8060         * paragraph.C (asString): remove two unused variables
8061
8062         * lyxtextclass.C (readTitleType):
8063           (Read):
8064           (LyXTextClass): handle new members titletype_ and titlename_
8065
8066         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8067
8068 2003-02-09  John Levon  <levon@movementarian.org>
8069
8070         * buffer.h:
8071         * buffer.C: replace hand-coded list with a map for the dep clean
8072
8073 2003-02-08  John Levon  <levon@movementarian.org>
8074
8075         * LaTeX.C: consolidate code into showRunMessage() helper
8076
8077 2003-02-08  John Levon  <levon@movementarian.org>
8078
8079         * lyxfind.C:
8080         * lyxtext.h:
8081         * text2.C:
8082         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8083           and pass the size in explicitly
8084
8085         * BufferView_pimpl.h:
8086         * BufferView_pimpl.C:
8087         * BufferView.h:
8088         * BufferView.C: add getCurrentChange()
8089
8090         * BufferView_pimpl.h:
8091         * BufferView_pimpl.C: handle change lfuns
8092
8093         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8094           for changes. Mark pasted paragraphs as new.
8095
8096         * support/lyxtime.h:
8097         * support/lyxtime.C:
8098         * DepTable.C: abstract time_t as lyx::time_type
8099
8100         * LColor.h:
8101         * LColor.C: add colours for new text, deleted text, changebars
8102
8103         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8104           package use "usenames" option.
8105
8106         * commandtags.h:
8107         * lyxfunc.C:
8108         * LyXAction.C: add change lfuns
8109
8110         * Makefile.am:
8111         * author.h:
8112         * author.C: author handling
8113
8114         * buffer.h:
8115         * buffer.C: add a per-buffer author list, with first entry as
8116           current author. Handle new .lyx tokens for change tracking. Output
8117           author list to .lyx file. Output dvipost stuff to .tex preamble.
8118           Bump lyx format to 222.
8119
8120         * bufferlist.h:
8121         * bufferlist.C: add setCurrentAuthor() to reset current author details
8122           in all buffers.
8123
8124         * bufferparams.h:
8125         * bufferparams.C: add param for tracking
8126
8127         * bufferview_funcs.C: output change info in minibuffer
8128
8129         * Makefile.am:
8130         * changes.h:
8131         * changes.C: add change-tracking structure
8132
8133         * debug.h:
8134         * debug.C: add CHANGES debug flag
8135
8136         * lyxfind.h:
8137         * lyxfind.C: add code for finding the next change piece
8138
8139         * lyxrc.h:
8140         * lyxrc.C: add user_name and user_email
8141
8142         * lyxrow.h:
8143         * lyxrow.C: add a metric for the top of the text line
8144
8145         * lyxtext.h:
8146         * text.C: implement accept/rejectChange()
8147
8148         * lyxtext.h:
8149         * text.C: paint changebars. Paint new/deleted text in the chosen
8150         colours. Strike through deleted text.
8151
8152         * paragraph.h:
8153         * paragraph.C:
8154         * paragraph_pimpl.h:
8155         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8156           in the current change to the insert functions. Rework erase to
8157           mark text as deleted, adding an eraseIntern() and a range-based
8158           erase(). Implement per-paragraph change lookup and
8159           accept/reject.
8160
8161         * paragraph_funcs.C: Fixup paste for change tracking.
8162
8163         * tabular.C: mark added row/columns as new.
8164
8165         * text.C: fix rowLast() to never return -1. Don't allow
8166           spellchecking of deleted text. Track transpose changes. Don't
8167           allow paragraph break or merge where appropriate.
8168
8169         * text2.C: leave cursor at end of selection after a cut.
8170
8171 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8172
8173         * text.C (getLengthMarkerHeight):
8174         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8175         visible on screen too.
8176
8177 2003-02-07  John Levon  <levon@movementarian.org>
8178
8179         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8180
8181 2003-02-05  Angus Leeming  <leeming@lyx.org>
8182
8183         * lyxserver.C (read_ready): revert my patch of 11 September last year
8184         as it sends PC cpu through the roof. Presumably this means that
8185         the lyxserver will no longer run on an Alpha...
8186
8187 2003-01-30  Angus Leeming  <leeming@lyx.org>
8188
8189         * factory.C (createInset): create an InsetCommandParam of type "index"
8190         and use it to 'do the right thing'.
8191
8192         * text2.C (getStringToIndex): ensure that cursor position is always
8193         reset to the reset_cursor position.
8194
8195 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8196
8197         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8198         disabled.
8199
8200 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8201
8202         * bufferview.C:
8203         * lyxcb.C:
8204         * lyxfunc.C: Output messages with identical spelling, punctuation,
8205         and spaces
8206
8207 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8208
8209         * MenuBackend.C (expandFormats): List only viewable export formats
8210         in "View" menu
8211
8212         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8213         message
8214
8215         * lyxfunc.C (getStatus): Make sure that formats other than
8216         "fax" can also be disabled
8217
8218 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8219
8220         * text3.C (dispatch): put the lfuns that insert insets in 3
8221         groups, and call doInsertInset with appropriate arguments.
8222         (doInsertInset): new function, that creates an inset and inserts
8223         it according to some boolean parameters.
8224
8225 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8226
8227         * buffer.C (readFile): remember to pass on 'par' when calling
8228         readFile recursively.
8229
8230 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8231
8232         * MenuBackend.C (expandFormats): add "..." to import formats.
8233
8234 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8235
8236         * paragraph.C (asString): Remove XForms RTL hacks.
8237
8238 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8239         * buffer.C: fix typo
8240
8241 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8242
8243         * Makefile.am (LIBS): delete var
8244         (lyx_LDADD): add @LIBS@ here instead.
8245
8246 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8247
8248         * Clarify the meaning of "wheel mouse jump"
8249
8250 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8251
8252         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8253         tabular in a float
8254
8255 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8256
8257         * importer.C (Loaders): do not preallocate 3 elements in the
8258         vector, since one ends up with 6 elements otherwise
8259
8260 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8261
8262         * DepTable.C (write): write the file name as last element of the
8263         .dep file (because it may contain spaces)
8264         (read): read info in the right order
8265
8266 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8267
8268         * paragraph_pimpl.C (simpleTeXBlanks):
8269         (simpleTeXSpecialChars):
8270         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8271
8272         * tabular.C (latex): add some missing case statements. Reindent.
8273
8274         * MenuBackend.C (expandToc): remove unused variable.
8275
8276 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8277
8278         * LColor.C:
8279         * LaTeX.C:
8280         * LyXAction.C:
8281         * MenuBackend.C:
8282         * buffer.C:
8283         * exporter.C:
8284         * lyxfunc.C:
8285         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8286         and the like.
8287
8288 2003-01-05  John Levon  <levon@movementarian.org>
8289
8290         * BufferView.h:
8291         * BufferView.C: add getEncoding()
8292
8293         * kbsequence.h:
8294         * kbsequence.C: do not store last keypress
8295
8296         * lyxfunc.h:
8297         * lyxfunc.C: store last keypress here instead. Pass encoding
8298           to getISOEncoded()
8299
8300 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8301
8302         * lyx_main.C (init): remove annoying error message when following
8303         symbolic links (bug #780)
8304
8305 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8306
8307         * text.C (insertChar):
8308         * lyxrc.C (getDescription): remove extra spaces
8309
8310 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8311
8312         * lyxrc.C (getDescription): remove extra spaces
8313
8314 2002-12-20  John Levon  <levon@movementarian.org>
8315
8316         * text3.C: hack fix for page up/down across tall rows
8317
8318 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8319
8320         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8321         not been invoked
8322
8323 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8324
8325         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8326         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8327         thesaurus is not compiled in
8328
8329 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8330
8331         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8332
8333 2002-12-16  Angus Leeming  <leeming@lyx.org>
8334
8335         * lyxrc.[Ch]:
8336         * lyx_main.C (init): remove override_x_deadkeys stuff.
8337
8338 2002-12-12  John Levon  <levon@movementarian.org>
8339
8340         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8341           insert. Only remove shift modifier under strict
8342           circumstances.
8343
8344 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8345
8346         * MenuBackend.C (expandToc): fix crash.
8347
8348 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8349
8350         * MenuBackend.C (expandToc): gettext on float names.
8351
8352 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8353
8354         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8355         implement bool empty() [bug 490]
8356
8357 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8358
8359         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8360
8361 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8362
8363         * several files: ws changes
8364
8365 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * text2.C (setCounter): clean up a bit, use boost.format.
8368         (updateCounters): initialize par upon declaration.
8369
8370         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8371         if the layout exists. We do not just store the layout any more.
8372         (SwitchLayoutsBetweenClasses): use boost.format
8373
8374 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8375
8376         * converter.C (convert): if from and to files are the same, use a
8377         temporary files as intermediary
8378
8379 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8380
8381         * commandtags.h:
8382         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8383
8384 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8385
8386         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8387
8388 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8389
8390         * tabular.C (asciiPrintCell): use string(size, char) instead of
8391         explicit loop.
8392
8393         * sgml.C (openTag): fix order of arguments to string constructor
8394         (closeTag): ditto
8395
8396         * lyxfunc.C (dispatch): use boost.format
8397
8398         * lots of files: change "c" -> 'c'
8399
8400 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8401
8402         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8403
8404 2002-11-25  Angus Leeming  <leeming@lyx.org>
8405
8406         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8407
8408         * lyx_main.C (init): compile fix.
8409
8410 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8411
8412         * lyx_cb.C (start): boost.formatify
8413         do not include <iostream>
8414
8415         * lengthcommon.C: ws only
8416
8417         * boost-inst.C,BoostFormat.h: add more explict instantations
8418
8419 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8420
8421         * lots of files: handle USE_BOOST_FORMAT
8422
8423 2002-11-21  John Levon  <levon@movementarian.org>
8424
8425         * pspell.C: fix compile
8426
8427 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8428
8429         * lyxfunc.C (dispatch): use boost::format
8430         (open): ditto
8431         (doImport): ditto
8432
8433         * lyxfont.C (stateText): use boost::format
8434
8435         * lyx_main.C (LyX): use boost::format
8436         (init): ditto
8437         (queryUserLyXDir): ditto
8438         (readRcFile): ditto
8439         (parse_dbg): ditto
8440         (typedef boost::function): use the recommened syntax.
8441
8442         * importer.C (Import): use boost::format
8443
8444         * debug.C (showLevel): use boost::format
8445
8446         * converter.C (view): use boost::format
8447         (convert): ditto
8448         (move): ditto
8449         (scanLog): ditto
8450
8451         * bufferview_funcs.C (currentState): use boost::format
8452
8453         * bufferlist.C (emergencyWrite): use boost::format
8454
8455         * buffer.C (readLyXformat2): use boost::format
8456         (parseSingleLyXformat2Token): ditto
8457
8458         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8459
8460         * LaTeX.C (run): use boost::format
8461
8462         * Chktex.C (scanLogFile): use boost::format
8463
8464         * BufferView_pimpl.C (savePosition): use boost::format
8465         (restorePosition): ditto
8466         (MenuInsertLyXFile): ditto
8467
8468         * BoostFormat.h: help file for explicit instation.
8469
8470 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8471
8472         * tabular.C (latex): Support for block alignment in fixed width
8473         columns.
8474
8475 2002-11-17  John Levon  <levon@movementarian.org>
8476
8477         * BufferView_pimpl.C:
8478         * lyx_cb.C:
8479         * lyxfunc.C: split filedialog into open/save
8480
8481 2002-11-08  Juergen Vigna  <jug@sad.it>
8482
8483         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8484         by my last patch (hopefully).
8485
8486 2002-11-08  John Levon  <levon@movementarian.org>
8487
8488         * iterators.h:
8489         * iterators.C:
8490         * buffer.h:
8491         * buffer.C:
8492         * paragraph.h:
8493         * paragraph.C:
8494         * toc.h:
8495         * toc.C: ParConstIterator, and use it (from Lars)
8496
8497 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8498
8499         * lyxtextclass.[Ch]: revise and add doxygen comments
8500
8501 2002-11-07  John Levon  <levon@movementarian.org>
8502
8503         * text.C: fix progress value for spellchecker
8504
8505         * toc.C: fix navigate menu for insetwrap inside minipage
8506
8507         * paragraph_funcs.C: added FIXME for suspect code
8508
8509 2002-11-07  John Levon  <levon@movementarian.org>
8510
8511         * BufferView_pimpl.C: fix redrawing of insets
8512           on buffer switch
8513
8514 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8515
8516         * text2.C (updateCounters): fix bug 668
8517
8518 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8519
8520         * text3.C (dispatch): Do not make the buffer dirty when moving the
8521         cursor.
8522
8523 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8524
8525         * vc-backend.C: STRCONV
8526         (scanMaster): ditto
8527
8528         * text2.C (setCounter): STRCONV
8529
8530         * paragraph.C (asString): STRCONV
8531
8532         * lyxlength.C (asString): STRCONV
8533         (asLatexString): ditto
8534
8535         * lyxgluelength.C (asString): STRCONV
8536         (asLatexString): ditto
8537
8538         * lyxfunc.C (dispatch): STRCONV
8539         (open): ditto
8540
8541         * lyxfont.C (stateText): STRCONV
8542
8543         * importer.C (Import): STRCONV
8544
8545         * counters.C (labelItem): STRCONV
8546         (numberLabel): ditto
8547         (numberLabel): remove unused ostringstream o
8548
8549         * chset.C: STRCONV
8550         (loadFile): ditto
8551
8552         * bufferview_funcs.C (currentState): STRCONV
8553
8554         * buffer.C (readFile): STRCONV
8555         (asciiParagraph): ditto
8556         (makeLaTeXFile): ditto
8557
8558         * Spacing.C (writeEnvirBegin): STRCONV
8559
8560         * LaTeXFeatures.C (getLanguages): STRCONV
8561         (getPackages): ditto
8562         (getMacros): ditto
8563         (getBabelOptions): ditto
8564         (getTClassPreamble): ditto
8565         (getLyXSGMLEntities): ditto
8566         (getIncludedFiles): ditto
8567
8568         * LaTeX.C: STRCONV
8569         (run): ditto
8570         (scanAuxFile): ditto
8571         (deplog): ditto
8572
8573         * LString.h: add the STRCONV macros
8574
8575         * BufferView_pimpl.C (savePosition): STRCONV
8576         (restorePosition): ditto
8577         (MenuInsertLyXFile): ditto
8578
8579         * vc-backend.C (scanMaster): change from submatch[...] to
8580         submatch.str(...)
8581
8582         * funcrequest.C: include config.h
8583
8584         * factory.C: include config.h
8585
8586         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8587
8588         * box.C: include config.h
8589
8590         * LaTeX.C (scanAuxFile): change from submatch[...] to
8591         submatch.str(...)
8592         (deplog): ditto
8593
8594 2002-10-25  Angus Leeming  <leeming@lyx.org>
8595
8596         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8597
8598         * ispell.[Ch] (setError): new method.
8599         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8600         Use setError() insetead of goto END.
8601
8602         * lyx_cb.C (AutoSave): move out child process into new class
8603         AutoSaveBuffer.
8604
8605 2002-10-30  John Levon  <levon@movementarian.org>
8606
8607         * text3.C: make start appendix undoable
8608
8609 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8610
8611         * lyxlength.C (inPixels): Fix returned value.
8612
8613         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8614         environment.
8615
8616 2002-10-24  Angus Leeming  <leeming@lyx.org>
8617
8618         * lyxgluelength.h: no need to forward declare BufferParams
8619         or BufferView, so don't.
8620
8621 2002-10-21  John Levon  <levon@movementarian.org>
8622
8623         * BufferView.C: menuUndo ->undo, redo
8624
8625         * BufferView.h: document, remove dead, make some methods private
8626
8627         * paragraph_funcs.h:
8628         * paragraph_funcs.C:
8629         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8630
8631         * buffer.h:
8632         * buffer.C:
8633         * sgml.h:
8634         * sgml.C: move sgml open/close tag into sgml.C
8635
8636         * bufferview_funcs.h: unused prototype
8637
8638         * lyxfunc.h:
8639         * lyxfunc.C: remove unused
8640
8641         * lyxtext.h:
8642         * text.C: remove unused
8643
8644 2002-10-21  John Levon  <levon@movementarian.org>
8645
8646         * BufferView.h:
8647         * BufferView.C:
8648         * BufferView_pimpl.h:
8649         * BufferView_pimpl.C: fix mouse wheel handling based on
8650           patch from Darren Freeman
8651
8652 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8653
8654         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8655
8656 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8657
8658         * lyxlength.C (inPixels): Fix hanfling of negative length.
8659         Fix LyXLength::MU case.
8660
8661 2002-10-16  John Levon  <levon@movementarian.org>
8662
8663         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8664
8665 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8666
8667         * converter.C (view): add support for $$i (file name) and $$p
8668         (file path) for the viewer command. If $$i is not specified, then
8669         it is appended to the command (for compatibility with old syntax)
8670
8671 2002-10-14  Juergen Vigna  <jug@sad.it>
8672
8673         * undo_funcs.C (textHandleUndo): alter the order in which the
8674         new undopar is added to the LyXText, as we have to set first
8675         the right prev/next and then add it as otherwise the rebuild of
8676         LyXText is not correct. Also reset the cursor to the right paragraph,
8677         with this IMO we could remove the hack in "redoParagraphs()".
8678
8679 2002-10-09  Angus Leeming  <leeming@lyx.org>
8680
8681         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8682         to turn off an optimisation if a new inset is to be inserted.
8683
8684 2002-10-11 André Pönitz <poenitz@gmx.net>
8685
8686         * lyxtext.h: make some functions public to allow access
8687         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8688
8689 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8690
8691         * text3.C (dispatch): when changing layout, avoid an infinite loop
8692         [bug #652]
8693
8694 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8695
8696         * lyxrc.C (read): treat a viewer or converter command of "none" as
8697         if it were empty.
8698
8699         * MenuBackend.C (expandFormats): for an update, also allow the
8700         formats that are not viewable
8701
8702         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8703         script if it is newer than the lyxrc.defaults in user directory
8704
8705 2002-10-07 André Pönitz <poenitz@gmx.net>
8706
8707         * text.C: Vitaly Lipatov's small i18n fix
8708
8709 2002-09-25  Angus Leeming  <leeming@lyx.org>
8710
8711         * ispell.h: doxygen fix.
8712
8713 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8714
8715         * buffer.h (readFile): Add a new argument to the method, to allow
8716         reading of old-format templates.
8717
8718 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8719
8720         * toc.C (getTocList): Get TOC from InsetWrap.
8721
8722 2002-09-16  John Levon  <levon@movementarian.org>
8723
8724         * lyxfunc.C: check tabular for cut/copy too
8725
8726 2002-09-12  John Levon  <levon@movementarian.org>
8727
8728         * LyXAction.C: tidy
8729
8730         * factory.h:
8731         * factory.C: add header
8732
8733         * paragraph_funcs.h:
8734         * paragraph_funcs.C: cleanup
8735
8736 2002-09-11  John Levon  <levon@movementarian.org>
8737
8738         * PrinterParams.h: odd/even default to true
8739
8740 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8741
8742         * PrinterParams.h: update printer parameters for new xforms dialog
8743
8744 2002-09-11  Angus Leeming  <leeming@lyx.org>
8745
8746         * lyxserver.C (read_ready): re-write to make it more transparent
8747         and to make it work in coherent fashion under Tru64 Unix.
8748
8749 2002-09-11  André Pönitz <poenitz@gmx.net>
8750
8751         * commandtags.h:
8752         * LyXAction.C:
8753         * text3.C: implement LFUN_WORDSEL
8754
8755 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8756
8757         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8758         make floatlist_ a boost::shared_ptr<FloatList>
8759
8760         * lyxtextclass.C: include FloatList.h
8761         (LyXTextClass): initialize floatlist_
8762         (TextClassTags): add TC_NOFLOAT
8763         (Read): match "nofloat" to TC_NOFLOAT and use it.
8764         (readFloat): modify call to floatlist_
8765         (floats): ditto
8766         (floats): ditto
8767
8768         * FloatList.[Ch] (FloatList): remove commented out float
8769         initialization.
8770         (erase): new function
8771
8772 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8773
8774         * MenuBackend.C (expandToc): fix crash when there is no document
8775         open
8776
8777 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8778
8779         * many files: Add insetwrap.
8780
8781 2002-09-09  John Levon  <levon@movementarian.org>
8782
8783         * text2.C: remove confusing and awkward depth wraparound
8784
8785 2002-09-09  John Levon  <levon@movementarian.org>
8786
8787         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8788
8789         * buffer.h:
8790         * buffer.C: remove getIncludeonlyList()
8791
8792         * paragraph.C:
8793         * lyxfunc.C: remove headers
8794
8795 2002-09-09  Juergen Vigna  <jug@sad.it>
8796
8797         * text.C (getColumnNearX): fix form Michael this is most
8798         probably a cut&paste bug.
8799
8800 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8801
8802         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8803
8804         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8805         references, ws changes.
8806
8807         * text2.C (init): update counters after init
8808         (insertParagraph): no need to set counter on idividual paragraphs.
8809         (setCounter): access the counters object in the textclass object
8810         on in the buffer object.
8811         (updateCounters): ditto
8812
8813         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8814         shared_ptr<Counters> to avoid loading counters.h in all
8815         compilation units.
8816         (LyXTextClass): initialize ctrs_
8817         (TextClassTags): add TC_COUNTER, and ...
8818         (Read): use it here.
8819         (CounterTags): new tags
8820         (readCounter): new function
8821         (counters): new funtion
8822         (defaultLayoutName): return a const reference
8823
8824         * counters.C (Counters): remove contructor
8825         (newCounter): remove a couple of unneeded statements.
8826         (newCounter): simplify a bit.
8827         (numberLabel): some small formatting changes.
8828
8829         * buffer.[Ch]: remove all traces of counters, move the Counters
8830         object to the LyXTextClass.
8831
8832 2002-09-06  Alain Castera  <castera@in2p3.fr>
8833
8834         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8835         package to set the horizontal alignment on fixed width columns.
8836
8837         * lyx_sty.C:
8838         * lyx_sty.h: added tabularnewline macro def.
8839
8840         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8841
8842 2002-09-06  John Levon  <levon@movementarian.org>
8843
8844         * LyXAction.C: tooltips for sub/superscript
8845
8846         * MenuBackend.C: a bit more verbose
8847
8848         * lyxfunc.C: tiny clean
8849
8850         * undo_funcs.C: document undo_frozen
8851
8852 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8853
8854         * counters.C (Counters): add missing algorithm counter.
8855
8856         * text2.C (setCounter): lookup the counter with layouts latexname
8857         instead of by section number.
8858         (setCounter): use a hackish way to lookup the correct enum
8859         counter.
8860         a float name->type change
8861         reset enum couners with counter name directly instead of depth value.
8862
8863         * counters.C (Counters): remove the push_backs, change to use the
8864         float type not the float name.
8865         (labelItem): remove unused string, float name->type change
8866
8867         * counters.h: don't include vector, loose the enums and sects vectors
8868
8869 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8870
8871         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8872         (Read): add float->TC_FLOAT to textclassTags
8873         (Read): and handle it in the switch
8874         (readFloat): new function
8875
8876         * FloatList.C (FloatList): comment out the hardcoded float
8877         definitions.
8878
8879         * lyxlayout.h: ws change.
8880
8881 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8882
8883         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8884
8885 2002-09-03  Angus Leeming  <leeming@lyx.org>
8886
8887         * BufferView_pimpl.h: qualified name is not allowed in member
8888         declaration: WorkArea & Pimpl::workarea() const;
8889
8890         * factory.C: added using std::endl directive.
8891
8892         * text3.C: added using std::find and std::vector directives.
8893
8894 2002-08-29  André Pönitz <poenitz@gmx.net>
8895
8896         * lyxtext.h:
8897         * text2.C: remove unused member number_of_rows
8898
8899         * Makefile.am:
8900         * BufferView2.C: remove file, move contents to...
8901         * BufferView.C: ... here
8902
8903         * BufferView_pimpl.C:
8904         * factory.C: move more inset creation to factory
8905
8906         * vspace.C: avoid direct usage of LyXText, ws changes
8907
8908         * BufferView.[Ch]:
8909                 don't provide direct access to WorkArea, use two simple
8910                 acessors haveSelction() and workHeight() instead
8911
8912
8913 2002-08-29  John Levon  <levon@movementarian.org>
8914
8915         * BufferView_pimpl.C (dispatch): do not continue when
8916           no buffer
8917
8918 2002-08-28  André Pönitz <poenitz@gmx.net>
8919
8920         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8921
8922         * BufferView.h:
8923         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8924
8925 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8926
8927         * buffer.C: increment LYX_FORMAT to 221
8928
8929         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8930         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8931
8932         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8933
8934         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8935
8936 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8937
8938         * factory.C (createInset): use LyXTextClass::floats
8939
8940         * MenuBackend.C (expandFloatListInsert):
8941         (expandFloatInsert):
8942         (expandToc):
8943
8944         * text2.C (setCounter):
8945
8946         * LaTeXFeatures.C (useFloat):
8947         (getFloatDefinitions):
8948
8949         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8950
8951         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8952         floatlist_, with accessor floats().
8953
8954         * FloatList.h: remove global FloatList
8955
8956 2002-08-26  André Pönitz <poenitz@gmx.net>
8957
8958         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8959
8960         * BufferView.h:
8961         * BufferView2.C:
8962         * BufferView_pimpl.C:
8963         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8964
8965 2002-08-25  John Levon  <levon@movementarian.org>
8966
8967         * LyXAction.C: fix margin note description
8968
8969 2002-08-24  John Levon  <levon@movementarian.org>
8970
8971         * buffer.C:
8972         * bufferlist.C:
8973         * bufferview_funcs.C:
8974         * lyxfont.C:
8975         * undo_funcs.C: cleanups
8976
8977         * lyxfunc.C: disable CUT/COPY when no selection
8978
8979 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8980
8981         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8982         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8983
8984         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8985         Add backward compatibility to "mono", "gray" and "no".
8986
8987 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8988
8989         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8990         (and file_format >= 200).
8991
8992 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8993
8994         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8995
8996 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8997
8998         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8999
9000 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9001
9002         * BufferView_pimpl.C:
9003         * LyXAction.C:
9004         * buffer.C:
9005         * commandtags.h:
9006         * lyxfunc.C:
9007         * paragraph.[Ch]:
9008         * text2.C:
9009         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9010         inset and code to make it  work with the paragraph code. The inset
9011         can be anywhere in the paragraph, but will only do the expected
9012         thing in LaTeX if the layout file contains the parameter line
9013                         OptionalArgs    1
9014         (or more generally, a nonzero value) for that layout.
9015
9016 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9017
9018         * paragraph.h: remove the declaration of undefined counters class
9019         function.
9020
9021 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9022
9023         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9024         Dr. Richard Hawkins.
9025
9026 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9027
9028         * paragraph_funcs.h: remove some unneeded includes
9029
9030         * text.C (backspace): pasteParagraph now in global scipe
9031
9032         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9033         (pasteSelection): ditto
9034
9035         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9036         * paragraph_funcs.C (pasteParagraph): ... here
9037
9038 2002-08-20  André Pönitz <poenitz@gmx.net>
9039
9040         * commandtags.h: new LFUNs for swapping/copying table row/colums
9041
9042         * LyXAction.C:
9043         * lyxfunc.C: support for new lfuns
9044
9045 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9046
9047         * tabular.C:
9048         * buffer.[Ch]: remove NO_COMPABILITY stuff
9049
9050 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9051
9052         * boost.C (throw_exception): new file, with helper function for
9053         boost compiled without exceptions.
9054
9055         * paragraph.h:
9056         * lyxlength.C:
9057         * buffer.C:
9058         * ParameterStruct.h:
9059         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9060
9061         * bufferlist.C (emergencyWriteAll): use boost bind
9062
9063         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9064
9065         * text.C: include paragraph_funcs.h
9066         (breakParagraph): breakParagraph is now in global scope
9067
9068         * paragraph_funcs.[Ch]: new files
9069
9070         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9071         global scope
9072
9073         * buffer.C: include paragraph_funcs.h
9074         (insertStringAsLines): breakParagraph is now in global scope
9075
9076         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9077         paragraph_funcs.C
9078
9079         * CutAndPaste.C: include paragraph_funcs.h
9080         (cutSelection): breakParagraphConservative is now in global scope
9081         (pasteSelection): ditto
9082
9083         * buffer.h: declare oprator== and operator!= for
9084         Buffer::inset_iterator
9085
9086         * bufferlist.C (emergencyWrite): don't use fmt(...)
9087
9088         * text3.C: add using std::endl
9089
9090         * BufferView.C (moveCursorUpdate): remove default arg
9091
9092 2002-08-20  André Pönitz <poenitz@gmx.net>
9093
9094         * buffer.[Ch]: move inline functions to .C
9095
9096         * BufferView2.C:
9097         * BufferView_pimpl.C:
9098         * text.C:
9099         * buffer.[Ch]: use improved inset_iterator
9100
9101         * buffer.C:
9102         * paragraph.[Ch]: write one paragraph at a time
9103
9104 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9105
9106         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9107         style if style is not specified.
9108
9109 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9110
9111         * text2.C (setCounter): when searching for right label for a
9112         caption, make sure to recurse to parent insets (so that a caption
9113         in a minipage in a figure float works) (bug #568)
9114
9115 2002-08-20  André Pönitz <poenitz@gmx.net>
9116
9117         * text3.C: new file for LyXText::dispatch() and helpers
9118
9119         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9120
9121         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9122
9123 2002-08-19  André Pönitz <poenitz@gmx.net>
9124
9125         * lyxtext.h:
9126         * text.C: new LyXText::dispatch()
9127
9128         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9129
9130 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9131
9132         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9133
9134         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9135         Hebrew text.
9136
9137 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9138
9139         * Makefile.am: use $(variables) instead of @substitutions@
9140
9141 2002-08-15  André Pönitz <poenitz@gmx.net>
9142
9143         * lyxfunc.C:
9144         * BufferView_pimpl.C: streamlining mathed <-> outer world
9145         interaction
9146
9147         * commandtags.h:
9148         * LyXAction.C: remove unused LFUN_MATH
9149
9150 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9151
9152         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9153
9154 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9155
9156         * paragraph.C (Paragraph): reformat a bit
9157         (cutIntoMinibuffer): use builtin InsetList function instad of
9158         doing it manually.
9159         (getInset): ditto
9160
9161         * buffer.C: include boost/bind.hpp, add using std::for_each
9162         (writeFileAscii): use ParagraphList iterators
9163         (validate): use for_each for validate traversal of paragraphs
9164         (getBibkeyList): use ParagraphList iterators
9165         (resizeInsets): use for_each to resizeInsetsLyXText for all
9166         paragraphs.
9167         (getParFromID): use ParagraphList iterators
9168
9169         * BufferView2.C (lockInset): use paragraph list and iterators
9170
9171 2002-08-14  John Levon  <levon@movementarian.org>
9172
9173         * lyxserver.C: remove spurious xforms include
9174
9175 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9176
9177         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9178
9179 2002-08-13  André Pönitz <poenitz@gmx.net>
9180
9181         * LyXAction.[Ch]:
9182         * lyxfunc.C: further cleaning
9183
9184 2002-08-13  André Pönitz <poenitz@gmx.net>
9185
9186         * funcrequest.h: new constructor
9187
9188         * funcrequest.C: move stuff here from .h
9189
9190         * Makefile.am:
9191         * BufferView_pimpl.C:
9192         * LyXAction.C:
9193         * toc.C:
9194         * lyxfunc.C: subsequent changes
9195
9196         * lyxfunc.h: new view() member function
9197
9198         * lyxfunc.C: subsequent changes
9199
9200 2002-08-13  Angus Leeming  <leeming@lyx.org>
9201
9202         * BufferView2.C:
9203         * BufferView_pimpl.C:
9204         * buffer.C:
9205         * converter.C:
9206         * importer.C:
9207         * lyxfunc.C:
9208         * lyxvc.C:
9209         * toc.C:
9210         * vc-backend.C:
9211         changes due to the changed LyXView interface that now returns references
9212         to member variables not pointers.
9213
9214 2002-08-13  Angus Leeming  <leeming@lyx.org>
9215
9216         * WordLangTuple (word, lang_code): return references to strings,
9217         not strings.
9218
9219         * BufferView.h:
9220         * SpellBase.h:
9221         * lyxtext.h: forward-declare WordLangTuple.
9222
9223         * BufferView2.C:
9224         * ispell.C:
9225         * pspell.C:
9226         * text.C: #include "WordLangTuple.h".
9227
9228         * lyxtext.h:
9229         * text.C: (selectNextWordToSpellcheck): constify return type.
9230
9231 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9232
9233         * buffer.C:
9234         * buffer.h:
9235         * lyxtext.h:
9236         * paragraph.C:
9237         * paragraph_pimpl.h:
9238         * text.C:
9239         * text2.C:
9240         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9241         suggested by Angus.
9242         Made updateCounter always count from start of buffer, and removed
9243         second argument (par).
9244         Reverted floats number display to '#'. Perhaps I'll try again when the
9245         code base is sanitized a bit.
9246
9247 2002-08-12  Angus Leeming  <leeming@lyx.org>
9248
9249         * buffer.[Ch] (getLabelList): constify.
9250
9251 2002-08-07  André Pönitz <poenitz@gmx.net>
9252
9253         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9254
9255         * funcrequest.h: extension to keep mouse (x,y) position
9256
9257 2002-08-12  Juergen Vigna  <jug@sad.it>
9258
9259         * BufferView2.C (insertErrors): forbid undo when inserting error
9260         insets.
9261
9262         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9263
9264 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9265
9266         * ParagraphList.[Ch]: new files
9267
9268         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9269
9270         * BufferView2.C (lockInset): ParagraphList changes
9271         * toc.C: ditto
9272         * text2.C: ditto
9273         * bufferlist.C: ditto
9274         * buffer.h: ditto
9275         * buffer.C: ditto
9276
9277 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9278
9279         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9280         unused class variable counter_,
9281
9282         * paragraph.[Ch] (getFirstCounter): delete unused function
9283
9284         * counters.C: include LAssert.h
9285         (reset): add a new function with no arg, change other version to
9286         not have def. arg and to not allow empty arg.
9287
9288         * text2.C (setCounter): remove empty arg from call to Counters::reset
9289
9290 2002-08-11  John Levon  <levon@movementarian.org>
9291
9292         * Makefile.am: add WordLangTuple.h
9293
9294 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9295
9296         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9297         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9298
9299         * insets/insettext.C: InsetList changes
9300
9301         * graphics/GraphicsSupport.C (operator()): InsetList changes
9302
9303         * toc.C (getTocList): InsetList changes
9304
9305         * paragraph_pimpl.[Ch]: InsetList changes
9306
9307         * paragraph.[Ch]: InsetList changes
9308
9309         * buffer.C (inset_iterator): InsetList changes
9310         (setParagraph): ditto
9311         * buffer.h (inset_iterator): ditto
9312         * iterators.C (operator++): ditto
9313         * iterators.h: ditto
9314
9315         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9316
9317         * InsetList.[Ch]: new files, most InsetList handling moved out of
9318         paragraph.C.
9319
9320         * BufferView2.C (removeAutoInsets): InsetList changes
9321         (lockInset): ditto
9322         (ChangeInsets): ditto
9323
9324 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9325
9326         * paragraph_pimpl.h (empty): new function
9327
9328         * paragraph.[Ch] (empty): new function
9329
9330         * other files: use the new Paragraph::empty function
9331
9332 2002-08-09  John Levon  <levon@movementarian.org>
9333
9334         * lyxtext.h: remove unused refresh_height
9335
9336 2002-08-09  John Levon  <levon@movementarian.org>
9337
9338         * Makefile.am:
9339         * sgml.h:
9340         * sgml.C:
9341         * buffer.C:
9342         * paragraph.h:
9343         * paragraph.C: move sgml char escaping out of paragraph
9344
9345         * paragraph.h:
9346         * paragraph.C: remove id setter
9347
9348         * buffer.C:
9349         * paragraph.C:
9350         * paragraph_pimpl.C: remove dead tex_code_break_column
9351
9352         * bufferview_funcs.C: small cleanup
9353
9354         * lyxfunc.C: remove dead proto
9355
9356         * lyxtext.h: make some stuff private. Remove some dead stuff.
9357
9358         * lyxgluelength.C: make as[LyX]String() readable
9359
9360 2002-08-08  John Levon  <levon@movementarian.org>
9361
9362         * LyXAction.h:
9363         * LyXAction.C:
9364         * MenuBackend.C:
9365         * ToolbarDefaults.C:
9366         * lyxfunc.C:
9367         * lyxrc.C:
9368         * toc.C: lyxaction cleanup
9369
9370 2002-08-08  John Levon  <levon@movementarian.org>
9371
9372         * BufferView2.C: small cleanup
9373
9374         * lyxfind.h:
9375         * lyxfind.C: move unnecessary header into the .C
9376
9377 2002-08-08  John Levon  <levon@movementarian.org>
9378
9379         * funcrequest.h: just tedious nonsense
9380
9381         * lyx_main.h:
9382         * lyx_main.C: cleanups
9383
9384         * buffer.C:
9385         * vspace.C: remove dead header lyx_main.h
9386
9387 2002-08-07  Angus Leeming  <leeming@lyx.org>
9388
9389         * Paragraph.[Ch]:
9390         * paragraph_pimpl.h:
9391         Forward declare class Counters in paragraph.h by moving the ctrs member
9392         variable into Paragraph::Pimpl.
9393         (counters): new method, returning a reference to pimpl_->ctrs.
9394
9395         * text2.C: ensuing changes.
9396
9397 2002-08-07  John Levon  <levon@movementarian.org>
9398
9399         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9400
9401         * BufferView_pimpl.C: announce X selection on double/triple
9402           click
9403
9404         * lyx_main.C: use correct bool in batch dispatch
9405
9406         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9407
9408 2002-08-07  André Pönitz <poenitz@gmx.net>
9409
9410         * funcrequest.h: new class to wrap a kb_action and its argument
9411
9412         * BufferView.[Ch]:
9413         * BufferView_pimpl[Ch]:
9414         * LaTeX.C:
9415         * LyXAction.[Ch]:
9416         * lyxfunc.[Ch]:
9417         * lyxrc.C: subsequent changes
9418
9419
9420 2002-08-07  John Levon  <levon@movementarian.org>
9421
9422         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9423           document options change.
9424
9425 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9426
9427         * counters.[Ch]
9428         * text2.C
9429         * paragraph.[Ch]
9430         * makefile.am: move counters functionality over from
9431         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9432
9433 2002-08-06  John Levon  <levon@movementarian.org>
9434
9435         * WordLangTuple.h: new file for word + language code tuple
9436
9437         * SpellBase.h:
9438         * pspell.h:
9439         * pspell.C:
9440         * ispell.h:
9441         * ispell.C:
9442         * lyxtext.h:
9443         * text.C:
9444         * text2.C:
9445         * BufferView.h:
9446         * BufferView2.C: use WordLangTuple
9447
9448         * layout.h:
9449         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9450
9451 2002-08-06  John Levon  <levon@movementarian.org>
9452
9453         * lyx_main.C: fix cmdline batch handling
9454
9455 2002-08-06  André Pönitz <poenitz@gmx.net>
9456
9457         * lyxrc.C: set default for show_banner to true
9458
9459 2002-08-06  John Levon  <levon@movementarian.org>
9460
9461         * pspell.C: fix a crash, and allow new aspell to work
9462
9463 2002-08-06  John Levon  <levon@movementarian.org>
9464
9465         * lyxfunc.C:
9466         * kbmap.C: small cleanup
9467
9468         * vspace.h:
9469         * vspace.C: add const
9470
9471 2002-08-05  John Levon  <levon@movementarian.org>
9472
9473         * LyXAction.C: back to tabular-insert
9474
9475 2002-08-04  John Levon  <levon@movementarian.org>
9476
9477         * BufferView.h:
9478         * BufferView.C: cosmetic change
9479
9480         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9481
9482         * bufferlist.C:
9483         * buffer.h:
9484         * buffer.C:
9485         * lyxcb.h:
9486         * lyxcb.C:
9487         * lyxserver.C:
9488         * lyxvc.C:
9489         * vc-backend.C:
9490         * BufferView2.C: purge all "Lyx" not "LyX" strings
9491
9492         * lyxcursor.h:
9493         * lyxcursor.C: attempt to add some documentation
9494
9495         * lyxfunc.C:
9496         * commandtags.h:
9497         * LyXAction.C:
9498         * ToolbarDefaults.C:
9499         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9500           merge with LFUN_TABULAR_INSERT
9501
9502         * Makefile.am:
9503         * SpellBase.h:
9504         * ispell.h:
9505         * ispell.C:
9506         * pspell.h:
9507         * pspell.C: split up i/pspell implementations into separate
9508           files, many cleanups
9509
9510         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9511
9512         * text2.C: some cleanup
9513
9514         * lyxfunc.C: don't check for isp_command == "none" any more, it
9515           didn't make any sense
9516
9517 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9518
9519         * counters.[Ch]
9520         * text2.C
9521         * paragraph.[Ch]
9522         * makefile.am: move counters functionality over
9523         from text2.C/paragraph.[Ch] to counters.[Ch], and
9524         make proper C++.
9525 2002-08-02  John Levon  <levon@movementarian.org>
9526
9527         * buffer.C: s/lyxconvert/lyx2lyx/
9528
9529 2002-08-02  Angus Leeming  <leeming@lyx.org>
9530
9531         * lyxlex.C: revert John's change as it breaks reading of the user
9532         preamble.
9533
9534 2002-08-02  Angus Leeming  <leeming@lyx.org>
9535
9536         * importer.C (Import):
9537         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9538         changes due to LyXView::view() now returning a boost::shared_ptr.
9539
9540 2002-08-02  John Levon  <levon@movementarian.org>
9541
9542         * lyxlex.C: small cleanup
9543
9544 2002-08-02  John Levon  <levon@movementarian.org>
9545
9546         * text2.C (status): small cleanup, no logic change
9547
9548 2002-08-01  John Levon  <levon@movementarian.org>
9549
9550         * buffer.h:
9551         * buffer.C (writeFile): don't output alerts, caller
9552           handles this
9553
9554         * bufferlist.C:
9555         * lyx_cb.C: from above
9556
9557         * lyxfunc.C: allow to open non-existent files
9558
9559 2002-07-31  John Levon  <levon@movementarian.org>
9560
9561         * lyxserver.C: don't let incidental errors get
9562           in the way (errno)
9563
9564 2002-07-30  John Levon  <levon@movementarian.org>
9565
9566         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9567
9568 2002-07-30  John Levon  <levon@movementarian.org>
9569
9570         * lyxserver.h:
9571         * lyxserver.C: remove I/O callback too
9572
9573 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9574
9575         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9576         log.
9577
9578 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9579
9580         * many files: strip,frontStrip -> trim,ltrim,rtrim
9581
9582 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9583
9584         * PrinterParams.h: remove extern containsOnly, and include
9585         support/lstrings.h instead.
9586
9587         * LaTeX.C (scanAuxFile): modify because of strip changes
9588         (deplog): ditto
9589         * buffer.C (makeLaTeXFile): ditto
9590         * bufferparams.C (writeFile): ditt
9591         * lyxfont.C (stateText): ditto
9592         * lyxserver.C (read_ready): ditto
9593         * vc-backend.C (scanMaster): ditto
9594
9595         * BufferView_pimpl.h: ws changes
9596
9597         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9598
9599 2002-07-26  André Pönitz <poenitz@gmx.net>
9600
9601         * kb_sequence.C: remove unnedred usings
9602
9603 2002-07-26  Juergen Vigna  <jug@sad.it>
9604
9605         * lyxfind.C (LyXReplace): we have to check better if the returned
9606         text is not of theLockingInset()->getLockingInset().
9607
9608 2002-07-25  Juergen Vigna  <jug@sad.it>
9609
9610         * lyxfind.C (LyXReplace): don't replace if we don't get the
9611         right LyXText.
9612
9613         * undo_funcs.C (createUndo): remove debugging code.
9614
9615 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9616
9617         * buffer.C (parseSingleLyXformat2Token): Use default placement
9618         when reading old floats.
9619
9620         * FloatList.C (FloatList): Change the default placement of figure
9621         and tables to "tbp".
9622
9623 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9624
9625         * MenuBackend.C: using std::max
9626
9627 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9628
9629         * MenuBackend.C (expandToc):
9630         (expandToc2): code moved from xforms menu frontend. It is now
9631         generic and TOCs are transparent to menu frontends.
9632
9633 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9634
9635         * toc.C (getTocList): protect against buf=0
9636
9637         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9638         Menu as first parameter. Now, this calls itself recursively to
9639         expand a whole tree (this will be useful for TOC handling)
9640         (expandFloatInsert): remove 'wide' version of floats
9641
9642         * MenuBackend.h (submenuname): returns the name of the submenu.
9643         (submenu): returns the submenu itself, provided it has been
9644         created by MenuBackend::expand
9645
9646 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9647
9648         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9649         insets which have noFontChange == true. (bug #172)
9650
9651 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9652
9653         * BufferView_pimpl.C: add connection objects and use them...
9654         (Pimpl): here.
9655
9656 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9657
9658         * MenuBackend.C (expandLastfiles):
9659         (expandDocuments):
9660         (expandFormats):
9661         (expandFloatListInsert):
9662         (expandFloatInsert):
9663         (expand): split expand in parts
9664
9665 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9666
9667         * lyx_gui.C: use lyx_gui::exit()
9668
9669 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9670
9671         * LyXAction.C: show the failing pseudo action
9672
9673 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9674
9675         * buffer.C (readFile): Run the lyxconvert script in order to read
9676         old files.
9677
9678 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9679
9680         * LyXAction.C:
9681         * commandtags.h:
9682         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9683
9684 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9685
9686         * LyXAction.C:
9687         * commandtags.h:
9688         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9689
9690 2002-07-22  Herbert Voss  <voss@lyx.org>
9691
9692         * lengthcommon.C:
9693         * lyxlength.[Ch]: add support for the vertical lengths
9694
9695 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9696
9697         * toc.[Ch]: std:: fixes
9698
9699 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9700
9701         * lyxrc.C: do not include lyx_main.h
9702
9703         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9704         for layouts
9705
9706         * lyxrc.C:
9707         * encoding.C:
9708         * bufferlist.C:
9709         * BufferView2.C: include "lyxlex.h"
9710
9711         * tabular.h:
9712         * bufferparams.h: do not #include "lyxlex.h"
9713
9714         * lyxtextclasslist.C (Add): remove method
9715         (classlist): renamed to classlist_
9716
9717         * paragraph_pimpl.C:
9718         * paragraph.C:
9719         * text2.C:
9720         * CutAndPaste.C:
9721         * bufferview_funcs.C:
9722         * bufferlist.C:
9723         * text.C:
9724         * LaTeXFeatures.C:
9725         * buffer.C:
9726         * toc.C (getTocList): use BufferParams::getLyXTextClass
9727
9728         * toc.C (getTocList): use InsetFloat::addToToc
9729
9730         * toc.[Ch]: new files, containing helper functions to handle table
9731         of contents
9732
9733         * lyxfunc.C (dispatch): no need to remove spaces around command
9734         given as a string
9735         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9736         first command of the sequence; it is not very clever, but I do not
9737         have a better idea, actually
9738
9739         * LyXAction.C (LookupFunc): make sure to remove space at the
9740         beginning and end of the command
9741
9742 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9743
9744         * MenuBackend.C (getMenubar): new method: return the menubar of
9745         this menu set
9746         (read): treat differently reading of menu and menubar (in
9747         particular, the menubar has no name now)
9748         (Menu::menubar): remove
9749
9750         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9751         saving is finished
9752
9753 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9754
9755         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9756         a bibitem inset in a RTL paragraph.
9757
9758 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9759
9760         * paragraph_pimpl.C: constify
9761
9762         * BufferView_pimpl.C:
9763         * LaTeX.C:
9764         * lyxfunc.C: fix dispatch in a nicer way
9765
9766 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9767
9768         * lyxfunc.C (dispatch):
9769         * BufferView_pimpl.C:
9770         * BufferView_pimpl.h:
9771         * BufferView.C:
9772         * BufferView.h: rename Dispatch() to dispatch()
9773
9774         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9775
9776         * lyxlayout.C (Read): honor DependsOn tag
9777
9778         * lyxlayout.[Ch] (depends_on): new method
9779
9780         * version.C.in: update lyx_docversion
9781
9782         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9783
9784         * paragraph.C (validate): remove from here...
9785         * paragraph_pimpl.C (validate): ... and move here
9786         (isTextAt): make it const
9787
9788         * buffer.C (getLists): ws cleanup
9789
9790 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9791
9792         * language.C (read): Use iso8859-1 encoding in latex_lang
9793         (this prevents LyX from crashing when using iso10646-1 encoding).
9794
9795 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9796
9797         * text2.C (toggleInset): if cursor is inside an inset, close the
9798         inset and leave cursor _after_ it
9799
9800 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9801
9802         * lyxfunc.C: move minibuffer completion handling out of here
9803
9804 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9805
9806         * BufferView_pimpl.C:
9807         * LaTeX.C: fix dispatch calls
9808
9809 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9810
9811         * text.C (drawChars): Fix Arabic text rendering.
9812
9813 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9814
9815         * LyXAction.C:
9816         * commandtags.h:
9817         * lyxfunc.C: remove message-push/pop
9818
9819         * lyxserver.C:
9820         * lyxfunc.h:
9821         * lyxfunc.C: rationalise some code by removing verboseDispatch
9822           in favour of a bool argument to dispatch()
9823
9824 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9825
9826         * lyx_main.C (init): make sure to read symlinks as absolute paths
9827
9828 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9829
9830         * lyxfunc.h:
9831         * lyxfunc.C: no need for commandshortcut to be a member
9832
9833 2002-07-15  André Pönitz <poenitz@gmx.net>
9834
9835         * converter.C: add support for $$s (scripts from lib/scripts dir)
9836         * lyx_main.C: white space
9837
9838 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9839
9840         * bufferlist.C:
9841         * lyxrc.h:
9842         * lyxrc.C: remove second exit confirmation
9843
9844 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9845
9846         * BufferView.h:
9847         * BufferView.C:
9848         * BufferView2.C:
9849         * BufferView_pimpl.h:
9850         * BufferView_pimpl.C:
9851         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9852
9853 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9854
9855         * MenuBackend.C (expand): add numeric shortcuts to document menu
9856
9857         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9858
9859 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9860
9861         * lyxfont.C (setLyXFamily):
9862         (setLyXSeries):
9863         (setLyXShape):
9864         (setLyXSize):
9865         (setLyXMisc):
9866         (lyxRead):
9867         * debug.C (value):
9868         * buffer.C (asciiParagraph): use ascii_lowercase
9869
9870 2002-07-15  Mike Fabian  <mfabian@suse.de>
9871
9872         * lyxlex_pimpl.C (search_kw):
9873         * lyxlex.C (getLongString):
9874         * converter.h (operator<):
9875         * converter.C (operator<):
9876         * buffer.C (parseSingleLyXformat2Token):
9877         (asciiParagraph):
9878         * ToolbarDefaults.C (read):
9879         * MenuBackend.C (checkShortcuts):
9880         (read):
9881         * LColor.C (getFromGUIName):
9882         (getFromLyXName): use the compare_ascii_no_case instead of
9883         compare_no_case, because in turkish, 'i' is not the lowercase
9884         version of 'I', and thus turkish locale breaks parsing of tags.
9885
9886 2002-07-16  Angus Leeming  <leeming@lyx.org>
9887
9888         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9889         now takes a Buffer const & argument.
9890
9891 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9892
9893         * BufferView.C (resize): check there's a buffer to resize
9894
9895 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9896
9897         * lyxfunc.C: remove dead code
9898
9899         * lyxserver.h:
9900         * lyxserver.C: use lyx_guii::set_read_callback
9901
9902 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9903
9904         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9905         an inset in a RTL paragraph.
9906
9907 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9908
9909         * lyxfunc.C: repaint after a font size update
9910
9911 2002-07-15  André Pönitz <poenitz@gmx.net>
9912
9913         * lyxlength.C: inBP should be able to return negative values
9914
9915 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9916
9917         * lyxfunc.C: use lyx_gui::update_fonts()
9918
9919 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9920
9921         * lyxfunc.C: use lyx_gui::update_color()
9922
9923 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9924
9925         * bufferlist.C:
9926         * lyxfunc.h:
9927         * lyxfunc.C:
9928         * lyxrc.h:
9929         * lyxrc.C: remove file->new asks for name option, and let
9930           buffer-new take an argument
9931
9932 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9933
9934         * BufferView_pimpl.C: remove unneeded extra repaint()
9935
9936 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9937
9938         * LyXAction.C: allow command-sequence with NoBuffer
9939
9940         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9941
9942 2002-07-10  Angus Leeming  <leeming@lyx.org>
9943
9944         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9945
9946 2002-07-09  Angus Leeming  <leeming@lyx.org>
9947
9948         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9949
9950 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9951
9952         * lengthcommon.h: whitespace
9953
9954         * lyxfunc.C: update scrollbar after goto paragraph
9955
9956         * lyxtext.h: factor out page break drawing, and fix it so
9957           page break/added space paints as selected nicely
9958
9959 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9960
9961         * BufferView_pimpl.C: add FIXMEs, clean up a little
9962
9963 2002-07-09  André Pönitz <poenitz@gmx.net>
9964
9965         * lyxfont.[Ch]: support for wasy symbols
9966
9967 2002-07-08  André Pönitz <poenitz@gmx.net>
9968
9969         * BufferView_pimpl.C: apply John's patch for #93.
9970
9971 2002-07-05  Angus Leeming  <leeming@lyx.org>
9972
9973         * BufferView_pimpl.C (buffer): generate previews if desired.
9974
9975         * LColor.h: add "preview" to the color enum.
9976
9977         * LColor.C (LColor): add a corresponding entry to the items array.
9978
9979         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9980         with this buffer.
9981
9982 2002-07-05  Angus Leeming  <leeming@lyx.org>
9983
9984         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9985         The body of the code is now in the method that is passed an ostream &
9986         rather than a file name.
9987         Pass an additional only_preamble parameter, useful for the forthcoming
9988         preview stuff.
9989
9990 2002-07-03  André Pönitz <poenitz@gmx.net>
9991
9992         * lyxfunc.C: simplify getStatus() a bit for math stuff
9993
9994 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9995
9996         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9997
9998 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9999
10000         * text.C (changeRegionCase): do not change case of all the
10001         document when region ends at paragraph end (bug #461)
10002
10003 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10004
10005         * paragraph.C (startTeXParParams):
10006         (endTeXParParams): add \protect when necessary
10007
10008 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10009
10010         * BufferView_pimpl.C (workAreaExpose): remove warning
10011
10012 2002-06-27  Angus Leeming  <leeming@lyx.org>
10013
10014         * Makefile.am: add lyxlayout_ptr_fwd.h.
10015
10016 2002-06-26  André Pönitz <poenitz@gmx.net>
10017
10018         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10019
10020 2002-06-25  Angus Leeming  <leeming@lyx.org>
10021
10022         * lyxfunc.C (dispatch): Comment out the call to
10023         grfx::GCache::changeDisplay. The method no longer exists now that the
10024         pixmap generation part of the graphics loader has been moved into
10025         InsetGraphics.
10026
10027 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10028
10029         * text2.C: layout as layout
10030
10031         * text.C: layout as layout
10032
10033         * tabular.C (OldFormatRead): layout as layout
10034
10035         * paragraph_pimpl.C (TeXDeeper): layout as layout
10036         (realizeFont): layout as layout
10037
10038         * paragraph.C (writeFile): layout as layout
10039         (validate): layout as layout
10040         (getFont): layout as layout
10041         (getLabelFont): layout as layout
10042         (getLayoutFont): layout as layout
10043         (breakParagraph): layout as layout
10044         (stripLeadingSpaces): layout as layout
10045         (getEndLabel): layout as layout
10046         (getMaxDepthAfter): layout as layout
10047         (applyLayout): layout as layout
10048         (TeXOnePar): layout as layout
10049         (simpleTeXOnePar): layout as layout
10050         (TeXEnvironment): layout as layout
10051         (layout): layout as layout
10052         (layout): layout as layout
10053
10054         * lyxtextclass.C (compare_name): new functor to work with
10055         shared_ptr, layout as layout
10056         (Read): layout as layout
10057         (hasLayout): layout as layout
10058         (operator): layout as layout
10059         (delete_layout): layout as layout
10060         (defaultLayout): layout as layout
10061
10062         * lyxlayout_ptr_fwd.h: new file
10063
10064         * lyxlayout.C (Read): layout as layout
10065
10066         * lyx_cb.C (MenuInsertLabel): layout as layout
10067
10068         * bufferlist.C (newFile): layout as layout
10069
10070         * buffer.C (readLyXformat2): layout as layout
10071         (parseSingleLyXformat2Token): layout as layout
10072         (insertStringAsLines): layout as layout
10073         (asciiParagraph): layout as layout
10074         (latexParagraphs): layout as layout
10075         (makeLinuxDocFile): layout as layout
10076         (simpleLinuxDocOnePar): layout as layout
10077         (makeDocBookFile): layout as layout
10078         (simpleDocBookOnePar): layout as layout
10079         (getLists): layout as layout
10080
10081         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10082
10083         * CutAndPaste.C (cutSelection): layout as layout
10084         (pasteSelection): layout as layout
10085         (SwitchLayoutsBetweenClasses): layout as layout
10086
10087         * BufferView_pimpl.C (Dispatch): layout as layout
10088         (smartQuote): layout as layout
10089
10090         * BufferView2.C (unlockInset): layout as layout
10091
10092 2002-06-24  André Pönitz <poenitz@gmx.net>
10093
10094         * lyxfunc.C: fix #487
10095
10096 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10097
10098         * lyxrc.h:
10099         * lyxrc.C:
10100         * lyxfunc.C: remove display_shortcuts, show_banner
10101
10102 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * Buffer_pimpl.C: oops, update on resize
10105
10106 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * buffer.C:
10109         * converter.C:
10110         * exporter.C:
10111         * lyxfunc.C:
10112         * BufferView.h:
10113         * BufferView.C: use repaint()
10114
10115         * BufferView_pimpl.h:
10116         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10117           as it's a clearer description. Remove superfluous
10118           redraws.
10119
10120 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10121
10122         * text.C: fix bug 488. Not ideal, but getting
10123           getWord() to work properly for the insets that
10124           matter is more difficult ...
10125
10126 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10127
10128         * BufferView_pimpl.C:
10129         * LyXAction.C:
10130         * commandtags.h:
10131         * lyxfunc.C: remove the six million index lyxfuncs to just
10132           one, and DTRT (bug 458)
10133
10134 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10135
10136         * BufferView.h:
10137         * BufferView.C:
10138         * BufferView_pimpl.h:
10139         * BufferView_pimpl.C: clean up resize() stuff,
10140           and unnecessary updateScreen()s
10141
10142 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10143
10144         * BufferView.h:
10145         * BufferView.C:
10146         * BufferView_pimpl.h:
10147         * BufferView_pimpl.C:
10148         * lyxfind.h:
10149         * lyxfind.C:
10150         * minibuffer.C: remove focus management of workarea,
10151           not needed. Use screen's greyOut()
10152
10153 2002-06-17  Herbert Voss  <voss@lyx.org>
10154
10155         * converter.C: (convert) do not post a message, when converting
10156         fails, let the calling function decide what to do in this case
10157
10158 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10159
10160         * lyxfunc.C: tidy up a little
10161
10162 2002-06-16    <alstrup@diku.dk>
10163
10164         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10165         Got rid of FORMS_H_LOCATION include. Now we are
10166         GUII.
10167
10168 2002-06-15  LyX Development team  <lyx@rilke>
10169
10170         * buffer.[Ch] (sgmlOpenTag):
10171         (sgmlCloseTag): Added support for avoiding pernicious mixed
10172         content. Return number of lines written.
10173
10174         (makeLinuxDocFile):
10175         (makeDocBookFile): Fixed calls to sgml*Tag.
10176         Simple white space clean.
10177
10178         (simpleDocBookOnePar): Simple white space clean.
10179
10180         * tabular.[Ch] (docBook): Renamed to docbook and got another
10181         argument to related with the pernicious mixed content.
10182
10183         (docbookRow): Fixed calls for docbook inset method.
10184
10185 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10186
10187         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10188         so it's X11 independent.
10189
10190         * kb*.[Ch]: ditto.
10191
10192         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10193
10194 2002-06-15  Lyx Development team  <lyx@electronia>
10195
10196         * intl.h: Renamed getTrans to getTransManager.
10197
10198 2002-06-14  Angus Leeming  <leeming@lyx.org>
10199
10200         * Makefile.am: nuke forgotten stl_string_fwd.h.
10201
10202 2002-06-12  Angus Leeming  <leeming@lyx.org>
10203
10204         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10205
10206 2002-06-13  Angus Leeming  <leeming@lyx.org>
10207
10208         * LaTeX.C:
10209         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10210
10211 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10212
10213         * kbmap.C (getiso): add support for cyrillic and greek
10214
10215 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10216
10217         * BufferView.h:
10218         * BufferView.C:
10219         * BufferView_pimpl.h:
10220         * BufferView_pimpl.C: move bogus scrolling logic
10221           to xforms
10222
10223 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * lyxfunc.C:
10226         * BufferView_pimpl.C: view->resize() change
10227
10228 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10229
10230         * BufferView_pimpl.C: topCursorVisible
10231           prototype change
10232
10233 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10234
10235         * Makefile.am:
10236         * lyx_gui.h:
10237         * lyx_gui.C: move to frontends/
10238
10239         * main.C:
10240         * lyx_main.h:
10241         * lyx_main.C: changes from above
10242
10243 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10244
10245         * intl.C:
10246         * intl.h:
10247         * kbmap.C:
10248         * kbsequence.C:
10249         * lyx_cb.C:
10250         * lyx_main.C: minor tidy
10251
10252 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10253
10254         * BufferView_pimpl.h:
10255         * BufferView_pimpl.C:
10256         * BufferView.h:
10257         * BufferView.C: make painter() const,
10258           remove dead code
10259
10260         * BufferView2.C: use screen() accessor
10261
10262         * lyx_main.h:
10263         * lyx_main.C: some minor cleanup
10264
10265 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10266
10267         * BufferView_pimpl.h:
10268         * BufferView_pimpl.C: remove enter/leaveView,
10269           use workHeight()
10270
10271 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10272
10273         * BufferView.h:
10274         * BufferView.C:
10275         * BufferView2.C:
10276         * BufferView_pimpl.h:
10277         * BufferView_pimpl.C: only construct screen once,
10278           rename
10279
10280         * lyxrc.C: remove pointless comment
10281
10282 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10283
10284         * BufferView.h:
10285         * BufferView.C: remove active() and belowMouse()
10286
10287         * BufferView_pimpl.h:
10288         * BufferView_pimpl.C: use workarea() not workarea_,
10289           and make it use a scoped_ptr instead
10290
10291 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10292
10293         * lyx_gui.C: add debug message on BadWindow
10294
10295 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10296
10297         * sp_spell.C: fdopen is not part of the C++ standard.
10298
10299         * paragraph.C (InsetIterator): use >= instead of ==
10300
10301 2002-06-07  Angus Leeming  <leeming@lyx.org>
10302
10303         Fixes needed to compile with Compaq cxx 6.5.
10304         * BufferView_pimpl.C:
10305         * DepTable.C:
10306         * buffer.C:
10307         * converter.C:
10308         * encoding.C:
10309         * lyx_gui.C:
10310         * lyx_main.C:
10311         * lyxtextclasslist.C:
10312         * minibuffer.C:
10313         * sp_spell.C:
10314         * tabular_funcs.C:
10315         * vc-backend.C:
10316         all c-library variables have been moved into namespace std. Wrap
10317         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10318
10319         * lyxlength.C:
10320         * tabular-old.C:
10321         * tabular.C:
10322         Add a using std::abs declaration.
10323
10324         * kbmap.h (modifier_pair):
10325         * paragraph.h (InsetTable, InsetList):
10326         * lyxfont.h (FontBits):
10327         type definition made public.
10328
10329         * bufferlist.C (emergencyWriteAll): the compiler complains that
10330         there is more than one possible lyx::class_fun template to choose from.
10331         I re-named the void specialisation as lyx::void_class_fun.
10332
10333         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10334
10335         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10336         the compiler is is unable to find tostr in write_attribute.
10337
10338 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10339
10340         * buffer.C (sgmlError): hide #warning
10341
10342 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10343
10344         * xtl/*: get rid of xtl, which is not in use anyway
10345
10346         * LyXAction.C (init):
10347         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10348         were unimplemented xtl experimentation
10349
10350 2002-06-04  André Pönitz <poenitz@gmx.net>
10351
10352         * lyxfunc.C: disable array operation on simple formulae
10353
10354 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10355
10356         * converter.C: constify a bit
10357
10358 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10359
10360         * lyx_gui.C: check xforms version correctly
10361
10362 2002-04-30  Herbert Voss  <voss@lyx.org>
10363
10364         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10365         "keep" option
10366
10367 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10368
10369         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10370           attempt to register it with a VCS)
10371
10372 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10373
10374         * lyx_main.C (init): honor variables LYX_DIR_13x and
10375         LYX_USERDIR_13x
10376
10377 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * buffer.h:
10380         * buffer.C:
10381         * lyx_main.C: fix a crash on bad command line,
10382           and give a useful exit status on error
10383
10384         * lyxfunc.C (doImport): allow -i lyx to work
10385
10386 2002-03-30  André Pönitz <poenitz@gmx.net>
10387
10388         * lyxfunc.C: mathed font changes
10389
10390 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10391
10392         * LaTeX.C:
10393         * importer.h:
10394         * importer.C:
10395         * lyx_sty.h:
10396         * lyx_sty.C:
10397         * lyxlex.C:
10398         * lyxrow.h:
10399         * lyxtext.h:
10400         * paragraph.h:
10401         * paragraph.C:
10402         * texrow.h:
10403         * texrow.C:
10404         * text.C:
10405         * trans_mgr.h: srcdocs, and some minor cleanups
10406
10407 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10408
10409         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10410         call getFont all the time)
10411
10412 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10413
10414         * switch from SigC signals to boost::signals
10415
10416 2002-05-29  André Pönitz <poenitz@gmx.net>
10417
10418         * paragraph_pimpl.C (getChar): don't call size() too often...
10419
10420 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10421
10422         * paragraph_pimpl.C (insertChar): do not try to update tables when
10423         appending (pos == size())
10424
10425         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10426         in order to reduce drastically the number of comparisons needed to
10427         parse a large document
10428
10429 2002-05-29  André Pönitz <poenitz@gmx.net>
10430
10431         * text.C:
10432         * text2.C:
10433         * lyxtextclass.C:
10434         * sp_pspell.h:
10435         * textclasslist.[Ch]:
10436         * sp_ispell.h: whitespace change
10437
10438 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10439
10440         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10441         lyxaction directly now.
10442
10443 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * trans.C:
10446         * lyxfont.C:
10447         * lyxvc.C: remove unused headers
10448
10449 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * Makefile.am:
10452         * buffer.h:
10453         * undostack.h:
10454         * undostack.C:
10455         * undo_funcs.h:
10456         * undo_funcs.C: some cleanups. Use shared_ptr
10457           and a template for the undo stacks.
10458
10459 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10460
10461         * BufferView_pimpl.h:
10462         * BufferView_pimpl.C:
10463         * kbmap.h:
10464         * kbmap.C:
10465         * kbsequence.h:
10466         * kbsequence.C:
10467         * lyxfunc.h:
10468         * lyxfunc.C:
10469         * text2.C: use key_state/mouse_state
10470
10471 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10472
10473         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10474         and LSubstring
10475
10476         * chset.C: change include order
10477         (loadFile): use boost regex and get rid of LRegex and LSubstring
10478
10479         * Makefile.am (BOOST_LIBS): new variable
10480         (lyx_LDADD): use it
10481
10482         * LaTeX.C: change include order.
10483         (scanAuxFile): use boost regex and get rid of LRegex and
10484         LSubstring
10485         (deplog): ditto
10486
10487 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10488
10489         * ColorHandler.h:
10490         * ColorHandler.C:
10491         * FontInfo.h:
10492         * FontInfo.C: moved to frontends/xforms/
10493
10494         * FontLoader.h:
10495         * FontLoader.C: moved into frontends for GUIIzation
10496
10497         * Makefile.am:
10498         * lyx_gui.C:
10499         * lyxfont.C:
10500         * lyxfunc.C: changes from above
10501
10502 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10503
10504         * LColor.C: remove spurious X include
10505
10506         * BufferView_pimpl.C:
10507         * Makefile.am:
10508         * font.h:
10509         * font.C:
10510         * text.C:
10511         * text2.C: move font metrics to frontends/
10512
10513 2002-05-24  Juergen Vigna  <jug@sad.it>
10514
10515         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10516         setting the undo_cursor.
10517
10518         * ParagraphParameters.h: include local includes first.
10519
10520 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10521
10522         * BufferView_pimpl.C:
10523         * BufferView_pimpl.h:
10524         * Makefile.am:
10525         * WorkArea.h:
10526         * WorkArea.C:
10527         * screen.C: move WorkArea into frontends/
10528
10529         * lyxscreen.h:
10530         * screen.C:
10531         * text.C:
10532         * BufferView.C:
10533         * BufferView2.C: move LyXScreen into frontends/
10534
10535         * lyxlookup.h:
10536         * lyxlookup.C:
10537         * lyx_gui.C: move lyxlookup into frontends/xforms/
10538
10539 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10540
10541         * BufferView2.C:
10542         * BufferView_pimpl.C:
10543         * FontLoader.C:
10544         * LyXView.h:
10545         * LyXView.C:
10546         * Makefile.am:
10547         * WorkArea.C:
10548         * XFormsView.h:
10549         * XFormsView.C:
10550         * buffer.C:
10551         * bufferlist.C:
10552         * bufferview_funcs.C:
10553         * converter.C:
10554         * importer.C:
10555         * lyx_cb.C:
10556         * lyx_gui.C:
10557         * lyx_main.C:
10558         * lyx_find.C:
10559         * lyxfunc.C:
10560         * lyxvc.C:
10561         * minibuffer.C:
10562         * text.C:
10563         * text2.C:
10564         * trans.C:
10565         * vc-backend.C: move LyX/XFormsView into frontends/
10566
10567 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * Makefile.am:
10570         * PainterBase.C:
10571         * PainterBase.h:
10572         * Painter.C:
10573         * Painter.h:
10574         * WorkArea.C:
10575         * WorkArea.h:
10576         * screen.C:
10577         * tabular.C:
10578         * text.C:
10579         * text2.C: move Painter to frontends/
10580
10581 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10582
10583         * buffer.C: comment out some some code that depend upon lyx_format
10584         < 220
10585
10586         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10587         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10588
10589         * buffer.h (NO_COMPABILITY): turn off compability
10590
10591         * ColorHandler.C: include scoped_array.hpp
10592
10593         * font.C: Use more specific smart_ptr header.
10594         * Painter.C: ditto
10595         * gettext.C: ditto
10596         * ShareContainer.h: ditto
10597         * lyx_main.h: ditto
10598         * kbmap.h: ditto
10599         * FontInfo.h: ditto
10600         * BufferView_pimpl.h: ditto
10601         * ColorHandler.h: ditto
10602
10603         * kbmap.C (defkey): change call to shared_ptr::reset
10604
10605 2002-05-21  Juergen Vigna  <jug@sad.it>
10606
10607         * buffer.C (insertErtContents): fix to insert ert asis if it is
10608         non empty. Skip it completely if it contains only whitespaces.
10609
10610 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10611
10612         * BufferView_pimpl.C:
10613         * BufferView2.C: clear selection on paste (bug 393)
10614
10615 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10616
10617         * DepTable.C: include ctime
10618
10619 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10620
10621         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10622
10623 2002-05-14  Juergen Vigna  <jug@sad.it>
10624
10625         * text.C (breakParagraph): fixed function to honor the keepempty
10626         layout in the right maner and also to permit the right breaking
10627         algorithm on empty or non empyt keepempty paragraphs.
10628
10629         * paragraph.C (breakParagraph): we have to check also if the par
10630         is really empty (!size()) for isempty otherwise we do the wrong
10631         paragraph break.
10632
10633 2002-05-10  Juergen Vigna  <jug@sad.it>
10634
10635         * buffer.[Ch] : The following are only changes to the ert
10636         compatibility read reading old LaTeX layout and font stuff and
10637         convert it to ERTInsets.
10638
10639         * buffer.h: added isErtInset().
10640
10641         * buffer.C (struct ErtComp): add a fromlayout bool to check
10642         if we're inside a LaTeX layout.
10643         (isErtInset): new helper function.
10644         (insertErtContents): look for other ert insets before this one
10645         and insert the contents there, so that we don't have subsequent
10646         ERT insets with nothing between them. This way we create only one
10647         inset with multiple paragraphs. Also check if we don't insert only
10648         spaces ' ' as they are ignored anyway afterwards in the .tex file
10649         so if we have only spaces we will ignore this latex part in the
10650         new file.
10651         (parseSingleLyXformat2Token \\layout): better compatibility when
10652         reading layout-latex stuff.
10653         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10654         language tag.
10655         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10656         stuff after reading the inset only get the information back from
10657         the stack.
10658
10659 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10660
10661         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10662
10663         * LaTeXFeatures.C (getBabelOptions): New method.
10664
10665 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10666
10667         * BufferView_pimpl.C (Dispatch): work around missing argument for
10668         'layout'
10669
10670 2002-05-08  Juergen Vigna  <jug@sad.it>
10671
10672         * text.C (leftMargin): handle paragraph leftindent.
10673
10674         * paragraph.C (writeFile): write the new \\leftindent tag.
10675         (validate): handle leftindent code.
10676         (TeXEnvironment): handle paragraphleftindent code again.
10677
10678         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10679
10680         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10681         for paragrap_extra indent code and new token \\leftindent.
10682         (latexParagraphs): handle the leftindent as environment.
10683
10684         * ParameterStruct.h: added leftindent support.
10685
10686         * ParagraphParameters.C (leftIndent): added support functions for
10687         the paragraph left indent.
10688
10689         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10690         more appropriate.
10691
10692 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10693
10694         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10695         inside insetERT.
10696
10697         * text.C (computeBidiTables): No bidi in insetERT.
10698
10699         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10700         in RTL documents.
10701
10702 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10703
10704         * version.C.in: pre 5
10705
10706 2002-05-02  José Matos  <jamatos@fep.up.pt>
10707         * buffer.C (makeDocBookFile): white space changes, add newline to
10708         command styles.
10709         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10710
10711         * tabular.C (docBook): fix typo.
10712
10713 2002-05-03  Juergen Vigna  <jug@sad.it>
10714
10715         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10716         change in LyXText as we can not be sure it was not freed.
10717         (drawOneRow): remove unused code.
10718
10719         * text.C (drawInset): redo the calculation of the need_break_row as
10720         it could have a row which was already freed.
10721         (draw): look at the return value of drawInset and return false if
10722         it also returned false.
10723         (paintRowText): look at the return value of draw and return false if
10724         it also returned false.
10725
10726         * lyxtext.h: added bool return type to drawInset() and draw() so that
10727         if we have a change in the row so that the rowbreak has to be redone
10728         we abort drawing as it will be called again.
10729
10730 2002-05-02  Juergen Vigna  <jug@sad.it>
10731
10732         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10733         a change in the maintext also if we're inside an inset.
10734         (Dispatch): set the cursor again after a break line and after the
10735         screen has been updated as it could be we're in a different row.
10736
10737         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10738         to set the cursor behind the pargraph with > size().
10739         (setCursor): check also for the same paragraph when checking where
10740         to put the cursor if we have a NFR inset.
10741
10742         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10743         parts of layout read further up as it still was in the wrong
10744         position.
10745
10746 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10747
10748         * screen.C (drawFromTo): change sine fullRebreak always return
10749         true.
10750
10751         * buffer.C (parseSingleLyXformat2Token): reindent some
10752
10753         * BufferView_pimpl.C (update): change since fullRebreak always
10754         return true.
10755         (Dispatch): git rid of the last hardcoded "Standard"s.
10756
10757 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10758
10759         * text2.[Ch] (fullRebreak): make it return void now that we always
10760         returned true.
10761
10762 2002-04-30  Juergen Vigna  <jug@sad.it>
10763
10764         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10765         ert compatibility check for "latex" layout.
10766
10767 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10768
10769         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10770         minipages: use col% instead of p%, and also use the current font.
10771         (makeLaTeXFile): Fix use babel condition.
10772         (parseSingleLyXformat2Token): Correct font when reading old floats.
10773
10774 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10775
10776         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10777         inserting list of floats.
10778
10779 2002-04-25  Herbert Voss  <voss@lyx.org>
10780
10781         * MenuBackend.C (expand): don't add the graphics extensions to the
10782         export menu
10783
10784 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10785
10786         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10787         non-existing layout, do not complain if it was the default layout
10788         of the original class (bug #342)
10789
10790 2002-04-24  Juergen Vigna  <jug@sad.it>
10791
10792         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10793         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10794
10795 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10796
10797         * buffer.C (getBibkeyList): If using \bibliography, return the
10798         option field with the reference itself. Enables us to provide natbib
10799         support when using \bibliography.
10800
10801 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10802
10803         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10804
10805         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10806         natbib is provided by the LaTeX class.
10807
10808 2002-04-23  Juergen Vigna  <jug@sad.it>
10809
10810         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10811         Wakeup functions.
10812
10813         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10814
10815 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10816
10817         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10818
10819         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10820         ensuremath around textordmasculine, textordfeminine and
10821         textdegree.
10822
10823 2002-04-19  Juergen Vigna  <jug@sad.it>
10824
10825         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10826         reinitializing the buffer otherwise row-dimensions may be wrong.
10827         (update): reset also the selection cursors if they do exits otherwise
10828         their x/y positions may be wrong.
10829
10830         * text2.C (cursorDown): don't enter the inset if we came from a row
10831         above and are one row over the inset.
10832
10833         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10834         really leaving an inset.
10835
10836 2002-04-18  Juergen Vigna  <jug@sad.it>
10837
10838         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10839         of the selected paragraph does not have the selected layout also if
10840         the last one had!
10841
10842         * text2.C (setLayout): fixed bug which did not change last selected
10843         paragraph.
10844
10845         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10846         changed the read and substituted \\end_float with \\end_inset!
10847
10848         * BufferView_pimpl.C (cursorPrevious):
10849         (cursorNext): fixed to make it work with rows heigher than the work
10850         area without moving the cursor only the draw of the row.
10851         (workAreaMotionNotify): fix jumping over high rows.
10852
10853 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10854
10855         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10856         Ressler.
10857
10858 2002-04-16  Juergen Vigna  <jug@sad.it>
10859
10860         * text2.C (setCursor): set also the irow().
10861         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10862         (cursorUp):
10863         (cursorDown): support for locking an inset if the x_fix value goes
10864         inside it. That way I can transverse insets too with cursor up/down.
10865
10866         * lyxrow.h: added irow helper function same as other (i) functions.
10867
10868         * BufferView_pimpl.C (cursorPrevious):
10869         (cursorNext): fixed for insets!
10870
10871 2002-04-15  Juergen Vigna  <jug@sad.it>
10872
10873         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10874         position otherwise it is wrong in some cases.
10875
10876         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10877         inside the inset before the call.
10878
10879 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10880
10881         * buffer.[Ch] (getBibkeyList): make it const.
10882
10883 2002-04-12  Juergen Vigna  <jug@sad.it>
10884
10885         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10886
10887         * text2.C (getCursorX): new helper function
10888         (setCursor): compute also ix_
10889         (setCursorFromCoordinates): set also ix.
10890
10891         * lyxcursor.h: added ix_ and helper functions.
10892
10893         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10894
10895         * buffer.C (insertStringAsLines): dont break paragraph if the this
10896         paragraph is inside an inset which does not permit it!
10897
10898         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10899         also with no chars on this paragraph.
10900         (paintRowText): only paint stuff if it's inside the workarea!
10901
10902         * paragraph.C (breakParagraph): honor keepempty flag and break the
10903         paragraph always below not above.
10904
10905         * BufferView2.C (unlockInset): update the paragraph layout on inset
10906         unlock as we changed paragraph in such a case.
10907
10908         * lyxfind.C (LyXFind): clear the former selection if not found!
10909
10910         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10911         again called in insertChar().
10912
10913         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10914         an inset which uses the whole row!
10915         (rightMargin): ditto.
10916         (insertChar): force a rebreak if we inserted an inset!
10917
10918 2002-03-28  Herbert Voss  <voss@lyx.org>
10919
10920         * lyxlength.[Ch]: add inBP() to get the right PS-point
10921         units (BigPoint). With inPixels we have rounding errors
10922
10923 2002-04-11  Juergen Vigna  <jug@sad.it>
10924
10925         * text2.C (setCursorFromCoordinates): set iy to the right value.
10926         (setCursor): add check if row->previous exists!
10927
10928         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10929         an old float_type as this was the case in the old code!
10930
10931         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10932
10933         * BufferView2.C (showLockedInsetCursor): use iy
10934         (fitLockedInsetCursor): ditto
10935
10936         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10937         locked insets as there we have the right value now.
10938
10939         * lyxcursor.C: added iy_ variable and iy functions to set to the
10940         baseline of cursor-y of the locked inset.
10941
10942         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10943         (setCursor): fixed for insets which need a full row.
10944
10945         * text.C (rowLastPrintable): don't ignore the last space when before
10946         an inset which needs a full row.
10947         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10948         as last character of a row when before a inset which needs a full row.
10949
10950 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10951
10952         * version.C.in: update date
10953
10954         * text2.C (fullRebreak): try to always return true and see what
10955         happens...
10956
10957 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10958
10959         * MenuBackend.C (expand): use Floating::listName
10960
10961         * FloatList.C (FloatList): add listName argument to the built-in
10962         floats
10963
10964         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10965         text associated with the float.
10966
10967 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10968
10969         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10970
10971 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10972
10973         * ShareContainer.h: add a couple of missing typenames.
10974
10975 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10976
10977         * lyxrc.C (getDescription): use _() correctly rather than N_().
10978
10979 2002-03-28  Herbert Voss  <voss@lyx.org>
10980
10981         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10982         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10983
10984 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10985
10986         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10987         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10988
10989 2002-03-29  Juergen Vigna  <jug@sad.it>
10990
10991         * lyxfunc.C (dispatch): add a missing fitCursor call.
10992
10993         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10994         it was scrolled by a cursor move, so return the bool status.
10995
10996         * BufferView.C (fitCursor): return the bool flag also to the outside
10997         world as this is needed.
10998
10999         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11000
11001         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11002         call the edit() as it is not needed (and wrong) IMO.
11003         (workAreaButtonPress): set the screen_first variable before evt.
11004         unlock the inset as this may change screen_first and then we have
11005         a wrong y position for the click!
11006
11007 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11008
11009         * MenuBackend.C (expand): another translation that I missed
11010
11011 2002-03-28  Juergen Vigna  <jug@sad.it>
11012
11013         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11014
11015         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11016
11017 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11018
11019         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11020
11021         * MenuBackend.C (expand): fix export/view/update when there is no
11022         document open.
11023
11024 2002-03-27  Herbert Voss  <voss@lyx.org>
11025
11026         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11027         and text%
11028
11029 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11030
11031         * bufferview_funcs.C (currentState): only show paragraph number
11032         for is DEVEL_VERSION is set.
11033
11034         * lyxfunc.C (dispatch): put warning in INFO channel
11035
11036         * MenuBackend.C (expand): translate the name of floats
11037
11038         * FloatList.C (FloatList): mark the float names for translation
11039
11040         * converter.C (convert): use LibScriptSearch
11041
11042 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11043
11044         * MenuBackend.C (defaults): fix default menu (we might as well get
11045         rid of it...)
11046
11047 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11048
11049         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11050         directory.
11051
11052 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11053
11054         * lyxvc.C: reorder includes.
11055
11056 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11057
11058         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11059           properly
11060
11061 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11062
11063         * CutAndPaste.C: change layouts earlier on paste
11064           to avoid crashing when calling getFont()
11065
11066 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11067
11068         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11069         irritating #error.
11070
11071 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11072
11073         * WorkArea.C: remove 'Pending' debug message.
11074
11075         * most files: ws cleanup
11076
11077         * buffer.[Ch]: ws changes
11078
11079         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11080
11081 2002-03-21  Juergen Vigna  <jug@sad.it>
11082
11083         * tabular.C (SetMultiColumn): collapse also the contents of the
11084         cells and set the last border right. Added a Buffer const * param.
11085
11086 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11087
11088         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11089         linking or not.
11090
11091 2002-03-19  Juergen Vigna  <jug@sad.it>
11092
11093         * text2.C (clearSelection): reset also xsel_cache.
11094
11095         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11096         where it needs to be called (John tells us to do so too :)
11097         (selectionLost): reset sel_cache.
11098
11099         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11100
11101 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11102
11103         * text2.C (setCursorIntern): put debuging code in INSETS channel
11104
11105 2002-03-19  André Pönitz <poenitz@gmx.net>
11106
11107         * lyxfunc.C: tiny whitespace change
11108
11109 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11110
11111         * ToolbarDefaults.C (init):
11112         * LyXAction.C (init):
11113         * commandtags.h:
11114         * BufferView_pimpl.C (Dispatch):
11115         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11116
11117 2002-03-19  Allan Rae  <rae@lyx.org>
11118
11119         * exporter.C (Export): removeAutoInsets before doing anything else.
11120         While I've just introduced a dependency on BufferView this really is
11121         the best place to clean the buffer otherwise you need to cleanup in
11122         a dozen places before calling export or cleanup in a dozen functions
11123         that export calls.
11124
11125         * converter.C (runLaTeX):
11126         (scanLog): Better handling of removeAutoInsets and screen updates.
11127
11128         * lyxfunc.C (dispatch): small whitespace changes
11129
11130 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11131
11132         * WorkArea.C (C_WorkAreaEvent): return a value.
11133         (event_cb): return 1 if we handled the event, 0 otherwise.
11134
11135         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11136
11137 2002-03-18  Juergen Vigna  <jug@sad.it>
11138
11139         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11140         (GetAdditionalWidth): ditto.
11141         (RightLine): ditto.
11142         (LeftLine): ditto.
11143
11144         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11145         inset if we're there actually (probably not used right now but this
11146         is the direction to go for unifying code).
11147         (paste): disable code to clear the selection.
11148
11149         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11150         inside an InsetText and move the check further up as it is in the
11151         wrong place.
11152
11153         * text2.C (pasteSelection): set a selection over the pasted text.
11154
11155 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11156
11157         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11158         and libgraphics to build on Cygwin.
11159
11160 2002-03-15  Juergen Vigna  <jug@sad.it>
11161
11162         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11163         inserting an Inset into the paragraph. I know this is not the best
11164         fix but we already use current_view in CutAndPaste so we will remove
11165         all of it's using at the same time.
11166
11167         * buffer.C (sgmlError): deactivated function till it is rewritten in
11168         the right mode, now it can create problems.
11169
11170         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11171         before accessing it.
11172
11173 2002-03-14  Juergen Vigna  <jug@sad.it>
11174
11175         * undo_funcs.C (textHandleUndo): do the right thing when updating
11176         the inset after the undo/redo.
11177
11178         * text2.C (setCursor): just some testcode for #44 not ready yet.
11179
11180         * undo_funcs.C (textHandleUndo): set the next() and previous()
11181         pointers of the paragraph to 0 before deleting otherwise we have
11182         problems with the Paragraph::[destructor].
11183
11184         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11185         on a paragraph insertion.
11186
11187 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11188
11189         * buffer.C (asciiParagraph): use += operator for char append to
11190         string.
11191
11192         * paragraph.C (getFontSettings): compare >= not just >
11193         (highestFontInRange): ditto
11194         (setFont): ditto
11195
11196 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11197
11198         * paragraph.C: change several algorithm to be more appripriate for
11199         the problem domain. This is lookip in FontList and in the InsetList.
11200
11201 2002-03-13  André Pönitz <poenitz@gmx.net>
11202
11203         * commandtags.h:
11204         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11205
11206 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11207
11208         * commandtags.h:
11209         * LyXAction.C:
11210         * lyxfunc.C:
11211         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11212
11213 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * Painter.C (display): anon helper function, adjust code for this
11216         change.
11217         (pixmap): remove function.
11218
11219         * Painter.h: remove private display variable.
11220
11221         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11222
11223 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11224
11225         * WorkArea.[Ch]: remove figinset_canvas cruft.
11226
11227 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11228
11229         * lyxtextclass.C (operator): add one item cache optimization.
11230
11231         * bufferlist.h: doxy changes
11232
11233         * bufferlist.C: ws changes
11234
11235         * DepTable.[Ch] (ext_exist): place const in the right spot.
11236
11237         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11238         call resizeInsets.
11239         (workAreaExpose): call resizeInsets when the with BufferView changes.
11240         (Dispatch): adjust for protectedBlank removal
11241         (specialChar): call updateInset if the insert went ok.
11242
11243         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11244         specialChar instead.
11245
11246         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11247
11248         * BufferView.h: doxy change
11249
11250         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11251
11252         * lyxtextclass.C (operator[]): remove non-const version
11253         (defaultLayout): remove non-const version
11254
11255 2002-03-12  Juergen Vigna  <jug@sad.it>
11256
11257         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11258         did resize the LyXText too.
11259
11260         * buffer.C (readLyXformat2): set layout information on newly allocated
11261         paragraphs.
11262
11263         * tabular.C (OldFormatRead): set layout information on the paragraph.
11264
11265 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11266
11267         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11268
11269 2002-03-11  Juergen Vigna  <jug@sad.it>
11270
11271         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11272         plainly wrong.
11273         (resizeCurrentBuffer): force also the insets to resize themselfes.
11274         (moveCursorUpdate): fixed up for InsetText.
11275
11276 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11277
11278         * commandtags.h:
11279         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11280         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11281         value of Dialogs::tooltipsEnabled().
11282         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11283
11284 2002-03-08  Juergen Vigna  <jug@sad.it>
11285
11286         * BufferView_pimpl.C (updateInset): update inset inside inset also
11287         if it isn't inside theLockingInset().
11288
11289 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11290
11291         * buffer.C (asciiParagraph): redo some of the word and line length
11292         handling.
11293         (getLists): look for Caption instead of caption.
11294
11295 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11296
11297         * buffer.C (Buffer): initialize niceFile to true
11298         (makeLaTeXFile):
11299         (makeLinuxDocFile):
11300         (makeDocBookFile): make sure niceFile is true on exit
11301
11302 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11303
11304         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11305
11306 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11307
11308         * LyXSendto.C: remove.
11309         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11310         * lyx_gui.C: remove now-redundant comment.
11311         * ColorHandler.h: remove forward declaration of class WorkArea.
11312         * lyxfunc.C: remove #include "WorkArea.h".
11313
11314 2002-03-07  Juergen Vigna  <jug@sad.it>
11315
11316         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11317         got moved away with the DEPM and also set the inset_owner always
11318         right which before could have been omitted.
11319
11320 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11321
11322         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11323         wanted layout is not found.
11324
11325 2002-03-07  Juergen Vigna  <jug@sad.it>
11326
11327         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11328
11329 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11330
11331         * paragraph.C (breakParagraph): use default layout not layout of
11332         prev paragraph.
11333         (Paragraph): clear ParagraphParameters.
11334
11335 2002-03-06  Juergen Vigna  <jug@sad.it>
11336
11337         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11338         otherwise it would not be a valid lenght. Fixed a special case in
11339         the minipage compatibility read where we end the document with a
11340         minipage.
11341
11342         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11343         was set as it could be 0 for InsetTexts first entry.
11344
11345 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11346
11347         * paragraph.C (writeFile): if layout is empty write out
11348         defaultLayoutName().
11349
11350         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11351         file without named layout we set layout to defaultLayoutName().
11352
11353 2002-03-06  Juergen Vigna  <jug@sad.it>
11354
11355         * CutAndPaste.C (copySelection): set layout for new paragraph.
11356
11357         * text.C (prepareToPrint): leave ERT inset left aligned
11358         (leftMargin): don't indent paragraphs inside ERT insets
11359
11360 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * paragraph.C (breakParagraph): dont call clear do the work manually
11363
11364         * paragraph.[Ch] (clear): remove function
11365
11366 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11367
11368         * paragraph.C (Paragraph): dont call clear, the work has already
11369         been done.
11370
11371         * lyxtextclass.C (operator): assert if n is empty
11372
11373         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11374         work manually instead.
11375
11376 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * BufferView_pimpl.C: protect selectionLost against text == 0
11379
11380 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * text.C (breakParagraph): fix a setting layout to '0' problem.
11383
11384 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11385
11386         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11387         final location of file, for the included files, and graphics.
11388
11389 2002-03-05  Juergen Vigna  <jug@sad.it>
11390
11391         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11392
11393 2002-03-04  Juergen Vigna  <jug@sad.it>
11394
11395         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11396
11397         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11398         last column of multicolumn cells.
11399         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11400
11401 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11402
11403         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11404         file if it doesn't go to a temporary file.
11405
11406         * buffer.C (sgmlOpenTag):
11407         (sgmlCloseTag):  remove extra newline insertion.
11408
11409 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11410
11411         * text.C (getRowNearY): comment out debug msg
11412
11413 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * text2.C: first -> first_y
11416
11417         * text.C (getRowNearY): add some attemts at a possible
11418         optimization, not working.
11419
11420         * tabular.[Ch]: add BufferParams to several function so that newly
11421         created paragraph can be initialized to he default layotu for the
11422         buffers textclass.
11423
11424         * tabular-old.C (ReadOld): add buf->params to call of Init
11425
11426         * screen.C: rename text->first to text->first_y
11427
11428         * paragraph.C (breakParagraph): always set layout in the broken
11429         paragraph
11430
11431         * lyxtextclass.C (Read): remove lowercase
11432         (hasLayout): ditto
11433         (operator): ditto
11434         (delete_layout): ditto
11435
11436         * lyxtext.h: rename first -> first_y
11437
11438         * lyxlayout.C (Read): remove lowercase
11439         (name): ditto
11440         (setName): ditto
11441         (obsoleted_by): ditto
11442
11443         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11444
11445         * buffer.C (insertErtContents): add params are to InsetERT
11446         (parseSingleLyXformat2Token): add code to check if a paragraphs
11447         layout really exist.
11448         (parseSingleLyXformat2Token): add params to several inset
11449         constructors
11450         (asciiParagraph): remove lowercase, do the layout comparisons with
11451         no_case
11452
11453         * BufferView_pimpl.C (cursorNext): first -> first_y
11454         (resizeCurrentBuffer): first -> first_y
11455         (updateScrollbar): first -> first_y
11456         (scrollCB): first -> first_y
11457         (workAreaMotionNotify): first -> first_y
11458         (workAreaButtonPress): first -> first_y
11459         (checkInsetHit): first -> first_y
11460         (cursorPrevious): first -> first_y
11461         (cursorNext): first -> first_y
11462         (Dispatch): add buffer_->params to severl inset contructors
11463
11464 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11465
11466         * lyxlayout.C (Read): remove some debug info that I forgot.
11467
11468         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11469         clean up the code slightly.
11470         (makeLinuxDocFile): ditto
11471         (makeDocBookFile): ditto
11472
11473         * text2.C: layout as string
11474
11475         * text.C: layout as string
11476
11477         * paragraph_pimpl.C: layout as string
11478
11479         * paragraph.[Ch]: layout as string
11480
11481         * lyxtextclasslist.[Ch]: layout as string
11482
11483         * lyxtextclass.[Ch]: layout as string
11484
11485         * lyxtext.h: layout as string
11486
11487         * lyxlayout.[Ch]: layout as string
11488
11489         * lyx_cb.C: layout as string
11490
11491         * bufferview_funcs.C: layout as string
11492
11493         * bufferparams.C: layout as string
11494
11495         * buffer.C: layout as string
11496
11497         * LyXView.[Ch]: layout as string
11498
11499         * LaTeXFeatures.[Ch]: layout as string
11500
11501         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11502
11503         * BufferView_pimpl.C: change current_layout to string, remove
11504         lyx::layout_type.
11505         (Dispatch):
11506         (smartQuote):
11507         (insertInset):
11508         (workAreaButtonRelease): layout as string
11509
11510         * BufferView2.C (unlockInset): adjust
11511
11512         * vspace.C (asLatexCommand): use an explict temp variable.
11513
11514 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11515
11516         * Makefile.am: use FRONTEND_*
11517
11518 2002-03-01  Juergen Vigna  <jug@sad.it>
11519
11520         * tabular.C (SetWidthOfMulticolCell): changed to something better
11521         I hope but still work in progress.
11522         (recalculateMulticolumnsOfColumn): renamed function from
11523         recalculateMulticolCells as it is more appropriate now.
11524         (SetWidthOfCell): calculate multicols better.
11525
11526 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11527
11528         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11529
11530         * lyxfunc.C (processKeySym): print sequence also if it is
11531         `deleted' (complete)
11532
11533         * kbsequence.C (print): print sequence even if it is deleted
11534         (complete would be a better word, actually).
11535
11536         * lyxfunc.C (dispatch): print complete options after a prefix key
11537
11538         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11539
11540 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11541
11542         * text2.C (setCharFont): eliminate setCharFont code duplication.
11543
11544 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11545
11546         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11547         LFUN_TABULAR_FEATURE (bug #177)
11548
11549 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11550
11551         * Makefile.am: remove figure.h
11552
11553 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11554
11555         * Bufferview_pimpl.C:
11556         * CutAndPasteC:
11557         * LaTeX.C:
11558         * LyXSendto.C:
11559         * buffer.C:
11560         * bufferlist.C:
11561         * converter.C:
11562         * language.C:
11563         * lyxfunc.C:
11564         * lyxvc.C:
11565         * paragraph.C:
11566         * text.C:
11567         * text2.C: remove #include "lyx_gui_misc.h".
11568
11569         * LaTeX.C: added #include <cstdio>
11570
11571 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11572
11573         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11574         that the paragraph following this one can have.
11575
11576         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11577
11578         * vspace.C (asLatexCommand): fix bogus gcc warning
11579
11580         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11581
11582 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11583
11584         * text2.C (setLayout): get rid of redundant code
11585
11586 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11587
11588         * text2.C (incDepth): make sure depth cannot be increased beyond
11589         reasonable values.
11590
11591 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11592
11593         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11594         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11595
11596         * PainterBase.h (image):
11597         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11598         a LyXImage const *.
11599
11600 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11601
11602         * BufferView.C:
11603         * BufferView.h:
11604         * BufferView_pimpl.C:
11605         * BufferView_pimpl.h:
11606         * LaTeXFeatures.C:
11607         * LyXAction.C:
11608         * LyXView.C:
11609         * Makefile.am:
11610         * UpdateList.h:
11611         * UpdateList.C:
11612         * buffer.C:
11613         * figure.h:
11614         * figureForm.C:
11615         * figureForm.h:
11616         * figure_form.C:
11617         * figure_form.h:
11618         * lyx_cb.C:
11619         * lyx_gui.C:
11620         * lyx_gui_misc.C:
11621         * lyxfunc.C:
11622         * sp_base.h:
11623         * sp_ispell.h:
11624         * sp_pspell.h:
11625         * sp_spell.C: remove fig inset, and the crap house of
11626           cards that follows it
11627
11628 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11629
11630         * Makefile.am:
11631         * lyxserver.C:
11632         * os2_defines.h:
11633         * os2_errortable.h:
11634         * nt_defines.h: move .h into support/
11635
11636         * vms_defines.h: remove
11637
11638         * WorkArea.C: add space in debug output
11639
11640         * text2.C:
11641         * paragraph.C:
11642         * buffer.C: add WITH_WARNINGS
11643
11644         * vc-backend.h:
11645         * vc-backend.C:
11646         * bufferlist.C: s/retrive/retrieve/, add docs
11647
11648         * vspace.h:
11649         * vspace.C:
11650         * kbmap.h:
11651         * lyxlength.h:
11652         * lyxgluelength.h:
11653         * length_common.h:
11654         * chset.h:
11655         * chset.C: add docs
11656
11657         * lyxgui.C: add ID to X error handler
11658
11659         * lyxtestclass.c: fix typo
11660
11661 2002-02-26  Juergen Vigna  <jug@sad.it>
11662
11663         * tabular_funcs.C (write_attribute): changed so that some default
11664         attributes are not written at all.
11665         (getTokenValue): set default values before trying to read the
11666         value so we have the return value always set as default if we don't
11667         find the token we search for.
11668
11669         * tabular.C (Write): write bools as bools not as strings!
11670
11671 2002-02-22  Juergen Vigna  <jug@sad.it>
11672
11673         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11674         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11675
11676         * text.C (leftMargin): don't add an indent for paragraphs inside
11677         tabular cells (fix #208).
11678
11679 2002-02-21  José Matos  <jamatos@fep.up.pt>
11680
11681         * tabular.C (docBook): fixed support for long tables.
11682
11683 2002-02-20  Juergen Vigna  <jug@sad.it>
11684
11685         * text2.C (getFont): get the drawing font of the Inset if this
11686         paragraph is inside an inset (only important for InsetERT for now).
11687
11688         * buffer.C (insertErtContents): use new lanugage params in ERT
11689         constructor.
11690
11691         * CutAndPaste.C: commenting out seemingly uneeded code.
11692
11693 2002-02-19  Allan Rae  <rae@lyx.org>
11694
11695         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11696         Iterators might be simple to use but they also get invalidated.
11697         (removeAutoInsets): renamed saved cursor tracking variables and added
11698         some comments to clarify what everything does.
11699
11700 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11701
11702         * Chktex.C:
11703         * LaTeX.C:
11704         * LyXSendto.C:
11705         * converter.C:
11706         * lyx_cb.C:
11707         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11708         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11709
11710         * lyxfunc.C:
11711         * vc-backend.h: remove #include "support/syscall.h"
11712
11713         * LaTeX.C:
11714         * LyXSendto.C:
11715         * converter.C: rearrange #includes in Lars' approved fashion.
11716
11717         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11718         forward declare class Timeout in the header file.
11719
11720         * XFormsView.C: changes due to the above.
11721
11722         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11723         similar to LyXView.
11724
11725         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11726         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11727
11728 2002-02-18  José Matos  <jamatos@fep.up.pt>
11729
11730         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11731         insets contents.
11732
11733 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11734
11735         * a lot of small ws changes
11736         * add a lot of using std::XXX
11737         * use std construcs some places where approp.
11738         * use some exisint stuff from lyxfunctional where approp.
11739         * Make file changes to use partial linking (lets test this now...)
11740
11741 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11742
11743         * Chktex.C:
11744         * buffer.C:
11745         remove #include "support/syscontr.h" as it's redundant. Always has been.
11746
11747         * Chktex.C:
11748         * LaTeX.C:
11749         * LyXSendto.C:
11750         * converter.C:
11751         * lyx_cb.C:
11752         * vc-backend.C:
11753         change Systemcalls::System to Systemcalls::Wait and
11754         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11755         No change of functionality, just reflects the stripped down Systemcalls
11756         class.
11757
11758 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11759
11760         * debug.[Ch]: add a GRAPHICS type to the enum.
11761
11762 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11763
11764         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11765
11766         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11767         there is an inset.
11768
11769 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11770
11771         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11772         match the changes below.
11773
11774         * text2.C (toggleInset): if there is not editable inset at cursor
11775         position, try to see if cursor is _inside_ a collapsable inset
11776         and close it.
11777
11778 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11779
11780         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11781         document menu has a nice checkbox
11782
11783 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11784
11785         * lyxlength.C (asLatexString): change PW to output as percent of
11786         \textwidth.
11787
11788         * lengthcommon.C: change '%' to 't%'
11789
11790         * lyxfunc.C (dispatch): a few comments from Martin
11791
11792 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11793
11794         * WorkArea.h:
11795         * WorkArea.C:
11796         * BufferView_pimpl.h:
11797         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11798           the X selection.
11799
11800 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11801
11802         * vspace.C (inPixels): fix compiler warning
11803
11804 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11805
11806         * lyxfunc.C (getStatus): fix status message for disabled commands.
11807
11808 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * BufferView_pimpl.C: fix crash on close buffer
11811         during selection (#227)
11812
11813 2002-01-27  Herbert Voss  <voss@lyx.org>
11814
11815         * buffer.C: link old Figure to new graphic inset
11816
11817 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11818
11819         * FontLoader.C (getFontinfo): Change the latex font names in order
11820         to match the names of type1inst.
11821
11822 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11823
11824         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11825
11826         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11827         (extchanged): ditto
11828         (ext_exist): ditto
11829         (remove_files_with_extension): ditto
11830         (remove_file): ditto
11831         (write): ditto
11832
11833         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11834         document is smaller than the work area height. Do not initialize
11835         static variables to 0.
11836
11837 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11838
11839         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11840
11841         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11842         LFUN_LAYOUT_PARAGRAPHS.
11843
11844         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11845         tabular. It is possible to provide a possible cell, which will
11846         typically be the actcell from the corresponding insettabular
11847
11848         * lyxfunc.C (getStatus): small cleanup; disable
11849         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11850         true
11851
11852 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11853
11854         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11855
11856         * paragraph.C (startTeXParParams):
11857         (endTeXParParams): new methods. The LaTeX code to
11858         start/end paragraph formatting
11859         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11860         empty (fixes bug #200)
11861
11862         * vspace.C (inPixels): adapt to the change below
11863         (inPixels): [later] more cleanups (remove unused variables)
11864
11865         * lyxlength.C (inPixels): change to use a width and a height as
11866         parameter.
11867
11868 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11869
11870         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11871         Replaced with \paperwidth
11872
11873         * DepTable.C (insert): add std:: qualifier
11874
11875 2002-01-18  Allan Rae  <rae@lyx.org>
11876
11877         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11878         updated also?
11879
11880         * text.C (drawInset): Turned out I didn't know enough about how
11881         rebreaking worked.  This fixes most of the redraw problems.  I see
11882         an occasional cursor trail when a line is broken now and the cursor
11883         placement can seem out by a few pixels also after a rebreak.
11884
11885 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11886
11887         * buffer.C (parseSingleLyXformat2Token): update because minipage
11888         width is now a LyXLength
11889
11890         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11891
11892         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11893         math insets
11894
11895 2002-01-17  Juergen Vigna  <jug@sad.it>
11896
11897         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11898
11899         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11900         is set correctly and the inset is updated correctly.
11901
11902 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11903
11904         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11905         the beginning of the loop.
11906
11907 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11908
11909         * lyxrc.C: improve help for use_scalable_fonts
11910
11911 2002-01-17  Allan Rae  <rae@lyx.org>
11912
11913         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11914
11915 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11916
11917         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11918         make sure to set their inset_owner to the right value (bug #171)
11919
11920 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11921
11922         * DepTable.h
11923         * DepTable.C: Implement mtime checking to reduce time spent doing
11924         CRCs.
11925
11926 2002-01-16  Juergen Vigna  <jug@sad.it>
11927
11928         * tabular.C (GetAdditionalHeight): one of error fixed.
11929
11930         * lyxrc.C (output): small fix in writing use_pspell.
11931
11932 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11933
11934         * sp_base.h: #include LString.h
11935
11936 2002-01-16  Allan Rae  <rae@lyx.org>
11937
11938         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11939         Can someone check this please?
11940
11941         * text.C (drawInset): It was possible that p.row would be removed by
11942         breakAgainOneRow upsetting a few other settings.  There may be another
11943         small tweak possible by setting need_break_row = 0 when p.row has been
11944         removed but I don't know enough about the logic here.
11945
11946 2002-01-15  Allan Rae  <rae@lyx.org>
11947
11948         * text.C (insertChar): removed conditional truism.
11949
11950         * BufferView2.C (removeAutoInsets): More tweaks.
11951         cur_par_prev could be a stray pointer.  Check for trailing empty line
11952         in case last line was cur_par and only had an error inset on it.
11953
11954 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11955
11956         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11957         absolute
11958
11959         * vc-backend.C (most methods):
11960         * exporter.C (Export):
11961         * converter.C (convert):
11962         (runLaTeX):
11963         * LyXSendto.C (SendtoApplyCB):
11964         * lyxfunc.C (dispatch):
11965         (menuNew):
11966         (open):
11967         (doImport):
11968         * lyx_cb.C (AutoSave):
11969         (InsertAsciiFile):
11970         * BufferView_pimpl.C (MenuInsertLyXFile):
11971         * buffer.C (runChktex): use Buffer::filePath().
11972
11973         * buffer.h: rename filename to filename_; rename filepath to
11974         filepath_ and make it private
11975         (filePath): new method
11976
11977         * buffer.C (writeFile): use fileName()
11978         (getLatexName):
11979
11980         * lyx_main.C (init): fix starting  of LyX when the binary is a
11981         link from so,ewhere else.
11982
11983         * minibuffer.C: include <cctype> for isprint
11984
11985 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11986
11987         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11988         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11989         name clash with InsetCollapsable's width function.
11990
11991 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11992
11993         * lastfiles.C: include <iterator>
11994
11995 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11996
11997         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11998         std::count.
11999
12000         * buffer.C (makeLaTeXFile): ditto.
12001         Also make loop operation more transparent.
12002
12003 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12004
12005         * ToolbarDefaults.C: remove trailing comma closing namespace.
12006
12007         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12008
12009         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12010         as in WorkArea.
12011
12012         * trans.C (Load): comment out unused variable, allowed.
12013
12014 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12015
12016         * minibuffer.[Ch] (append_char): new method to recieve input from the
12017         drop-down completion browser. If a key was pressed, then recieve this
12018         char and append it to the existing string.
12019         (peek_event): modify the positioning data passed to the completion
12020         browser so that it can be placed above the minibuffer rather than below.
12021 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12022
12023         * LyXAction.C (init): alloe error-next for readonly documents.
12024
12025         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12026         count.
12027
12028 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12029
12030         * bufferlist.C (readFile): create the buffer _after_ checking that
12031         the file exists.
12032
12033         * lyxfunc.C (verboseDispatch): fix handling of arguments
12034
12035         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12036
12037         * lyxrc.C: use string::erase() instead of initializing to "".
12038
12039
12040 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12041
12042         * BufferView_pimpl.h:
12043         * BufferView_pimpl.C:
12044         * WorkArea.h:
12045         * WorkArea.C:
12046         * text2.C: tell X when we have made a selection for copying
12047
12048 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12049
12050         * BufferView_pimpl.C (MenuInsertLyXFile):
12051         * lyxfunc.C (menuNew):
12052         (open):
12053         (doImport): add shortcuts to directory buttons
12054
12055         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12056         open a float)
12057
12058         * lyxfunc.C (setStatusMessage):
12059         (getStatusMessage): new methods
12060         (getStatus):use setStatusMessage instead of setErrorMessage
12061         (dispatch): when function is disabled, set error message here
12062         [instead of in getStatus previously]
12063
12064         * BufferView_pimpl.C (workAreaButtonRelease): update
12065         toolbar/menubar here too.
12066
12067 2002-01-13  Allan Rae  <rae@lyx.org>
12068
12069         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12070         Now seems indestructible.  Remaining task is to audit all other
12071         code affected by deleteEmptyParagraphMechanism.  One small quirk
12072         left is that an empty document with an error in the preamble can
12073         be made to report an error but no error box appears.  I don't know
12074         where it goes.
12075         (removeAutoInsets): Improved comments.
12076
12077 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12078
12079         * Thesaurus.h:
12080         * Thesaurus.C: update for Aiksaurus 0.14
12081
12082 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * text2.C (firstParagraph): removed member function, all uses
12085         replaces with ownerParagraph
12086         (redoParagraphs): here
12087         (updateInset): here
12088         (toggleAppendix): here
12089         * BufferView2.C (insertErrors): here
12090         (setCursorFromRow): here
12091
12092 2002-01-13  Allan Rae  <rae@lyx.org>
12093
12094         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12095         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12096         There is still a way to segfault this although you may have to do this
12097         multiple times: Have an InsetERT with an unknown command in it.
12098         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12099         <down-arrow>, <Enter> again, View->DVI, BANG!
12100
12101         * text2.C (setCursor):
12102         (deleteEmptyParagraphMechanism):
12103         * lyxtext.h (setCursor):
12104         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12105         Making use of the return value may help fix other bugs.
12106
12107 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12108
12109         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12110
12111         * LyXView.C (updateMenubar): call MenuBar::update here
12112         (updateToolbar): but not here
12113         (showState): do not update toolbar/menubar
12114
12115         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12116         should need to care about that.
12117
12118         * lyxfunc.C (verboseDispatch): simplify a bit
12119         (getStatus): have a version which takes a pseudoaction, and
12120         another which requires a (kb_action,string).
12121
12122         * LyXAction.C (retrieveActionArg): make it work also when action
12123         is not a pseudo-action.
12124         (getActionName): simplify a bit
12125         (helpText):
12126
12127 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12128
12129         * lyxfunc.C (verboseDispatch): new families of methods with
12130         several ways to specify a command and a bool to indicate whether
12131         the command name and shortcut should be displayed in minibuffer
12132         (eventually, we could extend that to a finer bitmask like
12133         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12134         (dispatch): the pristine dispatch command which just, well,
12135         dispatchs! Note it still sets its result to minibuffer; I'm not
12136         sure we want that.
12137
12138         * lyxfunc.h: remove setHintMessage
12139
12140         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12141
12142 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12143
12144         * BufferView_pimpl.C (specialChar): delete new inset if we have
12145         not been able to insert it.
12146
12147         * kbmap.C: revert to using int instead of kb_action, since all we
12148         are dealing with is pseudo-actions.
12149
12150         * LyXAction.C (searchActionArg): change to return int instead of
12151         kb_action, since the result is a pseudoaction.
12152
12153 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12154
12155         * buffer.C (insertErtContents): Fix (partially) the font bug.
12156
12157 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12158
12159         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12160         as the other one is broken on my machine!
12161
12162 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12163
12164         * commandtags.h:
12165         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12166
12167 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12168
12169         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12170         reflect their actual use. Provide compatibility code for older lyxrc
12171         files.
12172
12173         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12174         FL_NORMAL_STYLE.
12175         change names of popup font variables in line with the changes to lyxrc.C
12176
12177 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12178
12179         * buffer.C (asciiParagraph): avoid outputing a word twice after
12180         an inset.
12181
12182         * lyxrc.C (getDescription): document that document_path and
12183         template_path can be empty.
12184
12185 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12186
12187         * LaTeXFeatures.C (getMacros):
12188         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12189
12190         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12191
12192         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12193         getPackages.
12194         (getPackages): rename feature "floats" to "float". Use an array to
12195         iterate over 'simple' features (i.e. just a \usepackage). Add
12196         handling of "amsmath" (renamed from "amsstyle").
12197
12198 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12199
12200         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12201         features list.
12202
12203 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12204
12205         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12206         FuncStaus::FuncStatus & FuncStaus::some_method().
12207
12208 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12209
12210         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12211         of the func_satus stuff. Edited and massaged in various ways by
12212         JMarc.
12213
12214         * lyxfunc.C (getStatus): use FuncStatus
12215
12216 2002-01-08  Juergen Vigna  <jug@sad.it>
12217
12218         * text.C (nextBreakPoint): use function Inset::isChar().
12219
12220         * paragraph.C (TeXOnePar): use function
12221         Inset::forceDefaultParagraphs.
12222
12223         * buffer.C (latexParagraphs): use function
12224         Inset::forceDefaultParagraphs.
12225
12226 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12227
12228         * lyx_gui.C (init): set the style of the menu popups to
12229         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12230
12231 2002-01-07  Juergen Vigna  <jug@sad.it>
12232
12233         * text.C (setHeightOfRow): small fix
12234         (prepareToPrint): don't look at alignment if we don't have the place
12235         for doing it.
12236
12237 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12238
12239         * box.C: New file. Move the Box methods and functions out of box.h,
12240         following Lars' suggestion.
12241
12242 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12243
12244         * box.h: #include "support/LOstream.h", needed for inlined function.
12245
12246         * lyxtextclass.C:
12247         * lyxtextclasslist.C: added some using std declarations.
12248
12249 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12250
12251         * box.h: make signed dimensions to allow insets wider than
12252           the screen (bug #162)
12253
12254         * BufferView_pimpl.C: add some insetHit debug
12255
12256 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12257
12258         * vc-backend.C: add FIXME
12259
12260 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12261
12262         * lyxfunc.C (getStatus): enable code for showing math font status
12263         in toolbar/menu.
12264
12265 2002-01-07  Juergen Vigna  <jug@sad.it>
12266
12267         * text.C (nextBreakPoint): removed debug output not needed anymore.
12268
12269 2002-01-06  Juergen Vigna  <jug@sad.it>
12270
12271         * text.C (nextBreakPoint): fixed up this function we had this bug
12272         since ever but now hopefully we break row better.
12273         (insertChar): we have to check if an inset is the next char as it
12274         could now happen that a large inset is causing a break.
12275
12276 2002-01-05  Juergen Vigna  <jug@sad.it>
12277
12278         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12279         if it doesn't like to be drawed.
12280
12281 2002-01-04  Juergen Vigna  <jug@sad.it>
12282
12283         * BufferView2.C (lockInset): forgot to set a cursor.
12284
12285         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12286
12287 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12288
12289         * FormMathsPanel.C:
12290         * FormMathsPanel.h
12291         * MathsSymbols.C:
12292         * form_maths_panel.C:
12293         * form_maths_panel.h:
12294         * form_maths_panel.fd: implemented sub- and super- buttons in math
12295         panel.
12296
12297         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12298         (or ^ space) to be used as in TeX (req'd by André).
12299
12300         * lyxfunc.C: Allow ^ and _ again to be used both as
12301         super/subscript (mathed) and as themselves (in text).
12302
12303 2002-01-03  Allan Rae  <rae@lyx.org>
12304
12305         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12306         "LyX" or the filename of the current buffer if it has one.  This is a
12307         modified form of John Levon's patch.
12308
12309         * XFormsView.C (setWindowTitle): also set icon title.
12310
12311         * LyXView.h (setWindowTitle): signature changed.
12312         * XFormsView.h (setWindowTitle): ditto.
12313
12314 2002-01-02  Juergen Vigna  <jug@sad.it>
12315
12316         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12317
12318 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12319
12320         * screen.C (topCursorVisible): introduce a temp var for
12321         text->cursor.row(), handle the case where this row is null. (kindo
12322         hachish)
12323
12324         * text2.C (setCursor): add a couple of asserts.
12325
12326         * paragraph.h (inset_iterator): add -> operator
12327
12328         * paragraph.[Ch] (autoDeleteInsets): remove member function
12329
12330         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12331         cursor pos correctly and handle inset deletion by itself.
12332         (insertErrors): move iterator declaration out of for expression
12333
12334         * lyxtextclass.C: add <algorithm>
12335
12336         * Makefile.am: added the new files to sources, removed layout.C
12337
12338         * layout.C: removed file
12339
12340         * layout.h: remove LYX_DUMMY_LAYOUT
12341
12342         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12343         layout.
12344
12345         * lyxlayout.[Ch]:
12346         * lyxtextclass.[Ch]:
12347         * lyxtextclasslist.[Ch]: new files
12348
12349         * include order changes to a lot of files, also changes because of
12350         the six new files.
12351
12352 2001-12-27  Juergen Vigna  <jug@sad.it>
12353
12354         * buffer.C (asciiParagraph): more fixes.
12355
12356         * tabular.C (ascii): make ascii export support export of only the
12357         data separated by a column-delimiter.
12358         (ascii): better support for ascii export.
12359
12360         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12361
12362 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12363
12364         * tabular_funcs.C: use a "using std::getline" instead of the
12365         previous fix from Angus (necessary for cxx + lyxstring)
12366
12367 2001-12-24  Juergen Vigna  <jug@sad.it>
12368
12369         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12370
12371         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12372         problems. First check a minipage also if we have some ert-contents
12373         (not only on par->size(), second set the right depth of the paragraph
12374         on the relink to the root-paragraph-list!
12375
12376         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12377         which then did not anymore update the main paragraphs on undo/redo!
12378
12379 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12380
12381         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12382         code. Support all font-changing funcs (even those which are not in
12383         menu currently). Support for reporting font settings in
12384         mathed (disabled until Andre provides a function on mathed's side).
12385
12386         * func_status.h (toggle): small helper function to set toggle
12387         state on a flag.
12388
12389 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12390
12391         * tabular_funcs.C: getline -> std::getline
12392
12393 2001-12-21  Juergen Vigna  <jug@sad.it>
12394
12395         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12396         accessed and could be 0 (I couldn't generate this but it seems
12397         Michael could!).
12398
12399 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12400
12401         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12402         * tabular_funcs.h: here and include iosfwd
12403
12404 2001-12-20  Juergen Vigna  <jug@sad.it>
12405
12406         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12407         inside inset but undo_par was.
12408
12409 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12410
12411         * Thesaurus.C: always include <config.h> in sources.
12412
12413         * Painter.h:
12414         * lyxlookup.h:
12415         * box.h: do not include <config.h> in header files
12416
12417         * text.C (paintLastRow): remove unused variable
12418
12419         * text.C (transformChar):
12420         (insertChar):
12421         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12422
12423         * Painter.C (text):
12424         * font.C (width): rewrite to use uppercase() instead of
12425         islower/toupper.
12426
12427         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12428
12429 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12430
12431         * lyxfind.C: clean up of find failure position change
12432
12433 2001-12-20  Juergen Vigna  <jug@sad.it>
12434
12435         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12436
12437         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12438         (TeXRow): added to LaTeX a single tabular row.
12439         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12440         (Latex): simplified and finally good LT-h/f support.
12441         (various_functions): just small adaptions for LT-h/f support.
12442
12443         * tabular_funcs.[hC]: added and moved here all not classfunctions
12444         of LyXTabular.
12445
12446 2001-12-19  Juergen Vigna  <jug@sad.it>
12447
12448         * tabular.[Ch]: better support for longtabular options (not finished
12449         yet!)
12450
12451 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12452
12453         * text.C (paintLastRow): use the label font instead of the font of
12454         the last character to compute the size of *_BOX. This makes more
12455         sense and avoids a crash with empty paragraphs.
12456         Use Painter::rectangle to draw EMPTY_BOX.
12457
12458 2001-12-19  Juergen Vigna  <jug@sad.it>
12459
12460         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12461         the paragraphs if the replaced paragraph is not the first one!
12462         Tried to delete not used paragraphs but does not work yet so for
12463         now it's inside #ifdef's and by default off!
12464
12465 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12466
12467         * MenuBackend.C: include "lyx_main.h" instead of declaring
12468         lastfiles (actually was declared as LastFiles* instead of a
12469         scoped_ptr).
12470
12471 2001-12-17  Juergen Vigna  <jug@sad.it>
12472
12473         * tabular.C (AppendColumn): applied John's fix
12474
12475 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12476
12477         * BufferView.h:
12478         * BufferView.C:
12479         * BufferView_pimpl.h:
12480         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12481
12482         * Makefile.am:
12483         * box.h: new start of class for above
12484
12485         * lyxfunc.C: ignore space-only minibuffer dispatches.
12486           Show the command name when it doesn't exist
12487
12488         * minibuffer.C: don't add empty lines to the history
12489
12490         * minibuffer.C: add a space on dropdown completion
12491
12492 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12493
12494         * text.C: fix line above/below drawing in insets
12495
12496 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12497
12498         * lyxlength.C (LyXLength): Initialize private variables.
12499
12500 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12501
12502         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12503         when inserting error insets.
12504
12505 2001-12-13  Juergen Vigna  <jug@sad.it>
12506
12507         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12508         actually sometimes the before-paragraph.
12509         (setUndo): don't clear the redostack if we're not actually undoing!
12510
12511 2001-12-06  Juergen Vigna  <jug@sad.it>
12512
12513         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12514         and fixed redoing of main paragraph, so we can use it now ;)
12515
12516         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12517
12518 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12519
12520         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12521         Juergen's request
12522
12523 2001-12-13  André Pönitz <poenitz@gmx.net>
12524
12525         * undostack.[Ch]:
12526         * undo_func.C: minor cleanup
12527
12528 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12529
12530         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12531         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12532         font in urw-fonts package which is marked as -urw-fontspecific and
12533         does not work (incidentally, changing the encoding in the
12534         fonts.dir of this package to -adobe-fontspecific fixes the
12535         problem).
12536
12537         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12538         is a crash when undoing first paragraph (Juergen, please take a
12539         look). THis does not mean the undo fix is wrong, just that it
12540         uncovers problems.
12541
12542         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12543         the (Paragraph*) version when needed instead of duplicating the
12544         code.
12545
12546         * text.C (workWidth): use Inset::parOwner to find out where the
12547         inset has been inserted. This is a huge performance gain for large
12548         documents with lots of insets. If Inset::parOwner is not set, fall
12549         back on the brute force method
12550
12551         * paragraph_pimpl.C (insertInset):
12552         * paragraph.C (Paragraph):
12553         (cutIntoMinibuffer): set parOwner of insets when
12554         inserting/removing them
12555
12556         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12557
12558 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12559
12560         * commandtags.h:
12561         * LyXAction.C:
12562         * lyx_main.C:
12563         * lyxfunc.C:
12564         * mathed/formulabase.C:
12565         * mathed/math_cursor.[Ch]:
12566         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12567
12568
12569 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12570
12571         * lyxlength.[Ch] (operator!=): new function
12572
12573 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12574
12575         * text.C (workWidth): use Inset::parOwner to find out where the
12576         inset has been inserted. This is a huge performance gain for large
12577         documents with lots of insets. If Inset::parOwner is not set, fall
12578         back on the brute force method
12579
12580         * paragraph_pimpl.C (insertInset):
12581         * paragraph.C (Paragraph):
12582         (cutIntoMinibuffer): set parOwner of insets when
12583         inserting/removing them
12584
12585         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12586
12587 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12588
12589         * tabular-old.C (getTokenValue):
12590         * tabular.C (getTokenValue):
12591         (write_attribute): new versions for LyXLength
12592         (everywhere): adjust the use of widths
12593
12594         * tabular.h: change the type of widths from string to LyXLength
12595
12596 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12597
12598         * paragraph.C: fixed missing line number count when exporting
12599         Environments to LaTeX file
12600
12601         * buffer.C: added informational message for checking line numbers.
12602
12603 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12604
12605         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12606         paragraph, do the 'double space' part, but not the 'empty
12607         paragraph' one.
12608
12609         * text.C (workWidth): small optimization
12610         (getLengthMarkerHeight): use minimal size for negative lengths.
12611
12612 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12613
12614         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12615
12616         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12617
12618 2001-12-11  André Pönitz <poenitz@gmx.net>
12619
12620         * FontLoader.C:
12621         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12622
12623 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12624
12625         * text2.C: keep selection on a setFont()
12626
12627 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12628
12629         * lyx_cb.C: another bv->text misuse, from insert label
12630
12631 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12632
12633         * kbsequence.h:
12634         * kbsequence.C: re-instate nmodifier mask
12635
12636 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12637
12638         * lyx_main.h: make lyxGUI private.
12639
12640 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12641
12642         * lyxfind.C: place the cursor correctly on failed search
12643
12644 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12645
12646         * text.C (getLengthMarkerHeight): for small heights, the arrows
12647         are not always on top/bottom of the text
12648         (drawLengthMarker): smaller arrows; take the left margin in
12649         account; draw also vfills.
12650         (paintFirstRow):
12651         (paintLastRow): remove special code for vfill and standard spaces,
12652         since everything is handled in drawLengthMarker now.
12653
12654 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12655
12656         * buffer.C (insertErtContents): try to handle font and language
12657         interaction a bit better.g
12658
12659         * ColorHandler.C (updateColor): change the hash to cover the whole
12660         LColor enum, ws cleanup
12661         (getGCLinepars): ditto
12662         (getGCLinepars): only lookup in the linecache once.
12663
12664 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12665
12666         * iterators.C (operator++): Make the iterator more robust
12667
12668         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12669         (John's patch)
12670         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12671
12672 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * lyxtext.h:
12675         * text.C: better added space drawing
12676
12677 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12678
12679         * LyXView.C:
12680         * BufferView2.C: fix layout combo update on inset unlock
12681
12682 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12683
12684         * Makefile.am: don't compile unused files
12685
12686 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12687
12688         * lyxfunc.C:
12689         * commandtags.h:
12690         * LyXAction.C: remove old LFUN_LAYOUTNO
12691
12692 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * paragraph_pimpl.h:
12695         * paragraph_pimpl.C: isTextAt() doesn't need font param
12696
12697 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * lyxlex.h:
12700         * lyxlex.C: little cleanup
12701
12702 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12703
12704         * BufferView_pimpl.C: fix insertAscii for insets
12705
12706 2001-12-05  Juergen Vigna  <jug@sad.it>
12707
12708         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12709         set the right font on the "multi" paragraph paste!
12710
12711 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12712
12713         * trans_decl.h:
12714         * trans_mgr.[Ch]:
12715         * trans.[Ch]:
12716         * lyxgluelength.C:
12717         * lyxlength.C: remove out-commented code.
12718
12719         * BufferView_pimpl:
12720         * CutAndPaste.C:
12721         * DepTable.C:
12722         * buffer.C:
12723         * chset.C:
12724         * lastfiles.C:
12725         * lyxlex.C:
12726         * lyxlex_pimpl.C:
12727         * lyxserver.C:
12728         * screen.C:
12729         * tabular-old.C:
12730         * tabular.C:
12731         * text.C:
12732         * trans_mgr.C:
12733         * vc-backend.C: change "while(" to "while ("
12734
12735         * lyxlength.[Ch]: add zero function to check if length is zero or
12736         not
12737         * lyxgluelength.C: use it
12738
12739 2001-12-05  Allan Rae  <rae@lyx.org>
12740
12741         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12742         Works for 2.95.3, from what I understand of Garst's reports this should
12743         work for other g++ versions.  We're screwed if the abs(int) definition
12744         changed between bugfix releases of gcc.
12745
12746 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12747
12748         * text.C: fix chapter label offset !
12749
12750 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12751
12752         * lyxtext.h:
12753         * text.C: fix hfill at end of line, clean up
12754
12755 2001-12-04  Juergen Vigna  <jug@sad.it>
12756
12757         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12758         that we force an update of the inset and it's owners if neccessary.
12759
12760 2001-12-03  Juergen Vigna  <jug@sad.it>
12761
12762         * text.C (rowLast): simplified code
12763
12764 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12765
12766         * lyxfunc.C: fix show options on timeout
12767
12768 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12769
12770         * screen.C (topCursorVisible): scroll half a page when the cursor
12771         reached top of bottom of screen
12772
12773 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12774
12775         * minibuffer.C: deactivate on loss of focus
12776
12777 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12778
12779         * vspace.[Ch] (operator!=): add operator.
12780
12781 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12782
12783         * BufferView_pimpl.C: refuse to open an inset when
12784         there's a selection.
12785
12786 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12787
12788         * BufferView_pimpl.C: allow to click on RHS of full row insets
12789
12790 2001-11-30  Juergen Vigna  <jug@sad.it>
12791
12792         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12793         insets for undo reasons.
12794
12795 2001-11-28  André Pönitz <poenitz@gmx.net>
12796
12797         * vspace.[Ch]: cosmetical changes
12798
12799 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12800
12801         * LyXAction.h:
12802         * LyXAction.C:
12803         * lyxfunc.h:
12804         * lyxfunc.C:
12805         * kbmap.h:
12806         * kbmap.C:
12807         * lyxrc.C:
12808         * kbsequence.h:
12809         * kbsequence.C: part re-write of old kb code
12810
12811         * Painter.C:
12812         * WorkArea.C: remove Lgb_bug_find_hack
12813
12814 2001-11-30  José Matos <jamatos@fep.up.pt>
12815
12816         * buffer.C (makeDocBookFile): add a comment to point a hack.
12817         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12818         Fixed a double write of labels.
12819
12820 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12821
12822         * LaTeX.C:
12823         * LaTeX.h Fixed bug in LaTeX class where it would not
12824         re-run latex if no depfiles were changed, but the .dvi was removed.
12825
12826 2001-11-28  André Pönitz <poenitz@gmx.net>
12827
12828         * all the files from the change on 2001/11/26:
12829         use lyx::layout_type instead of LyXTextClass::size_type
12830         use lyx::textclass_type instead of LyXTextClassList::size_type
12831
12832 2001-11-29  Juergen Vigna  <jug@sad.it>
12833
12834         * text.C: added support for paragraph::isFreeSpacing()
12835
12836         * buffer.C: same as above
12837
12838         * paragraph.h: inserted isFreeSpacing() function to enable
12839         FreeSpacing inside InsetERT.
12840
12841         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12842         of the paragraph's in the cut/copy buffer to 0!
12843
12844         * text2.C (removeRow): remove the assert as it can!
12845
12846         * lyxtext.h: added helper function firstRow returning firstrow and
12847         made firstrow private again.
12848
12849         * BufferView2.C (lockInset): don't relock if we're already locked!
12850
12851         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12852         the only paragraph.
12853         (removeRow): added Assert::(firstrow)
12854
12855         * debug.C: forgot to add INSETTEXT here.
12856
12857 2001-11-28  Juergen Vigna  <jug@sad.it>
12858
12859         * sp_spell.C (initialize): changed error text to more general
12860         spellchecker command use (not only ispell!)
12861
12862         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12863
12864         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12865
12866 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12867
12868         * vspace.C: initialise lyxgluelength on failure
12869
12870 2001-11-28  Allan Rae  <rae@lyx.org>
12871
12872         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12873         declaration & definition that looks like a function declaration.
12874
12875 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12876
12877         * BufferView2.C (copy):
12878         (copyEnvironment): do not clear the selection when doing a copy.
12879
12880         * text.C (paintFirstRow): compilation fix
12881
12882 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12883
12884         * tabular.C (Latex): correct line count when writing latex.
12885
12886 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12887
12888         * paragraph_pimpl.h:
12889         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12890           bug a bit
12891
12892 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12893
12894         * text.C:
12895         * LColor.h:
12896         * LColor.C: change vfillline->added_space
12897
12898         * text.C: add markers and text for added space
12899
12900         * vspace.C: fix comment
12901
12902 2001-11-28  André Pönitz <poenitz@gmx.net>
12903
12904         * paragraph.C: whitespace changes
12905         * all the other files from the change on 2001/11/26:
12906         change *::pos_type into lyx::pos_type
12907
12908 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12909
12910         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12911         language of the document when inserting error insets.
12912
12913 2001-11-26  André Pönitz <poenitz@gmx.net>
12914
12915         * BufferView_pimpl.[Ch]:
12916         *       CutAndPaste.C:
12917         * buffer.[Ch]:
12918         * lyxcursor.[Ch]:
12919         * lyxfind.C:
12920         * lyxfunc.C:
12921         * lyxrow.[Ch]:
12922         * paragraph.[Ch]:
12923         * paragraph_pimpl.[Ch]:
12924         * sp_spell.C:
12925         * text.C:
12926         * text2.C: reduce header dependencies, introduce type for positions
12927
12928 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12929
12930         * <various>: change to use Alert.h
12931
12932 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12933
12934         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12935         when encountering an unknown token.
12936         (readLyXformat2): Show an error message if there were unknown tokens.
12937
12938 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12939
12940         * BufferView2.C:
12941         * BufferView_pimpl.C:
12942         * buffer.C:
12943         * paragraph.h:
12944         * text.C:
12945         * text2.C: use par->isInset()
12946
12947 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12948
12949         * paragraph_pimpl.h:
12950         * paragraph_pimpl.C: cleanup
12951
12952 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12953
12954         * text2.C (removeRow):
12955         * text.C (setHeightOfRow): remove useless (and costly) call to
12956         getRow.
12957
12958 2001-11-20  Allan Rae  <rae@lyx.org>
12959
12960         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12961         Now need Inset*::checkInsertChar() to return true for appropriate
12962         cases so that the characters in the minibuffer will actually be
12963         inserted.
12964
12965 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12966
12967         * text.C: change the order of the includes.
12968         (workWidth): initialize it at once.
12969         (workWidth): make maxw unsigned
12970         (setHeightOfRow): remove unused variable (inset)
12971         (selectSelectedWord): remove unused variable (inset)
12972         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12973
12974 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12975
12976         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12977         server is not running.
12978         (openConnection):
12979         (closeConnection): add debug info when server is disabled.
12980
12981         * ColorHandler.C (getGCForeground): send debug message to GUI
12982         channel.
12983
12984         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12985
12986         * kbmap.C (bind): modify because return conventions of
12987         kb_sequence::parse have changed.
12988
12989         * kbsequence.C (parse): only ignore spaces and not any stupid
12990         control character. This avoids tests like s[i] <= ' ', which are
12991         guaranteed to fail with 8bit characters and signed chars.
12992         Change return code to string::npos when there have been no error
12993         (0 was a bad idea when error is at first character)
12994
12995 2001-11-14  José Matos  <jamatos@fep.up.pt>
12996
12997         * buffer.h:
12998         * buffer.C (simpleDocBookOnePar): removed unused argument.
12999
13000 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13001
13002         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13003         insets which are part of a word. Paragraph::isLetter takes care of
13004         that now. Use Paragraph::isInset to identify insets.
13005         (selectSelectedWord): do not test for hyphenation break.
13006
13007         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13008         that protected spaces are considered as spaces.
13009
13010         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13011         Inset::isLetter.
13012
13013 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13014
13015         * lyxserver.h:
13016         * lyxserver.C: fix it. and small cleanup.
13017
13018 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13019
13020         * BufferView_pimpl.C: use inline helpers
13021
13022         * LaTeXFeatures.h:
13023         * LaTeXFeatures.C: fix typos
13024
13025         * Spacing.h:
13026         * Spacing.C: move spacing_string into class
13027
13028         * ToolbarDefaults.C: move stuff into namespace anon
13029
13030         * layout.h: update enum
13031
13032         * lyxfunc.C: use better debug
13033
13034         * minibuffer.h: fix typo
13035
13036         * debug.h:
13037         * debug.C:
13038         * WorkArea.C: add and use Debug::WORKAREA
13039
13040         * lyxtext.h:
13041         * text.C:
13042         * text2.C: code re-organisation, inline helpers
13043
13044 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13045
13046         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13047         std::vector.empty().
13048
13049 2001-11-09  Allan Rae  <rae@lyx.org>
13050
13051         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13052         '\n's after tables.  Tabular and ERT inset work now makes this no
13053         longer necessary.
13054
13055 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13056
13057         * minibuffer.h:
13058         * minibuffer.C: fix crash, improve drop-down completion
13059
13060 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13061
13062         * lyxserver.h:
13063         * lyxserver.C: invalidate fd's when doing endPipe()
13064
13065 2001-11-08  José Matos  <jamatos@fep.up.pt>
13066
13067         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13068         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13069
13070         * paragraph.h:
13071         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13072
13073 2001-11-07  José Matos  <jamatos@fep.up.pt>
13074
13075         * buffer.h:
13076         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13077         const qualifier.
13078
13079         * buffer.C (sgmlOpenTag):
13080         * buffer.C (sgmlCloseTag): removed debug info.
13081
13082         * buffer.h (sgmlOpenTag):
13083         * buffer.h (sgmlCloseTag): made public.
13084
13085 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13086
13087         * buffer.C (saveParamsAsDefaults):
13088         * lyx_cb.C (MenuLayoutSave): remove
13089
13090         * LyXAction.C (init):
13091         * commandtags.h:
13092         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13093
13094 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13095
13096         * buffer.C (setPaperStuff): removed from here...
13097
13098         * bufferparams.C (setPaperStuff): ... and moved there.
13099
13100 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13101
13102         * minibuffer.h:
13103         * minibuffer.C:
13104         * XFormsView.C: add support for drop-down completion
13105
13106 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13107
13108         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13109         commands.
13110
13111 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13112
13113         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13114         disabled.
13115
13116 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13117
13118         * lyx_main.C: change ref to known bugs
13119
13120 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13121
13122         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13123         to work around older babel problems.
13124
13125 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13126
13127         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13128
13129 2001-10-24  Juergen Vigna  <jug@sad.it>
13130
13131         * tabular-old.C (ReadOld): below variable changes reflected.
13132
13133         * tabular.[Ch]: added ltType struct for longtable header/footer
13134         defines and changed all instances where they are used. Added
13135         future support for double top/bottom rows.
13136
13137 2001-10-24  José Matos  <jamatos@fep.up.pt>
13138
13139         * buffer.h (docbookHandleCaption):
13140         * buffer.C (docbookHandleCaption): removed unused function.
13141         (makeDocBookFile): moved docbook supported version to v4.1.
13142
13143 2001-10-24  José Matos  <jamatos@fep.up.pt>
13144
13145         * tabular.h:
13146         * tabular.C (docbookRow): new function to export docbook code of a row.
13147         (DocBook): now honors the longtable flags.
13148
13149 2001-10-23  José Matos  <jamatos@fep.up.pt>
13150
13151         * LaTeXFeatures.h:
13152         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13153         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13154
13155         * buffer.C (makeLinuxDocFile):
13156         (makeDocBookFile): reworked the preamble, more clean, and with
13157         support for lyx defined entities. Changed the document declaration
13158         to be more XML friendly.
13159
13160         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13161         if we need to output XML that should be done with a filter.
13162
13163 2001-10-22  Juergen Vigna  <jug@sad.it>
13164
13165         * sp_pspell.h (class PSpell): add alive function needed in the
13166         controller to see if the spellchecker could be started.
13167
13168 2001-10-22  Juergen Vigna  <jug@sad.it>
13169
13170         * buffer.C (insertStringAsLines): modify the font for inserting
13171         chars in certain conditions by calling checkInsertChar(font).
13172
13173 2001-10-19  Juergen Vigna  <jug@sad.it>
13174
13175         * text.C (workWidth): use getRow instead of wrong algorithm.
13176         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13177
13178 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13179
13180         * lyxserver.h:
13181         * lyxserver.C:
13182         * lyx_main.h:
13183         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13184
13185 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13186
13187         * text.C (workWidth): do not search for the exact row when
13188         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13189         optimization for big documents.
13190
13191 2001-10-18  Juergen Vigna  <jug@sad.it>
13192
13193         * text.C (workWidth): new function with added Inset * parameter.
13194
13195 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13196
13197         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13198
13199         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13200         change return type of getColumnNearX.
13201
13202
13203         * text.C (changeRegionCase): use uppercase/lowercase instead of
13204         toupper/tolower.
13205         (leftMargin):
13206         (rightMargin): simplify code by factoring out the uses of
13207         textclasslist.
13208         (labelFill):
13209         (numberOfHfills):
13210         (setHeightOfRow):
13211         (appendParagraph): use Paragraph::size_type
13212
13213 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13214
13215         * vspace.C (asLatexString): add a missing break
13216
13217 2001-10-15  Herbert Voss  <voss@perce.de>
13218
13219         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13220
13221 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13222
13223         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13224         is not available.
13225
13226 2001-10-10  André Pönitz <poenitz@gmx.net>
13227
13228         * lyxfunc.C: removed greek_kb_flag.
13229
13230 2001-10-10  Herbert Voss  <voss@perce.de>
13231
13232         * lyx_main.C: delete global string help_lyxdir.
13233
13234 2001-10-09  Herbert Voss  <voss@perce.de>
13235
13236         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13237
13238         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13239
13240         * lyx_main.C: added global string help_lyxdir.
13241
13242         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13243
13244 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13245
13246         * lyxrc.C (set_font_norm_type): support iso8859-4
13247
13248 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13249
13250         * LaTeX.C (deplog): add another regex for MikTeX
13251
13252 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13253
13254         * lyxrc.C (set_font_norm_type): support iso8859-3
13255
13256 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13257
13258         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13259
13260         * LaTeXFeatures.C: remove special case of french and index
13261
13262         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13263         before \begin{document}). This solves several incompatibilities.
13264
13265 2001-10-03  Garst Reese  <reese@isn.net>
13266
13267         * lyx_cb.C: change CheckTex error msg.
13268
13269 2001-10-03  José Matos  <jamatos@fep.up.pt>
13270
13271         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13272
13273 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13274
13275         * .cvsignore: update
13276
13277         * lyx_main.C (commandLineVersionInfo): use new style version info.
13278
13279         * buffer.C (writeFile):
13280         (makeLaTeXFile):
13281         (makeLinuxDocFile):
13282         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13283
13284         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13285
13286         * version.h: update to use stuff in version.C
13287
13288         * version.C.in: new file. Contains version information determined
13289         at compile time. This is a merging of version.h and
13290         version_info.h.in.
13291
13292 2001-10-03  Juergen Vigna  <jug@sad.it>
13293
13294         * BufferView_pimpl.C (update): don't change "dirty" status in
13295         updateInset call.
13296
13297 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13298
13299         * WorkArea.C (c-tor): re-position version string slightly.
13300
13301 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13302
13303         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13304         revert to previous code.
13305
13306         WorkArea.[Ch]: (show, destroySplash): methods removed.
13307
13308         WorkArea.C: rework code so that it's an amalgam of the codes before and
13309         after the splash screen was moved to WorkArea.
13310
13311 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13312
13313         * lyxrc.C (read):
13314         * vspace.C (inPixels):
13315         (lyx_advance):
13316         * kbmap.C (bind):
13317         * buffer.C (insertStringAsLines):
13318         (asciiParagraph): fix types to be large enough
13319
13320         * lyxlex_pimpl.h: change member status from short to int
13321
13322         * layout.h: fix type of endlabeltype
13323
13324         * kbmap.C (bind):
13325         * kbsequence.C (parse): change return type to string::size_type
13326
13327         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13328         variable
13329
13330         * Bullet.C (bulletSize):
13331         (bulletEntry): do not use short ints as parameters
13332
13333         * BufferView2.C (insertLyXFile): change a char to an int.
13334
13335         * WorkArea.C (WorkArea): remove unneeded floats in computation
13336
13337 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13338
13339         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13340
13341         * paragraph.C (asString): Do not ignore newline/hfill chars when
13342         copying to the clipboard.
13343
13344 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13345
13346         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13347         after a multi-line inset.
13348
13349 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13350
13351         * paragraph.C (validate): Set NeedLyXFootnoteCode
13352
13353 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13354
13355         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13356         and decrease-error to decrease.
13357
13358 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13359
13360         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13361         it more readable (should be equivalent)
13362
13363 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13364
13365         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13366
13367 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13368
13369         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13370         of a cursor (row, etc.) after a character has been deleted
13371         (deleteEmptyParagraphMechanism): call the method above on _all_
13372         cursors held by the LyXText when a double space has been
13373         detected/deleted.
13374
13375 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13376
13377         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13378         pixmap.
13379         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13380
13381         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13382         background. Use greyOut() and the new show() methods to toggle between
13383         the foreground and background. Add code to remove the splash after
13384         its initial showing.
13385
13386         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13387         (create_forms): no longer call Dialogs::showSplash.
13388
13389 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13390
13391         * .cvsignore: add version_info.h
13392
13393 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13394
13395         * version_info.h.in: new file
13396
13397         * Makefile.am: add version_info.h.in
13398
13399         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13400         version_info.h instead of VERSION_INFO
13401
13402 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13403
13404         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13405         The ERT inset now returns string().
13406
13407 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13408
13409         * lyxtext.h, text.C (selectNextWord): renamed as
13410         selectNextWordToSpellcheck.
13411
13412         * text.C (selectNextWordToSpellcheck): Modified to not select
13413         words inside an ERT inset.
13414
13415 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13416
13417         * lyx_cb.C (MenuLayoutSave): change a bit the question
13418
13419         * sp_base.h: include <sys/types.h>
13420
13421 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13422
13423         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13424
13425 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13426
13427         * several files: fix typos in user-visible strings
13428
13429 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13430
13431         * text2.C (pasteSelection): do not set the selection, since it
13432         will be cleared later. Actually, the intent was to fix the way the
13433         selection was set, but I figured rmoving the code was just as good.
13434
13435 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13436
13437         * FontLoader.C (available): Check if font is available without
13438         loading the font.
13439
13440 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13441
13442         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13443
13444 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13445
13446         * lyxrc.[Ch]: added display_graphics variable and associated code.
13447
13448 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13449
13450         * bufferparams.C (hasClassDefaults): new method. Returns true if
13451         the buffer parameters correspond to known class defaults
13452
13453 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13454
13455         * XFormsView.C (show): set minimum size to the main window.
13456
13457 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13458
13459         * text2.C (copySelection):
13460         (cutSelection):
13461         * lyxfind.C (LyXReplace):
13462         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13463         LyXText::selectionAsString.
13464
13465         * paragraph.C (asString): add "label" argument to the second form
13466
13467         * text2.C (selectionAsString): add "label" argument and pass it to
13468         Paragraph::asString.
13469
13470 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13471
13472         * lyx_main.C (commandLineHelp): remove version information
13473
13474 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13475
13476         * lyx_main.C: add -version commandline option
13477
13478 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13479
13480         * paragraph.h: make the optional constructor arg required instead.
13481         some modifications to other files because of this.
13482
13483         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13484
13485         * lyxserver.C (C_LyXComm_callback): make it static
13486
13487         * lyx_main.C (error_handler): make it static
13488
13489         * lyx_gui.C (LyX_XErrHandler): make it static
13490
13491         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13492
13493         * WorkArea.C: make the extern "C" methods static.
13494
13495         * Makefile.am (lyx_LDADD): simplify
13496
13497 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13498
13499         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13500         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13501
13502         * LyXAction.C (init):
13503         * lyxfunc.C (dispatch): associated code removal.
13504
13505 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13506
13507         * lyxfont.h (isSymbolFont): shut off warning
13508
13509         * text.C (setHeightOfRow):
13510         (getVisibleRow): fix crash with empty paragraphs which have a
13511         bottom line
13512
13513 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13514
13515         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13516         code.
13517
13518 2001-09-04  José Matos  <jamatos@fep.up.pt>
13519         * buffer.C
13520         * buffer.h
13521         * tabular.C (docbook): rename docBook method to docbook.
13522
13523 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13524
13525         * Makefile.am: add dependencies to main.o.
13526
13527 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13528
13529         * FontLoader.C (available): Return false if !lyxrc.use_gui
13530
13531 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13532
13533         * FontInfo.C (query):
13534         * converter.C (view):
13535         * importer.C (Import):
13536         * exporter.C (Export): Can not -> cannot.
13537
13538 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13539
13540         * BufferView_pimpl.C: allow to create index inset even if
13541           string is empty
13542
13543 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13544
13545         * buffer.C (getLists): replace boost::tie code with an explicit pair
13546         as boost::tie can break some compilers.
13547
13548         * iterators.h: Added a std:: declaration to the return type of
13549         ParIterator::size.
13550
13551 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13552
13553         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13554           case.
13555
13556 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13557
13558         * iterators.[Ch]: New files. Provide paragraph iterators.
13559
13560         * buffer.C (changeLanguage): Use paragraph iterators.
13561         (isMultiLingual): ditto
13562
13563         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13564
13565 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13566
13567         * FontLoader.C: Support for cmr font.
13568
13569 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13570
13571         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13572         (available): New method.
13573
13574         * FontInfo.C (getFontname): Use scalable fonts even when
13575         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13576         found.
13577
13578 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13579
13580         * converter.C (Formats::view): reverted! Incorrect fix.
13581
13582 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13583
13584         * converter.C (Formats::view): only output the -paper option
13585         if the dvi viewer is xdvi, thereby fixing bug #233429.
13586
13587 2001-08-23  Herbert Voss  <voss@perce>
13588
13589         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13590
13591 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13592
13593         * Spacing.h (Spacing): Set space to Default on in the default
13594         constructor.
13595
13596 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13597
13598         * vc-backend.h (RCS::versionString): add RCS to version
13599         (CVS::versionString): add CVS to version
13600
13601         * vc-backend.C (scanMaster): do not add CVS to version.
13602         (scanMaster): do not add RCS to version
13603
13604         * lyxvc.C (versionString): new method
13605
13606         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13607
13608 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13609
13610         * Spacing.C (set): initialize fval
13611
13612 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13613
13614         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13615         " or \.
13616
13617 2001-08-16  Juergen Vigna  <jug@sad.it>
13618
13619         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13620
13621 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13622
13623         * BufferView_pimpl.C:
13624         * figureForm.C:
13625         * lyxtext.h:
13626         * text2.C: setParagraph takes linespacing now
13627
13628 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13629
13630         * LyxAction.C: add internal LFUN_CITATION_INSERT
13631
13632         * LyXView.C: actually apply fix
13633
13634         * bufferlist.C: fix open non-existent file
13635
13636         * lyxfind.C: fix indentation
13637
13638         * lyxfunc.C: remove unneeded assert, fix typo
13639
13640 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13641
13642         * MenuBackend.C: use "Floatname List"
13643
13644 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13645
13646         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13647         when converting LaTeX layout to insetERT.
13648         Generate a non-collapsed float when reading old float
13649
13650 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13651
13652         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13653         ERT insets.
13654
13655 2001-08-13  Juergen Vigna  <jug@sad.it>
13656
13657         * text.C (fill): return 0 instead of 20 as this seems to be the more
13658         correct value.
13659
13660 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13661
13662         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13663         lyxrc.font_norm.
13664
13665 2001-08-13  Juergen Vigna  <jug@sad.it>
13666
13667         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13668         casesensitive off.
13669         (SearchBackward): comment out the unlocking of the inset_owner this
13670         should not be needed!
13671
13672 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13673
13674         * Many files: Remove inherit_language, and add latex_language
13675
13676         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13677         collapsible insets.
13678
13679 2001-08-10  Juergen Vigna  <jug@sad.it>
13680
13681         * text.C (prepareToPrint): fixed hfill-width in draw!
13682
13683         * BufferView2.C (selectLastWord): save the selection cursor as this
13684         now is cleared in the function LyXText::clearSelection!
13685
13686 2001-08-08  Juergen Vigna  <jug@sad.it>
13687
13688         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13689         BACKSPACE type functions.
13690
13691         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13692         is only cutted from the document but not put in the cut-buffer, where
13693         still the old stuff should be.
13694
13695         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13696
13697         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13698
13699         * tabular.C (SetWidthOfCell): fixed special case where the width
13700         was not updated!
13701         (LeftLine): handle '|' in align_special.
13702         (RightLine): ditto
13703         (LeftAlreadyDrawed): ditto
13704         (SetWidthOfCell): ditto
13705
13706 2001-08-07  Juergen Vigna  <jug@sad.it>
13707
13708         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13709
13710 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13711
13712         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13713         * lyxlex.[hC]: ditto
13714
13715 2001-08-06  Juergen Vigna  <jug@sad.it>
13716
13717         * text.C (getVisibleRow): fix up row clearing a bit.
13718
13719 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13720
13721         * minibuffer.C: make sure the X server sees the changes in the input.
13722
13723 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13724
13725         * paragraph.C (getFont): split into...
13726         (getLabelFont): this
13727         (getLayoutFont): and this
13728         * paragraph_pimpl.C (realizeFont): calling this
13729
13730         * text2.C (getFont): split into...
13731         (getLayoutFont): this
13732         (getLabelFont): and this
13733         (realizeFont): all three calling this
13734
13735         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13736         files where used.
13737
13738 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13739
13740         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13741
13742 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13743
13744         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13745         layouts from the Quote inset insertion.
13746
13747 2001-08-03  Juergen Vigna  <jug@sad.it>
13748
13749         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13750
13751         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13752         only if status not is already CHANGED_IN_DRAW (second level).
13753
13754         * text.C (draw): don't set the need_break_row when inside an
13755         InsetText LyXText.
13756
13757 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13758
13759         * buffer.C (parseSingleLyXformat2Token): handle more latex
13760         conversion cases.
13761
13762         * bufferview_funcs.[hC]: change function names to
13763         begin with small char, adjust other files.
13764
13765 2001-08-02  André Pönitz <poenitz@gmx.net>
13766
13767         * lyxfunc.C:
13768         BufferView_pimpl.C: remove broken special code for math-greek
13769
13770 2001-08-02  Juergen Vigna  <jug@sad.it>
13771
13772         * BufferView_pimpl.C (update): redone this function so that we
13773         update the text again if there was a CHANGE_IN_DRAW.
13774
13775         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13776         (drawFromTo): added a new internal bool which is used by draw() and
13777         redraw() function.
13778         (general): some cursor drawing problems fixed.
13779
13780 2001-08-01  Juergen Vigna  <jug@sad.it>
13781
13782         * lyxfind.C (LyXFind): fixed
13783         (SearchForward): ditto
13784         (SearchBackward): ditto
13785
13786         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13787         spurius drawing of the cursor in the main area.
13788
13789         * text2.C (status): small fix which could lead to a segfault!
13790         (clearSelection): remove unneeded BufferView param.
13791
13792 2001-08-01  André Pönitz <poenitz@gmx.net>
13793
13794         * lyxfunc.C: small change due to changed mathed interface
13795
13796 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13797
13798         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13799
13800 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13801
13802         * lyxfunc.c: fail gracefully if file doesn't exist
13803
13804         * LyXSendto.C:
13805         * buffer.C:
13806         * lyxfunc.C:
13807         * BufferView_pimpl.C: IsDirWriteable() proto changed
13808
13809         * LyXView.C: fix updateWindowTitle() to store the last title
13810
13811 2001-07-31  Juergen Vigna  <jug@sad.it>
13812
13813         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13814         the font (wrong since using of Paragraph::highestFontInRange).
13815
13816         * paragraph.C (highestFontInRange): added a default_size parameter.
13817
13818         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13819         (setHeightOfRow): reformat
13820
13821 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13822
13823         * converter.[hC] + affected files: move to (inital-char)lowercase
13824         function names.
13825
13826         * ParagraphParameters.C (ParagraphParameters): remove commented code
13827
13828         * PainterBase.[Ch]: remove commented code
13829
13830         * LaTeXFeatures.h: add "bool floats" for float.sty
13831
13832         * LaTeXFeatures.C (LaTeXFeatures): init floats
13833         (require): handle float
13834         (getPackages): do it with floats
13835
13836 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13837
13838         * BufferView_pimpl.C (Dispatch): improve handling of
13839         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13840
13841         * commandtags.h: #include lyxfont.h here temporarily to avoid
13842         keybinding bug.
13843
13844         * bufferlist.h: include LString.h here.
13845
13846 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13847
13848         * text2.C (getStringToIndex): new method.
13849
13850 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13851
13852         * *: Reduced header file dependencies all over.
13853
13854 2001-07-30  Baruch Even  <baruch@lyx.org>
13855
13856         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13857
13858 2001-07-29  Baruch Even  <baruch@lyx.org>
13859
13860         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13861
13862 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13863
13864         * ParameterStruct.h (endif): add a default constructor to make
13865         sure that all variables is initialized.
13866
13867         * ParagraphParameters.C (ParagraphParameters): adjust
13868
13869 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13870
13871         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13872         index; also, check that there is something to index, and that it
13873         does not span over several paragraphs.
13874         (doubleClick): use WHOLE_WORD_STRICT for double click.
13875
13876         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13877
13878         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13879         scheme.
13880
13881 2001-07-26  Baruch Even  <baruch@lyx.org>
13882
13883         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13884         an InsetFig figure, backwards compatible reading of old figure code.
13885
13886 2001-07-27  Juergen Vigna  <jug@sad.it>
13887
13888         * text2.C: font.realize function adaption.
13889
13890         * text.C (draw): add a warnings lyxerr text if needed.
13891
13892         * layout.C: font.realize function adaption.
13893
13894         * language.C: add inherit_language and implement it's handlings
13895
13896         * bufferview_funcs.C (StyleReset): remove language parameter from
13897         font creation (should be language_inherit now).
13898
13899         * bufferparams.C (writeFile): handle ignore_language.
13900
13901         * paragraph.C (getFontSettings): the language has to be resolved
13902         otherwise we have problems in LyXFont!
13903
13904         * lyxfont.C (lyxWriteChanges): added document_language parameter
13905         (update): removed unneeded language parameter
13906
13907         * paragraph.C (validate): fixed wrong output of color-package when
13908         using interface colors for certain fonts in certain environments,
13909         which should not seen as that on the final output.
13910
13911 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13912
13913         * BufferView_pimpl.C:
13914         * Thesaurus.h:
13915         * Thesaurus.C:
13916         * Makefile.am:
13917         * commandtags.h:
13918         * LyXAction.C: add thesaurus support
13919
13920         * lyxfind.h:
13921         * lyxfind.C: add "once" parameter, for thesaurus, to not
13922           move to the next match
13923
13924 2001-07-26  Juergen Vigna  <jug@sad.it>
13925
13926         * lyxfont.C (realize): honor ignore_language too!
13927         (resolved): ditto.
13928
13929         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13930
13931         * text.C (draw): one place more for ignore_language to not draw
13932         itself!
13933
13934 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13935
13936         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13937
13938 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13939
13940         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13941         the minipage conversion problem.
13942
13943 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13944
13945         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13946         insert an inset.
13947
13948 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13949
13950         * BufferView.h: don't forward declare WorkArea
13951
13952         * BufferView.C: don't include WorkArea.h
13953
13954 2001-07-25  André Pönitz <poenitz@gmx.net>
13955
13956         * commandtags.h:
13957         * LyXAction.C:
13958         * lyxfunc.C:  new LFUN 'math-space'
13959
13960         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13961
13962 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13963
13964         * text2.C (toggleInset): call open/close
13965
13966 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13967
13968         * lyxfunc.C (dispatch): add debug for the disabled case
13969
13970         * font.C (buttonText): make similar to rectText
13971
13972         * buffer.C (readInset): comment out parsing of insetlist and
13973         insttheorem
13974
13975         * PainterBase.C (rectText): small correction
13976
13977         * BufferView_pimpl.C: comment out insettheorem and insetlist
13978         * LyXAction.C: ditto
13979         * commandtags.h: ditto
13980
13981 2001-07-24  Juergen Vigna  <jug@sad.it>
13982
13983         * text.C (draw): honor the ignore_language.
13984
13985         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13986
13987 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13988
13989         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13990         char inset.
13991
13992 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13993
13994         * lyxtext.h: remove unused (and unimplemented) methods
13995
13996 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13997
13998         * text.C (getVisibleRow): honor background color
13999
14000         * PainterBase.h:
14001         * Painter.h: remove default color argument for fillRectangle
14002
14003         * text.C (backgroundColor): new method
14004
14005 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14006
14007         * text.C (getVisibleRow): adjust
14008
14009         * font.[Ch] (rectText): new method, metrics
14010         (buttonText): new method, metrics
14011
14012         * PainterBase.[hC]: make rectText and buttonText always draw and take
14013         fewer paramteres.
14014
14015 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14016
14017         * ToolbarDefaults.C (read):
14018         * MenuBackend.C (read): allow escaping in all strings
14019
14020         * BufferView_pimpl.C (insertAndEditInset): new method.
14021         (Dispatch): use insertAndEditInset whenever appropriate.
14022
14023         * BufferView_pimpl.C (insertNote): removed
14024
14025         * BufferView_pimpl.C (smartQuote): new method, moved from
14026         BufferView; if an insetquote cannot be inserted, insert a '"'
14027         character instead.
14028
14029         * BufferView2.C: remove insertCorrectQuote();
14030
14031         * lyxfunc.C (getStatus): Add support for all remaingin
14032         inset-insert lfuns.
14033
14034         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14035
14036         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14037         command (necessary to pass " as parameter of self-insert.
14038
14039         * text.C (selectWordWhenUnderCursor):
14040         (selectWord): add word_location parameter
14041         (selectWordWhenUnderCursor): same + remove special code for word
14042         boundary.
14043         (selectNextWord): use kind() to guess type of insetspecialchar,
14044         not latex().
14045
14046         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14047         (insertErtContents): create ert insets as collapsed.
14048         (readInset): better compatibility code for Info inset.
14049
14050 2001-07-20  Juergen Vigna  <jug@sad.it>
14051
14052         * lyxfunc.C (dispatch): use always LyXFind now!
14053
14054         * text2.C (init): add a reinit flag so that the LyXText can be
14055         reinited instead of deleted and reallocated (used in InsetText).
14056
14057         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14058
14059         * text.C: ditto
14060
14061         * text2.C: ditto
14062
14063 2001-07-18  Juergen Vigna  <jug@sad.it>
14064
14065         * text.C (selectNextWord): handle insets inside inset by calling
14066         always the bv->text functions so that we can go up the_locking_inset!
14067
14068         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14069         in strange locations when inside an inset!
14070
14071         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14072         handling to include insets.
14073
14074         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14075
14076 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14077
14078         * LyXAction.C (init):
14079         * commandtags.h:
14080         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14081         LIGATURE_BREAK, since the name is so stupid.
14082
14083 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14084
14085         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14086         InsetInfos.
14087
14088         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14089
14090         * sp_form.[Ch]: remove.
14091
14092         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14093
14094         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14095         InsetInfo.
14096
14097         * src/buffer.C (readInset): ditto.
14098
14099 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14100
14101         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14102         menuSeparator(), endOfSentenceDot(), ldots() and
14103         hyphenationPoint(), which are therefore removed.
14104         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14105
14106         * LyXAction.C (init):
14107         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14108
14109         * paragraph.C (getWord): removed.
14110
14111         * BufferView_pimpl.C (Dispatch): use last word or selection for
14112         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14113
14114         * lyx_main.C (queryUserLyXDir): do not ask before creating
14115         user_dir, except if it has been named explicitely.
14116
14117 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14118
14119         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14120         a document of zero size.
14121
14122 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14123
14124         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14125         approriately in the c-tor and in require().
14126         (getPackages): output the appropriate LaTeX for natbib support.
14127
14128         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14129         variables "use_natbib" and "use_numerical_citations" when reading the
14130         LyX file.
14131         (readInset): read the various natbib cite commands.
14132         (validate): white-space change.
14133
14134         * bufferparams.[Ch]: new variables "bool use_natbib" and
14135         "bool use_numerical_citations".
14136         (writeFile): output them in the LyX file.
14137
14138 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14139
14140         * lyxfunc.C (getStatus): add support for all the inset insertion
14141         commands.
14142
14143         * text2.C (insertInset):
14144         * paragraph.C (insetAllowed):
14145         * BufferView_pimpl.C (insertInset): update to take in account the
14146         renaming of insertInsetAllowed
14147
14148         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14149
14150         * text2.C (getInset): new method. returns inset at cursor position.
14151
14152         * BufferView_pimpl.C (Dispatch): changes because of this.
14153
14154         * LyXAction.C (init): rename open-stuff to inset-toggle.
14155
14156         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14157
14158         * text2.C (toggleInset): renamed from openStuff; use
14159         Inset::open().
14160
14161 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14162
14163         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14164
14165         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14166
14167 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14168
14169         * buffer.C (readLyXformat2): Add filename to the error dialog
14170
14171 2001-07-18  Juergen Vigna  <jug@sad.it>
14172
14173         * tabular.C (GetCellNumber): put an assert here instead of the check!
14174
14175 2001-07-17  Juergen Vigna  <jug@sad.it>
14176
14177         * BufferView_pimpl.C (toggleSelection): adapted too.
14178
14179         * text.C (selectNextWord): adapted for use with insets.
14180         (selectSelectedWord): ditto
14181
14182 2001-07-17  Juergen Vigna  <jug@sad.it>
14183
14184         * sp_spell.C (PSpell): fix initialitation order.
14185
14186 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14187
14188         * paragraph.C: spacing
14189
14190 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14191
14192         * sp_spell.C: repair language selection for pspell
14193
14194 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14195
14196         * lyxfunc.h: change more methods to begin with lower char.
14197
14198 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14199
14200         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14201         for unknown layouts.
14202
14203 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14204
14205         * buffer.C (readLyXformat2): Generate an error dialog if there are
14206         unknown layouts.
14207
14208 2001-07-16  Juergen Vigna  <jug@sad.it>
14209
14210         * sp_spell.C: always compile ISpell part.
14211
14212         * lyxrc.C: added use_pspell entry and it's handling.
14213
14214 2001-07-13  Juergen Vigna  <jug@sad.it>
14215
14216         * sp_spell.C: removed double includes.
14217
14218 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14219
14220         Consistent use of Lsstream.h:
14221         * Lsstream.h: added using std::stringstream for consistencies sake.
14222
14223         * buffer.C: removed using std::stringstream
14224
14225         * lyxfont.C (stateText):
14226         * paragraph.C (asString):
14227         * text.C (selectNextWord, selectSelectedWord):
14228         * text2.C (setCounter):
14229         * vspace.C (asString, asLatexString):
14230         std::ostringstream -> ostringstream.
14231
14232 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14233
14234         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14235         * commandtags.h: add LFUN_HELP_ABOUTLYX
14236         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14237
14238 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14239
14240         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14241         cursorToggle()
14242         * lyx_gui_misc.C: remove spellchecker
14243         * lyxfunc.C: showSpellchecker
14244         * sp_base.h: added
14245         * sp_ispell.h: added
14246         * sp_pspell.h: added
14247         * sp_spell.C: added
14248         * sp_form.[Ch]: removed
14249         * spellchecker.[Ch]: removed
14250
14251 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14252
14253         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14254         is set.
14255         (simpleTeXSpecialChars): Simply print the input character without
14256         any special translation if pass_thru is set.
14257
14258         * layout.h: Added bool pass_thru to layout class for being able to
14259         implement pass through of a paragraph for Literate Programming.
14260
14261         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14262         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14263         * layout.C (Read): add "passthru" to list of layout tags and add
14264         code to set the pass_thru boolean when it is read.
14265
14266 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14267
14268         * trans_decl.h: remove allowed from KmodInfo
14269
14270         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14271         remove allowed code
14272         (Load): adjust
14273
14274         * paragraph_pimpl.C (erase): use boost::prior
14275
14276         * Painter.C (text): use data() instead of c_str() when length is
14277         also provided.
14278         * WorkArea.C (putClipboard): ditto
14279         * font.h (width): ditto
14280
14281         * BufferView2.C: use it-> instead of (*it). for iterators
14282         * texrow.C: ditto
14283         * paragraph_pimpl.C: ditto
14284         * paragraph.C: ditto
14285         * minibuffer.C: ditto
14286         * language.C: ditto
14287         * kbmap.C: ditto
14288         * encoding.C: ditto
14289         * counters.C: ditto
14290         * converter.C: ditto
14291         * chset.C: ditto
14292         * Variables.C: ditto
14293         * TextCache.C: ditto
14294         * MenuBackend.C: ditto
14295         * LyXAction.C: ditto
14296         * LColor.C: ditto
14297         * FloatList.C: ditto
14298         * DepTable.C: ditto
14299         * ColorHandler.C (LyXColorHandler): ditto
14300
14301 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14302
14303         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14304
14305         * text2.C (openStuff): reintroduce this method (which had been
14306         nuked in NEW_INSETS frenzy).
14307
14308         * lyxfunc.C (Dispatch): when an action has not been handled, use
14309         its name in the error message, not its number.
14310
14311         * paragraph.C (inInset): change method name to begin with lowercase.
14312
14313         * undo_funcs.C:
14314         * text2.C: updates because of this.
14315
14316 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14317
14318         * ToolbarDefaults.C (add): add spaces in error message
14319
14320 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14321
14322         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14323         (readLyXformat2): rename return_par to first_par, use lyxlex's
14324         pushToken and remove the manual push handling.
14325         (parseSingleLyXformat2Token): add another ert comp. variable:
14326         in_tabular, rename return_par to first_par. handle newlines better
14327
14328 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14329
14330         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14331
14332 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14333
14334         * text2.C (getParFromID): removed
14335
14336         * buffer.C (getParFromID): new method moved form lyxtext.
14337         * BufferView2.C (insertErrors): adjust
14338         (setCursorFromRow): adjust
14339         * BufferView_pimpl.C (restorePosition): adjust
14340         * lyxfunc.C (Dispatch): adjust
14341         * undo_funcs.C (textUndo): adjust
14342         (textRedo): adjust
14343         (textHandleUndo): adjust
14344         (textHandleUndo): adjust
14345
14346 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14347
14348         * buffer.C: up' the LYX_FORMAT
14349
14350         * lyxfont.h: turn NO_LATEX on as default
14351
14352         * buffer.C (insertErtContents): new methods of tex style compability.
14353         (parseSingleLyXformat2Token): use it several places.
14354         * tabular.C (OldFormatRead): and here
14355
14356 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14357
14358         * text2.C: remove some commented code.
14359         reindent file.
14360
14361         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14362         * trans.C: changes because of the above.
14363
14364 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14365
14366         * text2.C (setCounter): Fix counters bug with bibliography layout.
14367
14368 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14369
14370         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14371         own member functions
14372         (simpleTeXSpecialChars): ditto
14373
14374 2001-07-06  Juergen Vigna  <jug@sad.it>
14375
14376         * a lot of files: changed the access to LyXText::status and the
14377         call of undo-functions.
14378
14379         * undo.[Ch]: added a inset_id to the undo informations.
14380
14381         * undo_funcs.[Ch]: added and moved here all undo functions.
14382
14383         * lyxtext.h: give the status enum a weight, made status_ a private
14384         variable and made accessor functions for it, removed the whole bunch
14385         of undo-functions as they are now in their own file, make some
14386         functions publically available. Added function ownerParagraph with
14387         int parameter.
14388
14389         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14390         made InInset() a const function, added getParFromID() function.
14391
14392         * buffer.[Ch]: added const version for inset_iterator functions,
14393         added getInsetFromID() function.
14394
14395         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14396         changed undo functions for new version.
14397
14398 2001-07-05  Juergen Vigna  <jug@sad.it>
14399
14400         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14401         unknow mechanism does not call the proper constructor but only this
14402         one also if I request the other!?
14403
14404 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14405
14406         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14407
14408         * text2.C (LyXText): use initialization lists.
14409
14410         * lyxtext.h (Selection): initialize set_ and mark_
14411         (init): remove method
14412
14413 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14414
14415         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14416
14417 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14418
14419         * screen.[Ch]: change method names to begin with lowercase
14420
14421         * BufferView_pimpl.C (updateScrollbar): simplify further and
14422         hopefully make it a bit faster.
14423
14424 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14425
14426         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14427         calling directly xforms functions.
14428
14429         * Painter.C (Painter):
14430         * lyx_cb.C (MenuWrite):
14431         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14432         fl_display.
14433
14434         * lyx_gui.C: remove bogus guiruntime extern declaration.
14435
14436 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14437
14438         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14439         in NEW_INSETS
14440         (redoDrawingOfParagraph): ditto
14441         (redoParagraphs): ditto
14442         (cutSelection): don't create a object for CutAndPaste use the
14443         static method directly
14444         (pasteSelection): ditto
14445
14446         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14447         LyXview (+ rename)
14448
14449 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14450
14451         * modifications to some other files because of this.
14452
14453         * Makefile.am (lyx_SOURCES): add XFormsView
14454
14455         * XFormsView.[Ch]: new files
14456
14457         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14458         the main window. Move the gui dependent stuff to XFormsView
14459
14460 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14461
14462         * tabular.C (GetCellInset): update cur_cell also in the row/col
14463         version of this function.
14464
14465         * lyxfunc.C: no need to include figure_form.h here.
14466
14467         * FontLoader.h:
14468         * lyxfunc.h:
14469         * lyxscreen.h:
14470         * text2.C:
14471         * lyxvc.C: no need to include forms.h here.
14472
14473 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14474
14475         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14476
14477         * lyxfunc.C (Dispatch):
14478         * Spacing.C (set):
14479         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14480         constructor argument.
14481
14482 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14483
14484         * paragraph.C (Paragraph): dont't clear, and just set layout.
14485         (makeSameLayout): use params's copy contructor.
14486
14487         * ParagraphParameters.[Ch] (makeSame): delete method
14488
14489 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14490
14491         * Variables.[Ch]: fix indentation, rename set to isSet
14492
14493 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14494
14495         * lyxfunc.C (Dispatch): fix typo
14496
14497 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14498
14499         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14500         upper_bound.
14501
14502         * bufferlist.C: include assert.h for emergencyWrite().
14503
14504 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14505
14506         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14507           give up at last (bug #425202) !
14508
14509 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14510
14511         * lyx_gui_misc.C:
14512         * sp_form.h:
14513         * sp_form.C:
14514         * spellchecker.h:
14515         * spellchecker.C: strip spellchecker options and bring up
14516           preferences tab instead
14517
14518 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14519
14520         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14521         the istringstream constructor
14522
14523 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14524
14525         * paragraph.C (getLayout): fix return value
14526
14527         * paragraph.h: do not declare getLayout as inline.
14528
14529         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14530
14531 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * lyxcursor.h (operator<): new func
14534         (operator>): new func
14535         (operator>=): new func
14536         (operator<=): new func
14537
14538         * text.C (changeCase): use selection.start and selection.end
14539         (changeRegionCase): require from to be <= to. Require par to be a
14540         valid paragraph.
14541
14542         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14543
14544 2001-06-27  Juergen Vigna  <jug@sad.it>
14545
14546         * text.C (cursorLeftOneWord): changed to return the cursor and added
14547         overlay with BufferView * parameter which calls this one.
14548         (getWord): added
14549         (selectWord): use new getWord function.
14550         (changeCase): renamed from changeWordCase as and extended to work
14551         also on selections.
14552
14553         * lyxtext.h: added enum word_location
14554
14555         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14556         changeCase as this operates now also on selections.
14557
14558 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14559
14560         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14561
14562         * many files: send debug output to Debug::INFO instead of
14563         Debug::ANY.
14564
14565         * converter.C (View):
14566         (Convert):
14567         (Move): send debug output to Debug::FILES instead of console.
14568
14569 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14570
14571         * lyxfunc.C (getStatus): use func_status
14572
14573         * func_status.h: new header, describing the results of
14574         LyXFunc::getStatus;
14575
14576         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14577         LFUN_MATH_HALIGN.
14578
14579 2001-06-25  The LyX Project  <jug@sad.it>
14580
14581         * buffer.C (sgmlOpenTag):
14582         (sgmlCloseTag):
14583         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14584
14585 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14586
14587         * text2.C: remove some dead code
14588
14589         * tabular.C (GetCellInset): store the last cell checked (gotten)
14590
14591         * tabular.h: add the helper for the speedup
14592
14593         * lyxtext.h: remove some dead code
14594
14595 2001-06-26  The LyX Project  <Asger>
14596
14597         * paragraph.C: Change export to LaTeX of alignment to
14598         \begin{center} and family for better roundtrip work with reLyX.
14599
14600         * Tune the math drawing a bit.
14601
14602 2001-06-25  The LyX Project  <Asger>
14603
14604         * LColor.C (LColor): New color for math background. New color
14605         for buttons.
14606
14607 2001-06-25  The LyX Project  <jug@sad.it>
14608
14609         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14610
14611         * lyxfunc.C (Open):
14612         * bufferlist.C (newFile): do not restrict to files ending with
14613         .lyx
14614
14615         * BufferView_pimpl.C (MenuInsertLyXFile):
14616
14617 2001-06-24  The LyX Project  <jug@sad.it>
14618
14619         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14620         of compare_no_case
14621
14622 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14623
14624         * lyxtext.h: rename most methods to begin with a small char.
14625         Lots of changes because of this.
14626
14627         * paragraph.C (Paragraph): do not call fitToSize
14628         (erase): call Pimpl::erase
14629         (insertChar): call Pimpl::insertChar
14630         (insertInset): call Pipl::insertInset
14631         (breakParagraph): do not call fitToSize
14632         (breakParagraphConservative): do not call fitToSize
14633         (fitToSize): remove method
14634
14635         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14636
14637 2001-06-24  The LyX Project  <Asger>
14638
14639         * Fix Qt compilation^2
14640
14641 2001-06-24  The LyX Project  <jug@sad.it>
14642
14643         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14644         depthHook(getDepth()-1).
14645
14646         * paragraph.h:
14647         * ParagraphParameters.h:
14648         * ParameterStruct.h: change type of depth to unsigned int ==
14649         depth_type. Many adaptations to other files before of that.
14650
14651 2001-06-24  The LyX Project  <Asger>
14652
14653         * Fix Qt compilation.
14654
14655 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14656
14657         * paragraph.h: renamed several methods to begin with small letter.
14658         several changes to many parts of the code because of this.
14659
14660 2001-06-23  The LyX Project  <jug@sad.it>
14661
14662         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14663         rewritten to discard all double spaces when KeepEmpty is off
14664         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14665         to only handle newlines but not fiddle with spaces and friends.
14666
14667         * lyxfunc.C (MenuNew): when doing 'new from template', use
14668         template_path as default directory
14669
14670 2001-06-23  The LyX Project  <Asger>
14671
14672         * Clean-up of header file includes all over
14673         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14674
14675 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14676
14677         * paragraph.h: renamed from lyxparagraph.h
14678
14679 2001-06-23  Asger  <lyx@violet.home.sad.it>
14680
14681         * Buffer.h: Removed Buffer::resize
14682         * BufferList.h: Removed BufferList::resize
14683         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14684         the document lazily when we change the width, or the font settings.
14685
14686 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14687
14688         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14689
14690 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14691
14692         * buffer.h: remove out of date comment
14693
14694 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14695
14696         * lyxscreen.h:
14697         * screen.C: fix "theoretical" GC leak
14698
14699 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14700
14701         * LaTeX.C (scanAuxFile):
14702         (deplog): remove trailing \r when reading stream (useful under
14703         win32)
14704
14705 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14706
14707         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14708         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14709         and BufferView::theLockingInset(Inset*), so should use them and not
14710         access bv_->text->the_locking_inset directly.
14711
14712         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14713
14714 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14715
14716         * Makefile.am:
14717         * tex-defs.h: remove old unused file
14718
14719 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14720
14721         * BufferView_pimpl.C: fix typo, remove minibuffer message
14722           when buffer has loaded
14723
14724 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14725
14726         * lyxfunc.C (Dispatch): use stringstream
14727         (MenuNew): use stringstream
14728         (Open): use stringstream
14729
14730         * importer.C (Import): use stringstream
14731
14732         * bufferview_funcs.C (CurrentState): use stringstream
14733
14734         * LaTeX.C (run): use stringstream
14735
14736         * BufferView_pimpl.C (savePosition): use stringstream
14737         (restorePosition): use stringstream
14738         (MenuInsertLyXFile): use stringstream
14739
14740 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14741
14742         * BufferView.C:
14743         * Bullet.C:
14744         * ColorHandler.C:
14745         * FontInfo.C:
14746         * FontLoader.C:
14747         * LColor.C:
14748         * LaTeXFeatures.C:
14749         * Painter.C:
14750         * gettext.C:
14751         * lyx_gui_misc.C:
14752         * lyxserver.C:
14753         * vspace.C: removed // -*- C++ -*- as first line.
14754
14755         * lyxfind.h:
14756         * version.h: added // -*- C++ -*- as first line.
14757
14758 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14759
14760         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14761
14762         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14763         of string
14764
14765 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14766
14767         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14768         of floats.
14769
14770 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14771
14772         * gettext.C: include LString.h even when --disable-nls is on.
14773
14774 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14775
14776         * converter.h (Get): changed argument type from int to
14777         FormatList::size_type to avoid unnecessary conversion.
14778
14779         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14780         before using it.
14781
14782 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14783
14784         * gettext.h: include LString.h even when --disable-nls is on.
14785
14786 2001-06-07  Juergen Vigna  <jug@sad.it>
14787
14788         * text.C (BreakAgain): subst spaces with tabs.
14789
14790         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14791         (resizeInsetsLyXText): set force on resizeLyXText.
14792
14793 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14794
14795         * gettext.h (gettext_init):
14796         (locale_init): use a real definition instead of a macro
14797
14798 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14799
14800         * Bufferview_pimpl.C:
14801         * LColor.h:
14802         * LColor.C: further lcolor tidies
14803
14804 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14805
14806         * BufferView_pimpl.C (updateScrollbar): simplify.
14807
14808         * BufferView2.C: don't include insets/insetinfo.h, change
14809         prototype for insertInset and call the Pimpl version. let
14810         updateInset call Pimpl version.
14811
14812         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14813         gotoInset to BufferView::Pimpl
14814
14815 2001-06-01  Juergen Vigna  <jug@sad.it>
14816
14817         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14818         inside a LockingInset (is the update needed at all?).
14819
14820 2001-05-31  Juergen Vigna  <jug@sad.it>
14821
14822         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14823         here not the old one otherwise how should we compare it afterwards
14824         if it's the same!
14825
14826 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14827
14828         * lyxfont.C:
14829         * tabular.C:
14830         * tabular-old.C:
14831         * FontInfo.C: bring C functions into global namespace when
14832         necessary
14833
14834 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14835
14836         * LString.h: make sure config.h has been loaded before LString.h.
14837
14838         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14839         (one for each char read by EatLine!).
14840
14841         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14842         variables.
14843
14844 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14845
14846         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14847         to the same as the par we break from
14848
14849 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14850
14851         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14852
14853         * MenuBackend.C (expand): also create menu entries for wide
14854         versions of the floats.
14855
14856         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14857
14858         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14859
14860         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14861         frontends/Makefile.am
14862
14863         * text2.C: adjust
14864         * text.C: adjust
14865
14866
14867         * tabular.C (getTokenValue): add std::
14868
14869         * tabular-old.C (getTokenValue): add std::
14870         (getTokenValue): ditto
14871         (getTokenValue): ditto
14872
14873         * screen.C (ToggleSelection): adjust
14874
14875         * lyxtext.h: put selection cursors inside a Selection struct.
14876
14877         * lyxfunc.C (moveCursorUpdate): adjust
14878
14879         * lyxfont.C (latexWriteStartChanges): add std::
14880
14881         * lyxfind.C: adjust
14882
14883         * font.h: delete with(char const *, LyXFont const &)
14884
14885         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14886
14887         * FontInfo.C (getFontname): add std::
14888
14889         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14890         (workAreaButtonPress): adjust
14891         (tripleClick): adjust
14892         (update): adjust
14893         (moveCursorUpdate): adjust
14894         (Dispatch): adjust
14895
14896         * BufferView2.C (gotoInset): adjust
14897
14898 2001-05-30  Juergen Vigna  <jug@sad.it>
14899
14900         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14901         to check pspell I add this as default as I now have new pspell
14902         libraries and they seem to use this.
14903
14904 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14905
14906         * text2.C (CutSelection): make the cursor valid before the call to
14907         ClearSelection.
14908
14909 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14910
14911         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14912         relied on 0 terminated strings and other horrors. Bug found due to
14913         the new assert in lyxstring!
14914
14915         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14916         KP_ keys.
14917
14918 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14919
14920         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14921         to latinkeys.bind.
14922
14923         * lyxfunc.C (processKeySym): change method of getting to the
14924         self-insert char.
14925
14926         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14927         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14928         * BufferView_pimpl.[Ch]: here as private methods.
14929
14930 2001-05-28  Juergen Vigna  <jug@sad.it>
14931
14932         * text.C (SetHeightOfRow): added the update() call again as it is
14933         needed to initialize inset dimensions!
14934
14935 2001-05-16  Juergen Vigna  <jug@sad.it>
14936
14937         * text2.C (SetCharFont): Add new function with BufferView * and
14938         bool toggleall parameters for setting insets internal fonts.
14939         (SetFont): Freeze the undo as we may change fonts in Insets and
14940         all this change should be inside only one Undo!
14941
14942         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14943         setting font's in insets as for them we have the SetFont function!
14944
14945 2001-05-15  Juergen Vigna  <jug@sad.it>
14946
14947         * text2.C (ClearSelection): to be sure we REALLY don't have any
14948         selection anymore!
14949
14950         * tabular.C (TeXCellPreamble): fixed the left border problem for
14951         multicolumn cells.
14952
14953 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14954
14955         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14956         dependancy file
14957
14958 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14959
14960         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14961         LFUN_BREAKPARAGRAPH.
14962
14963         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14964         help test to "internal only", similar for LFUN_INSERT_URL
14965
14966         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14967         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14968         auto_region_delete and deadkeys.
14969
14970 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14971
14972         * LColor.h:
14973         * LColor.C: remove some dead entries, tidy a little
14974
14975 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14976
14977         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14978         commented code.
14979         (Dispatch): implement LFUN_ESCAPE
14980
14981         * commandtags.h: add LFUN_ESCAPE
14982
14983         * LyXAction.C (init): add entry for LFUN_ESCAPE
14984
14985         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14986         Remove commented code.
14987         (insertNote): moved here
14988         (open_new_inset): moved here
14989
14990         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14991         BufferView_pimpl
14992
14993 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14994
14995         * kbmap.C (findbinding): clean it up and make it work correctly.
14996
14997         * lyx_main.C (init): do not pass argc and argv as parameters
14998
14999 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15000
15001         * buffer.C: fix path for OS/2 & Win32
15002
15003         * lyx_gui.C:
15004         * lyx_main:
15005         * lyx_main.C: Added os:: class.
15006
15007         * os2_defines.h: update
15008
15009 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15010
15011         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15012         better by trying again with reduced state.
15013
15014 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15015
15016         * lyxrc.C (read): print error about invalid key sequence only when
15017         debugging (because not all latinX keysyms are known to some X
15018         servers)
15019
15020         * kbsequence.C (getiso): add a few std:: qualifiers
15021         (getiso): comment out extra return statement.
15022
15023 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15024
15025         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15026         handling.
15027         (Dispatch): enhance the accent inset a bit. (not perfect)
15028
15029 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15030
15031         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15032
15033 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15034
15035         * bufferlist.C (emergencyWrite): fix assert() call
15036
15037 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15038
15039         * text.C (InsertChar): Added trivial patch to only send the "you
15040         can not do multiple spaces this way" message once during a
15041         session.
15042
15043 2001-05-08  Baruch Even  <baruch@lyx.org>
15044
15045         * Makefile.am: Changed order of libraries to get LyX to link properly
15046         with the gnome frontend.
15047
15048 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15049
15050         * LaTeXFeatures.h: add a std:: qualifier
15051
15052 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15053
15054         * paragraph.C (String): use stringstream
15055
15056 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15057
15058         * paragraph.C (writeFile): remove footflag arg
15059
15060         * buffer.C (makeLaTeXFile): use stringstream
15061         (latexParagraphs): remove footnot gurba
15062
15063         * LaTeXFeatures.C (getPackages): use stringstream
15064         (getMacros): likewise
15065         (getTClassPreamble): likewise
15066         (getFloatDefinitions): new method
15067
15068         * paragraph.C (writeFile): reindent
15069         (Erase): reindent
15070
15071         * WorkArea.h: revert the xpos + etc changes.
15072
15073         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15074
15075         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15076
15077         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15078         (pasteSelection): likewise
15079         * text2.C (CreateUndo): likewise
15080
15081 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15082
15083         * minibuffer.C (peek_event): temporarily reduce the functionality
15084         of the minibuffer (to allow args on lfuns)
15085
15086         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15087         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15088
15089         * buffer.C (readInset): add compability reading of old float
15090         lists, add reading of new style float list.
15091         (readInset): avoid reevaluation of inscmd.getCmdName()
15092         (getLists): reindent
15093
15094         * MenuBackend.C (MenuItem): implement parsing of
15095         md_floatlistinsert and md_floatinsert.
15096         (expand::LastFiles): move initalizaton of iterators out of loop,
15097         avoid reevaluation.
15098         (expand::Documents): introduce typdedef vector<string> Strings,
15099         and use it.
15100         (expand::ExportFormats): introduce typedef vector<Format const *>
15101         Formats, and use it.
15102         (expand): implement FloatListInsert and FloatInsert.
15103
15104         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15105         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15106         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15107
15108         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15109         handling.
15110         (Dispatch::LFUN_FLOAT_LIST): implement
15111
15112 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15113
15114         * LaTeX.C (run): Fix problem with --export code.
15115
15116 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15117
15118         * BufferView.[Ch] (workarea): removed.
15119         (getClipboard) new method; wrapper for workarea()->getClipboard()
15120
15121         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15122         bug.
15123
15124         * WorkArea.h (width, height, xpos, ypos): These methods all
15125         returned the dimensions of the work_area sub-area of WorkArea,
15126         resulting in a position error if the WorkArea were resized. Now
15127         return the dimensions of the entire WorkArea.
15128
15129         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15130
15131 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15132
15133         * LaTeX.C (deplog): correct the syntax of regex reg1
15134
15135 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15136
15137         * undo.C: remove !NEW_INSETS cruft
15138
15139 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15140
15141         * text2.C: remove !NEW_INSETS cruft
15142
15143         * text.C: remove !NEW_INSETS cruft
15144
15145         * tabular.C: remove !NEW_INSETS cruft
15146
15147         * spellchecker.C: remove !NEW_INSETS cruft
15148
15149         * lyxtext.h: remove !NEW_INSETS cruft
15150
15151         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15152
15153         * lyxfunc.C: remove !NEW_INSETS cruft
15154
15155         * lyxfind.C: remove !NEW_INSETS cruft
15156
15157         * lyx_cb.C: remove !NEW_INSETS cruft
15158
15159         * figureForm.C: remove  !NEW_INSETS cruft
15160
15161         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15162
15163         * buffer.[Ch]: remove !NEW_INSETS cruft
15164
15165         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15166
15167         * CutAndPaste.C: remove !NEW_INSETS cruft
15168
15169         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15170
15171         * BufferView2.C: remove !NEW_INSETS cruft
15172
15173         * BufferView.h: remove !NEW_INSETS cruft
15174
15175 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15176
15177         * Lsstream.h: include LString.h before the sstream headers to
15178         fix problem with gcc 2.95.3 and lyxstring
15179
15180 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15181
15182         * lyx_main.C: add using directives when needed for C functions
15183         declared in std:: namespace.
15184
15185 2001-04-27  Juergen Vigna  <jug@sad.it>
15186
15187         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15188         (SetHeightOfRow): comment out the update call should not be needed!
15189
15190 2001-04-13  Juergen Vigna  <jug@sad.it>
15191
15192         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15193         (LyXTabular): tried to minimize operator= operations (and realized
15194         hopfully Lars wish).
15195
15196 2001-04-27  Juergen Vigna  <jug@sad.it>
15197
15198         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15199
15200 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15201
15202         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15203
15204         * buffer.C (readInset): hack to make listof algorithm work
15205
15206         * BufferView_pimpl.C: hack to make listof algorithm work
15207
15208 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15209
15210         * LyXAction.C: removed all !NEW_INSETS cruft
15211         (init): moved lfun_item in method
15212
15213         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15214
15215 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15216
15217         * BufferView2.C (theLockingInset): white space.
15218
15219 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15220
15221         * minibuffer.C: include <iostream>
15222
15223         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15224
15225         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15226
15227         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15228
15229         * text.[Ch] (TransposeChars): new method
15230
15231 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15232
15233         * call message directly through LyXView instead of through LyXFunc
15234         * BufferView2.C: adjust
15235         * BufferView_pimpl.C: adjust
15236         * FontLoader.C: adjust
15237         * buffer.C: adjust
15238         * bufferview_funcs.C: adjust
15239         * converter.C: adjust
15240         * figureForm.C: adjust
15241         * importer.C: adjust
15242         * lyx_cb.C: adjust
15243         * lyx_gui_misc.C: adjust
15244         * lyxfunc.C: adjust
15245         * lyxvc.C: adjust
15246         * text2.C: adjust
15247         + more files in subdirs
15248
15249         * lyxparagraph.h (size): move up int file
15250         (GetLayout): ditto
15251
15252         * adjust all uses of Assert to lyx::Assert.
15253
15254         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15255         lyxfunctional in namespace lyx
15256         * layout.C (hasLayout): ditto
15257         (GetLayout): ditto
15258         (GetLayout): ditto
15259         (delete_layout): ditto
15260         (NumberOfClass): ditto
15261         * converter.C (GetFormat): ditto
15262         (GetNumber): ditto
15263         (Add): ditto
15264         (Delete): ditto
15265         (SetViewer): ditto
15266         * bufferlist.C (getFileNames): ditto
15267         (emergencyWriteAll): ditto
15268         (exists): ditto
15269         (getBuffer): ditto
15270         * MenuBackend.C (hasSubmenu): ditto
15271         (hasMenu): ditto
15272         (getMenu): ditto
15273         * BufferView_pimpl.C (getInsetByCode): ditto
15274
15275 2001-04-18  Juergen Vigna  <jug@sad.it>
15276
15277         * vspace.C (asLatexString): fixed the 100% problem.
15278
15279 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15280
15281         * lyxfunc.C (Dispatch):
15282         * minibuffer.C:
15283         * minibuffer.h: add a few std:: qualifiers
15284
15285 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15286
15287         * minibuffer.[Ch]: reimplement so that commands is initiated and
15288         run from lyxfunc, simplified som handling, and made the completion
15289         and history code for complete. wip.
15290
15291         * lyxfunc.C (processKeySym): call message
15292         (miniDispatch): new temporary method
15293         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15294         (LFUN_MESSAGE): implement
15295         (LFUN_MESSAGE_PUSH): implement
15296         (LFUN_MESSAGE_POP): implement
15297         (initMiniBuffer): the initial/defualt minibuffer message.
15298
15299         * lyxfont.[Ch]: inline some more getters
15300
15301         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15302
15303         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15304
15305         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15306         (AutoSave): use LFUN_MESSAGE
15307         (Reconfigure): ditto
15308
15309         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15310
15311         * figureForm.C: use LFUN_MESSAGE
15312
15313         * converter.C (runLaTeX): use LFUN_MESSAGE
15314
15315         * bufferview_funcs.C: use LFUN_MESSAGE
15316         (Melt): ditto
15317         (changeDepth): ditto
15318
15319         * bufferparams.h: use boost::
15320
15321         * bufferlist.h: inherit privately from noncopyable
15322
15323         * bufferlist.C (loadLyXFile): remove some commented code.
15324
15325         * buffer.C (runChktex): use LFUN_MESSAGE
15326
15327         * ShareContainer.h: inherit privately from noncopyable
15328
15329         * ParagraphParameters.[hC] (depth): inline it.
15330
15331         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15332         methods.
15333         (message): new method
15334         (messagePush): ditto
15335         (messagePop): ditto
15336         (show): init minibuffer
15337         (showState): direct call
15338
15339         * LaTeX.[Ch]: inherit privately from noncopyable
15340         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15341         instead of WriteStatus.
15342
15343         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15344
15345         * BufferView_pimpl.C (buffer): don't init minibuffer
15346         (workAreaButtonPress): use LFUN_MESSAGE
15347         (workAreaButtonRelease): ditto
15348         (savePosition): ditto
15349         (restorePosition): ditto
15350         (MenuInsertLyXFile): ditto
15351         (workAreaExpose): don't init minibuffer
15352         (update): remove commented code, simplify
15353
15354         * BufferView2.C (openStuff): use LFUN_MESSAGE
15355         (toggleFloat): ditto
15356         (menuUndo): ditto
15357         (menuRedo): ditto
15358         (copyEnvironment): ditto
15359         (pasteEnvironment): ditto
15360         (copy): ditto
15361         (cut): ditto
15362         (paste): ditto
15363         (gotoInset): ditto
15364         (updateInset): remove some commented code
15365
15366         * lastfiles.h: inherit privately from noncopyable
15367         * layout.h: ditto
15368         * lyx_gui.h: ditto
15369         * lyx_main.h: ditto
15370         * lyxlex.h: ditto
15371         * lyxlex_pimpl.h: ditto
15372
15373         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15374         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15375         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15376
15377         * LyXAction.h: inherit privately from noncopyable, add methods
15378         func_begin, func_end, returning iterators to the func map.
15379
15380         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15381         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15382         (func_begin): new method
15383         (func_end): new method
15384
15385         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15386         and not)
15387         (copySelection): ditto
15388         (pasteSelection): ditto
15389
15390         * BufferView.C: whitespace change
15391         * BufferView.h: inherit privately from noncopyable
15392
15393 2001-04-16  Allan Rae  <rae@lyx.org>
15394
15395         * tabular-old.C (l_getline):
15396         * spellchecker.C (sc_check_word):
15397         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15398         an unrecognised preprocessor directive.  So ensure they're wrapped.
15399
15400 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15401
15402         * src/exporter.C (Export): Give an error message when path to file
15403         contains spaces.
15404
15405 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15406
15407         * LaTeX.C (deplog): Always check that foundfile exists.
15408
15409 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15410
15411         * lyx_main.h:
15412         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15413
15414 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15415
15416         * tabular.[Ch] (getLabelList): implement new method
15417
15418         * minibuffer.h: comment ouf setTiimer
15419
15420         * minibuffer.C (ExecutingCB): constify res
15421         (peek_event): constify s
15422         (Set): constify ntext
15423         (Init): constify nicename
15424
15425         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15426
15427         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15428         (savePosition): use two params to Minibuffer::Set
15429         (restorePosition): ditto
15430
15431 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15432
15433         * lyx_main.C: include language.h
15434
15435         * Makefile.am (lyx_main.o): add language.h
15436
15437 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15438
15439         * exporter.C:
15440         * paragraph.C:
15441         * screen.C:
15442         * tabular.C:
15443         * CutAndPaste.C: include gettext.h
15444
15445         * lyxfont.h: remove old hack with ON and OFF.
15446
15447         * lyxparagraph.h:
15448         * lyxfont.h: do not include language.h...
15449
15450         * BufferView2.C:
15451         * LaTeXFeatures.C:
15452         * Painter.C:
15453         * bufferview_funcs.C:
15454         * font.C:
15455         * lyxfont.C:
15456         * text.C:
15457         * text2.C:
15458         * trans_mgr.C:
15459         * paragraph.C: ... but do it here instead
15460
15461 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15462
15463         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15464
15465         * tabular.C: small reformat
15466
15467         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15468         NEW_INSETS version
15469         (GetChar): ditto
15470         (BreakParagraph): ditto
15471         (SetOnlyLayout): ditto
15472         (SetLayout): ditto
15473
15474         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15475         with one arg less.
15476
15477         * lastfiles.C: removed most using decl, add std:: where needed
15478
15479         * buffer.C: ws changes
15480
15481         * MenuBackend.C (class compare_format): put into anon namespace
15482         (expand): constify label, names, action, action2
15483         (expand):
15484
15485         * text.C (SingleWidth): constify font
15486         (IsBoundary): constify rtl2
15487         (GetVisibleRow): constify ww
15488
15489         * LaTeX.C (deplog): constify logfile
15490
15491         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15492         start_x, end_x
15493         (workAreaExpose): constify widthChange, heightChange
15494
15495         * lyxrow.C (par): moved
15496         (height): moved
15497         (next): moved
15498         * lyxrow.h: as inlines here
15499
15500         * lyxfont.h (shape): moved from lyxfont.C
15501         (emph): moved from lyxfont.C
15502
15503         * lyxfont.C (LyXFont): use initialization list for all
15504         constructors
15505         (shape): move to lyxfont.h as inline
15506         (emph): move to lyxfont.h as inline
15507
15508
15509 2001-04-04  Juergen Vigna  <jug@sad.it>
15510
15511         * vspace.C: had to include stdio.h for use of sscanf
15512
15513 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15514
15515         * BufferView.h:
15516         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15517         independent of xforms.
15518
15519 2001-04-02  Juergen Vigna  <jug@sad.it>
15520
15521         * spellchecker.C: fixed namespace placing!
15522
15523 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15524
15525         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15526         the LyXParagraph * is 0.
15527
15528 2001-03-29  Juergen Vigna  <jug@sad.it>
15529
15530         * vspace.C: added support for %, c%, p%, l%.
15531         (stringFromUnit): added helper function.
15532         (asLatexString): changed to give right results for the %-values.
15533
15534         * buffer.C: convert the widthp in a width%.
15535
15536 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15537
15538         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15539         figureForm.[Ch].
15540
15541         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15542         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15543
15544         * lyx_cb.[Ch]: see above.
15545
15546         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15547         form1.[Ch].
15548
15549         * form1.[Ch]:
15550         * lyx.[Ch]: replaced by figure_form.[Ch].
15551
15552         * lyx_gui.C:
15553         * lyx_gui_misc.C:
15554         * lyxfunc.C: changed headers associated with above changes.
15555
15556 2001-03-27  Juergen Vigna  <jug@sad.it>
15557
15558         * BufferView_pimpl.C: set the temporary cursor right!
15559
15560 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15561
15562         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15563
15564 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15565
15566         * LString.h: removed "using std::getline"!
15567
15568         * BufferView_pimpl.C (Dispatch): changes due to changes in
15569         InsetInclude::Params.
15570
15571         * buffer.C (tag_name): removed redundant break statements as they were
15572         producing lots of warnings with my compiler.
15573
15574 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15575
15576         * LString.h: add "using std::getline" when using the real <string>.
15577
15578 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15579
15580         * buffer.C: removed bitset usage.
15581         PAR_TAG moved to an anonymous name space.
15582         (tag_name): new funtion, also in the anonymous namespace.
15583         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15584         (makeDocBookFile): clean code. Completed transition from string arrays
15585         to string vectors.
15586         (SimpleDocBookOnePar): code clean.
15587
15588 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15589
15590         * tabular.C: add some comments.
15591
15592 2001-03-22  Juergen Vigna  <jug@sad.it>
15593
15594         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15595         compatibility read a bit and fixed bug with minipage in different
15596         depth.
15597
15598 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15599
15600         * buffer.C (pop_tag): removed.
15601         (push_tag): removed.
15602         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15603         array replaced with vector. Added support for CDATA sections.
15604         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15605         at any nest level.
15606         (makeDocBookFile): XML conformant declaration of CDATA section,
15607         fixed bug related to <emphasis> in the first paragraph char.
15608         (sgmlOpenTag): exclude empty tags.
15609         (sgmlCloseTag): ditto.
15610
15611         * buffer.h (pop_tag): removed.
15612         (push_tag): removed.
15613
15614 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15615
15616         * language.h (Languages): added size_type and size().
15617
15618 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15619
15620         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15621         response on compability reading of minipages. One probliem is that
15622         the old usage of minipages was «flertydig»
15623
15624         * several files here and in subdirs: don't use static at file
15625         scope use anon namespaces instead.
15626
15627 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15628
15629         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15630         LaTeX output. This is necessary for Literate document
15631         processing.
15632
15633 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15634
15635         * buffer.C: insert hfill when needed.
15636
15637         * tabular.C (l_getline): use string::erase, small whitespace change.
15638
15639         * BufferView_pimpl.C: try the anon namespace.
15640         * WorkArea.C: ditto
15641
15642 2001-03-16  Juergen Vigna  <jug@sad.it>
15643
15644         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15645         otherwise it won't open options-dialogs.
15646
15647         * buffer.C: honor pextraWidth(p) on converting minipages.
15648
15649         * tabular.C (l_getline): changed the functions to strip trailing \r.
15650
15651 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15652
15653         * BufferView_pimpl.C:
15654         * minibuffer..C: added "using SigC::slot" declaration.
15655
15656 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15657
15658         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15659
15660         * text2.C: ditto
15661
15662         * text.C: ditto
15663
15664         * paragraph.C: ditto
15665
15666         * lyxtext.h: NO_PEXTRA
15667
15668         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15669
15670         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15671         * ParameterStruct.h: ditto
15672         * ParagraphParameters.h: ditto
15673         * lyxparagraph.h: ditto
15674
15675 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15676
15677         * buffer.C: add compability for minipage alignment.
15678         (latexParagraphs): remove unwanted pextra check.
15679
15680         * several files: remove CXX_WORKING_NAMESPACES
15681
15682         * buffer.C (pop_tag): tie is in namespace boost
15683
15684         * BufferView.h: noncopyable is in namespace boost
15685         * lyxlex.h: ditto
15686         * lyx_main.h: ditto
15687         * lyx_gui.h: ditto
15688         * layout.h: ditto
15689         * lastfiles.h: ditto
15690         * bufferlist.h: ditto
15691         * ShareContainer.h: ditto
15692         * LyXView.h: ditto
15693         * LyXAction.h: ditto
15694         * LaTeX.h: ditto
15695
15696 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15697
15698         * Merging changes from BRANCH_MVC back into HEAD.
15699
15700         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15701
15702 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15703
15704         * BufferView_pimpl.C: change from intl.C
15705
15706         * combox.h:
15707         * combox.C:
15708         * Makefile.am: move combox.*
15709
15710         * form1.h:
15711         * form1.C:
15712         * lyx_gui.C:
15713         * intl.h:
15714         * intl.C: remove dialog (covered by prefs)
15715
15716 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15717
15718         * lyxfunc.C (Dispatch): removed redundant break statement.
15719
15720 2001-03-14  Juergen Vigna  <jug@sad.it>
15721
15722         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15723
15724 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15725
15726         * buffer.C: add hack to fix compability reading of minipages.
15727
15728 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15729
15730         * buffer.C (getLists): Cleanup.
15731
15732 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15733
15734         * lyxfont.C (update): don't honor toggleall on font size.
15735
15736 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15737
15738         * bmtable.c:
15739         * bmtable.h:
15740         * Makefile.am: moved to frontends/xforms/
15741
15742         * lyx_gui_misc.C:
15743         * lyxfunc.C:
15744         * BufferView_pimpl.C: changes for moved mathpanel
15745
15746 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15747
15748         * gettext.h: fix gettext_init() in --disable-nls
15749
15750 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15751
15752         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15753
15754 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15755
15756         * lyx.C:
15757         * lyx.h: strip external form
15758
15759 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15760
15761         * BufferView_pimpl.C: add comment, destroySplash()
15762
15763 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15764
15765         * BufferView_pimpl.C:
15766         * LyXAction.C:
15767         * buffer.C:
15768         * commandtags.h:
15769         * lyxfunc.C: use re-worked insetinclude
15770
15771 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15772
15773         * buffer.C: add using std::stringstream.
15774
15775         * lyx_cb.C: readd using std::ios.
15776
15777         * buffer.C: add using std::map.
15778
15779         * BufferView_pimpl.C: add using std::vector.
15780
15781         * ShareContainer.h: add std:: to swap.
15782
15783         * buffer.h: add some typedefs
15784         * buffer.C (getLists): use them
15785         (getLists): renamed from getTocList.
15786         add a counter for the different float types and use it in the
15787         generated string.
15788         (getLists): use the same counter for the NEW_INSETS and the "non"
15789         NEW_INSETS
15790
15791         * lyx_cb.h: remove unused items, includes, using etc.
15792
15793         * ShareContainer.h: remove some commented code, add more comments
15794         and "documentation".
15795
15796 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15797
15798         * buffer.C (getTocList): make the list also when NEW_INSETS is
15799         defined.
15800
15801         * buffer.h: remove TocType
15802
15803         * buffer.C (getTocList): change to return a map<string,
15804         vector<TocItem> >, implement for dynamic number of list.
15805
15806         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15807         * text2.C (PasteSelection): adjust
15808         * CutAndPaste.C (pasteSelection): adjust
15809
15810         * FloatList.C (FloatList): update from the new_insets branch.
15811         * Floating.[Ch]: ditto
15812         * LaTeXFeatures.C: ditto
15813         * buffer.C: ditto
15814         * lyxlex_pimpl.C: ditto
15815
15816         * paragraph.C (Last): remove when NEW_INSETS is defined.
15817
15818         * other file: changes because of the above.
15819
15820 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15821
15822         * lyxparagraph.h: rename next to next_, previous to previous_,
15823         make them private for NEW_INSETS. Rename Next() to next(),
15824         Previous() to previous().
15825
15826         * other files: changes because of the above.
15827
15828 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15829
15830         * BufferView.h:
15831         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15832         problem.
15833
15834 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15835
15836         * main.C (main): pass lyx_localedir to gettext_init().
15837
15838         * gettext.h: remove locale_init and gettext_init macros
15839
15840         * gettext.C (locale_init): new function
15841         (gettext_init): new function
15842
15843         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15844         setlocale().
15845
15846 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15847
15848         * Moved credits to frontends:
15849         * credits.[Ch]: removed
15850         * credits_form.[Ch]: removed
15851         * lyx_gui_misc.C: remove credits stuff
15852         * Makefile.am:
15853
15854 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15855
15856         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15857
15858         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15859         unneeded destructor.
15860
15861         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15862         a standalone pointer again.
15863
15864         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15865
15866 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15867
15868         * Makefile.am:
15869         * filedlg.h:
15870         * filedlg.C:
15871         * LyXAction.C:
15872         * ToolbarDefaults.C:
15873         * bufferlist.C:
15874         * commandtags.h:
15875         * form1.C:
15876         * form1.h:
15877         * lyx_cb.C:
15878         * lyx_cb.h:
15879         * lyxfunc.h:
15880         * lyxfunc.C:
15881         * BufferView_pimpl.C: use new file dialog in GUII
15882
15883         * lyx_cb.h:
15884         * lyx_cb.C: remove LayoutsCB to Toolbar
15885
15886 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15887
15888         * ShareContainer.h (get): add std:: qualifier
15889
15890 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15891
15892         * ShareContainer.h: define a proper ShareContainer::value_type
15893         type (and use typename to please compaq cxx)
15894
15895 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15896
15897         * lyxparagraph.h: move serveral local vars to
15898         ParameterStruct/ParagraphParameters., use ShareContainer in
15899         FontTable., make vars in FontTable private and add getter and
15900         setter.
15901
15902         * paragraph.C: changes because of the above.
15903
15904         * lyxfont.h: remove copy constructor and copy assignment. (the
15905         default ones is ok), move number inside FontBits. move inlines to
15906         lyxfont.C
15907
15908         * lyxfont.C: add number to initializaton of statics, move several
15909         inlines here. constify several local vars. some whitespace
15910         cleanup. Dont hide outerscope variables.
15911
15912         * Spacing.h: add two new constructors to match the set methods.
15913
15914         * ShareContainer.h: new file, will perhaps be moved to support
15915
15916         * ParameterStruct.h: new file
15917
15918         * ParagraphParameters.h: new file
15919
15920         * ParagraphParameters.C: new file
15921
15922         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15923         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15924
15925         * BufferView_pimpl.C: ParagraphParameter changes.
15926         * buffer.C: Likewise.
15927         * bufferview_funcs.C: Likewise.
15928         * text.C: Likewise.
15929         * text2.C: Likewise.
15930
15931 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15932
15933         * lyxfind.C (LyXReplace): do not redefine default argument in
15934         implementation.
15935         (IsStringInText): ditto
15936         (SearchForward): ditto
15937         (SearchBackward): ditto
15938
15939 2001-03-06  Juergen Vigna  <jug@sad.it>
15940
15941         * lyxfind.C (IsStringInText): put parentes around expressions.
15942
15943 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15944
15945         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15946
15947 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15948
15949         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15950
15951         * stl_string_fwd.h: add comment
15952
15953         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15954
15955         * tabular.h:
15956         * tabular.C: remove unused DocBook methods
15957
15958         * intl.C:
15959         * language.C:
15960         * paragraph.C:
15961         * buffer.C:
15962         killed DO_USE_DEFAULT_LANGUAGE
15963
15964 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15965
15966         * lyx_gui.C: do not include language.h.
15967
15968         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15969         arguments in function implementation.
15970
15971 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15972
15973         * BufferView_pimpl.C: add <ctime>
15974
15975 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15976
15977         * BufferView_pimpl.C: add using std::find_if
15978
15979 2001-02-27  José Matos  <jamatos@fep.up.pt>
15980
15981         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15982         by OnlyPath.
15983
15984 2001-02-11  José Matos  <jamatos@fep.up.pt>
15985
15986         * buffer.C (makeDocBookFile): command styles now have a parameter as
15987         "title" by default.
15988
15989 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15990
15991         * layout_forms.[Ch]: removed
15992         * lyx_cb.[Ch]: out character
15993         * lyx_gui.C: out character
15994         * lyx_gui_misc.C: out character
15995         * bufferview_funcs.C: : out character,
15996         added toggleall as parameter in ToggleAndShow
15997
15998 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15999
16000         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16001
16002         * text2.C (SetCurrentFont): Disable number property at boundary.
16003
16004 2001-02-26  Juergen Vigna  <jug@sad.it>
16005
16006         * lyxfunc.C (getStatus): added a string argument override function so
16007         that this is correctly called from LyXFunc::Dispatch if it contains a
16008         do_not_use_argument which is used!
16009         (Dispatch): added check for "custom" export and call appropriate func.
16010
16011 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16012
16013         * lyxrc.C: Add language_command_local, language_use_babel and
16014         language_global_options.
16015
16016         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16017
16018         * buffer.C (makeLaTeXFile): Use language_use_babel and
16019         language_global_options.
16020
16021 2001-02-23  Juergen Vigna  <jug@sad.it>
16022
16023         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16024         which works with LyXText and putted it inside BufferView. Here now we
16025         only call for that part the BufferView::Dispatch() function.
16026
16027         * BufferView.C (Dispatch): added.
16028
16029         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16030         functions which needs to use a LyXText over from LyXFunc.
16031         (MenuInsertLyXFile): added
16032         (getInsetByCode): added
16033         (moveCursorUpdate): added
16034         (static TEXT): added
16035
16036 2001-02-22  Juergen Vigna  <jug@sad.it>
16037
16038         * BufferView_pimpl.C (update): call a status update to see if LyXText
16039         needs it.
16040
16041 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16042
16043         * vc-backend.C (revert): implement for CVS
16044         (getLog): implement for CVS
16045
16046 2001-02-20  Juergen Vigna  <jug@sad.it>
16047
16048         * text2.C (ClearSelection): added BufferView param for inset_owner call
16049
16050         * lyxfunc.C (TEXT): added this function and use it instead of
16051         directly owner->view()-text of getLyXText().
16052
16053 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16054
16055         * src/layout_forms.C: out preamble
16056         * src/layout_forms.h: out preamble
16057         * src/lyx_cb.C: out preamble
16058         * src/lyx_cb.h: out preamble
16059         * src/lyx_gui.C: out preamble
16060         * src/lyx_gui_misc.C: out preamble
16061         * src/lyxfunc.C: connect with guii preamble
16062
16063 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16064
16065         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16066
16067 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16068
16069         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16070         whether to run bibtex.
16071
16072 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16073
16074         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16075
16076 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16077
16078         * Makefile.am (lyx_SOURCES): removed bibforms.h
16079
16080         * vspace.h: doxygen
16081
16082         * text.C (GetVisibleRow): make several local vars const
16083
16084         * tabular.C: small cleanup.
16085
16086         * lyxserver.C (callback): use compare instead of strncmp
16087
16088         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16089         inlines to after class or to paragraph.C
16090
16091         * lyxfont.h: remove friend operator!=
16092
16093         * converter.h: move friend bool operator< to non friend and after
16094         class def.
16095
16096         * combox.h: small cleanup
16097
16098         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16099         to inlines after class def.
16100
16101         * buffer.C (pop_tag): use string operations instead of strcmp
16102
16103         * bmtable.c: doxygen, small cleanup
16104
16105         * LaTeX.h: remove friend operator==
16106
16107 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16108
16109         * screen.C:
16110         * lyxrc.[Ch]:
16111         * lyxfunc.C:
16112         * lyxfont.[Ch]:
16113         * lyx_cb.C:
16114         * intl.[Ch]:
16115         * commandtags.h:
16116         * buffer.C:
16117         * WorkArea.[Ch]:
16118         * LyXAction.C:
16119         * BufferView_pimpl.C:
16120         * BufferView.[Ch]: remove cruft
16121
16122 2001-02-14  Juergen Vigna  <jug@sad.it>
16123
16124         * lyxfunc.C: removed #if 0 unused code
16125
16126         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16127
16128         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16129
16130         * text2.C (SetSelection): added a BufferView * parameter
16131
16132 2001-02-13  Juergen Vigna  <jug@sad.it>
16133
16134         * lyxfunc.C (Dispatch): fixed protected blank problem.
16135         * BufferView2.C (protectedBlank): added LyxText * parameter.
16136
16137         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16138         (AppendColumn): same as above for column_info.
16139
16140         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16141         (moveCursorUpdate): use a LyXText param for support of InsetText.
16142
16143         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16144         (tripleClick): ditto
16145
16146         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16147
16148         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16149
16150         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16151
16152         * text2.C (SetSelection): set correct update status if inset_owner
16153         (ToggleFree): ditto
16154
16155 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16156
16157         * tabular.C: remove some commented code.
16158
16159 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16160
16161         * BufferView_pimpl.C: call hideSplash()
16162
16163         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16164
16165         * include_form.h:
16166         * bibforms.h: remove
16167
16168         * lyxfunc.C:
16169         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16170           add LFUN_CHILD_CREATE
16171
16172         * counters.h: fix tiny typo
16173
16174         * lyx_cb.C:
16175         * lyx.h:
16176         * lyx_gui.C:
16177         * lyx.C: move splash to frontends/xforms/
16178
16179         * lyx_gui_misc.C: move Include and Bibform to frontends
16180
16181         * lyxvc.h: clarify comment
16182
16183         * vspace.C: tiny housekeeping
16184
16185 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16186
16187         * text.C (PrepareToPrint): RTL Fix.
16188
16189         * paragraph.C (GetUChar): New method.
16190         (String):  Use GetUChar.
16191
16192         * buffer.C (asciiParagraph): Use GetUChar.
16193
16194 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16195
16196         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16197
16198 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16199
16200         * buffer.h:
16201         * buffer.C: rename to getLogName(), handle
16202           build log / latex log nicely
16203
16204 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16205
16206         * MenuBackend.C:
16207         * MenuBackend.h: remove support for reference menuitem type.
16208
16209 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16210
16211         * BufferView_pimpl.C: housekeeping
16212         * BufferView_pimpl.h:
16213         * LyXView.h:
16214         * Makefile.am:
16215         * Timeout.C:
16216         * Timeout.h:
16217         * minibuffer.h: move Timeout GUI-I
16218
16219 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16220
16221         * lyxrc.C (read): Update converters data-structures.
16222
16223 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16224
16225         * LaTeX.h (operator!=): add operator != for Aux_Info
16226
16227 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16228
16229         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16230
16231         * LaTeXLog.C: deleted, useful code moved to Buffer
16232
16233         * buffer.h:
16234         * buffer.C: new function getLatexLogName()
16235
16236         * lyx_gui_misc.C:
16237         * lyx_gui.C:
16238         * lyxvc.C:
16239         * lyxvc.h:
16240         * lyxfunc.C: use frontends for LaTeX and VC logs
16241
16242 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16243
16244         * LaTeX.h: yet another std:: that Allan forgot.
16245
16246         * Variables.C (set): renamed from isset(), because this clashes
16247         with some HP-UX macros (grr).
16248
16249 2001-02-06  Allan Rae  <rae@lyx.org>
16250
16251         * LaTeX.h: Another bug fix.  Missing std:: this time.
16252
16253 2001-02-04  Allan Rae  <rae@lyx.org>
16254
16255         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16256         floats problem. I've left it commented out because it's not quite
16257         correct.  It should also test that the current object is a table or
16258         figure inset.  But I haven't gotten around to figuring out how to do
16259         that.  I *think* it'll be something like: "table" == inset.type()
16260
16261         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16262         bool.
16263
16264 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16265
16266         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16267         all the citation/databases/styles in the auxilary file.
16268         (run): Rerun latex if there was a babel language error.
16269
16270 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16271
16272         * text.C (Backspace): Preserve the font when changing newline char
16273         with a space.
16274         (BreakParagraph): If the cursor is before a space, delete the space.
16275
16276         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16277
16278 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16279
16280         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16281         new argument (code).
16282         (ChangeCitationsIfUnique): New method.
16283
16284         * paragraph.C (GetPositionOfInset): Handle bibkey.
16285
16286 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16287
16288         * BufferView_pimpl.h: change type of Position::par_pos to
16289         LyXParagraph::size_type.
16290
16291 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16292
16293         * BufferView_pimpl.C (savePosition, restorePosition): Write
16294         messages to minibuffer.
16295
16296 2001-01-28  José Matos  <jamatos@fep.up.pt>
16297
16298         * buffer.C (makeDocBookFile): adds support for document language.
16299         A silly restriction on the name of LatexCommand types where removed.
16300         Added support for CDATA sections, allows to chars unescaped, used
16301         among others in code, to avoid escape < and >.
16302
16303 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16304
16305         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16306         saved positions instrad of a stack. Furthermore, a position is
16307         stored using paragraph id/paragraph position.
16308
16309         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16310         Remove LFUN_REF_BACK.
16311
16312 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16313
16314         * converter.C (dvipdfm_options): New method.
16315
16316 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16317
16318         * vspace.C (isValidLength): Fix for empty input string.
16319
16320 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16321
16322         * LyXAction.C (init): change description of LFUN_FIGURE to
16323         "Insert Graphics"
16324
16325 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16326
16327         * LaTeX.C: add using directive
16328
16329 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16330
16331         * MenuBackend.C (expand): Fix the sorting of the formats.
16332
16333 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16334
16335         * lyx_main.C: tiny error message fix
16336
16337 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16338
16339         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16340         calling fl_initialize(). This fixes the problem with ',' as
16341         decimal separator in text files.
16342
16343 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16344
16345         * trans.C (process): Fix the keymap bug.
16346
16347 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16348
16349         * LaTeX.C (scanAuxFiles): New method. Provides support for
16350         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16351         (scanLogFile) Scan for "run BibTeX" messages.
16352
16353         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16354         OT1 font encoding. Also, load the aecompl package if the ae
16355         package is loaded.
16356
16357         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16358
16359 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16360
16361         * texrow.C (increasePos): turn two error messages into debug
16362         messages.
16363
16364 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16365
16366         * LaTeX.C (scanAux): Handle the \@input macro.
16367         (runBibTeX): Use scanAux().
16368
16369         * language.C (latex_options_): New field.
16370
16371         * LaTeXFeatures.C (getMacros): Add language macros.
16372
16373         * buffer.C (makeLaTeXFile): Small fix.
16374
16375 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16376
16377         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16378
16379         * text2.C: add a using directive.
16380
16381 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16382
16383         * BufferView2.C:
16384         * lyx_gui_misc.h:
16385         * lyxfr1.C:
16386         * lyxfunc.C: kill LyXBell.
16387
16388 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16389
16390         * text.C (IsBoundary): Remove the error message
16391
16392         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16393
16394         * lyxrc.C (setDefaults): Correct initialization value for
16395         font_norm_type.
16396
16397 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16398
16399         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16400         gotoError().
16401
16402         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16403         and GotoNextNote().
16404
16405         * src/LyXAction.C: Added reference-next.
16406
16407         * text.C (InsertChar): Use contains instead of strchr.
16408
16409         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16410
16411 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16412
16413         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16414         alignment commands (when needed).
16415
16416         * text.C (InsertChar): Add ':' to number separator chars.