]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
295e304a9c19da3e3947af5239671a234a5f340d
[lyx.git] / src / ChangeLog
1 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * text2.C (setCounter): prevent endless loop
4
5 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
6
7         * exporter.C (copyFile): use the mover instead of support::copy()
8         * exporter.C (Export): pass format and latex name to copyFile()
9         * exporter.h (addExternalFile): document
10         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
11
12 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13
14         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
15
16 2004-10-30  José Matos  <jamatos@lyx.org>
17
18         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
19         text and no inset or font change. This allows to use CDATA
20         sections just for the whole paragraph.
21
22 2004-10-30  José Matos  <jamatos@lyx.org>
23
24         * paragraph.C (getFirstWord): remove unused variable.
25
26 2004-10-30  José Matos  <jamatos@lyx.org>
27
28         * paragraph.C (getFirstWord): the content should always be escaped there.
29         (simpleDocBookOnePar):
30         * output_docbook.C (makeEnvironment): replace reference to CDATA to style pass_thru.
31
32 2004-10-30  José Matos  <jamatos@lyx.org>
33
34         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
35
36 2004-10-30  José Matos  <jamatos@lyx.org>
37
38         * output_docbook.C (makeParagraphs):
39         * paragraph.[Ch] (emptyTag): for docbook and company, if the
40         standard paragraph has only a given type of content drop the wrapper.
41
42 2004-10-29  José Matos  <jamatos@lyx.org>
43
44         * output_docbook.C (makeEnvironment):
45         * sgml.C (openTag):
46         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
47
48 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
49
50         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
51         (cleanID): sanitize any id.
52
53 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
54
55         * buffer.C, lyxlex_pimpl.C:
56         * lyxlex_pimpl.C (setFile):
57         s/getExtFromContents/getFormatFromContents/
58
59 2004-10-28  José Matos  <jamatos@lyx.org>
60
61         * output_docbook.C (makeEnvironment): move id to broadest possible scope.
62
63         * sgml.C (openTag): apply substitution of <> for all attribuites.
64
65 2004-10-28  José Matos  <jamatos@lyx.org>
66
67         * buffer.C (makeLinuxDocFile, makeDocBookFile):
68         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
69         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
70
71         * sgml.[Ch]: new version for open and closeTag for paragraph and
72         for strings. Now they handle the ids of paragraphs.
73
74 2004-10-26  Angus Leeming  <leeming@lyx.org>
75
76         * Makefile.am: add mover.[Ch].
77
78         * converter.C (convert, move): use the new Movers to move external
79         files to the temp directory.
80
81         * lyx_main.C (init): ensure that the global system_movers data
82         is initialised.
83
84         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
85         preferences file.
86
87         * mover.[Ch]: new files, defining a Mover as a utility to move an
88         external file between directories and, if necessary, manipulate this
89         file using a helper script.
90
91 2004-10-25  José Matos  <jamatos@lyx.org>
92
93         * output_docbook.C (makeCommand): merge two if's that tested the same condition.
94
95 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
96
97         * sgml.C (escapeString): fix warning in a better way
98
99 2004-10-25  José Matos  <jamatos@lyx.org>
100
101         * sgml.C (escapeString): import the require boosts header file for
102         tie, and avoid a signed unsigned comparison.
103
104 2004-10-25  José Matos  <jamatos@lyx.org>
105
106         * sgml.h: add #include <string>
107
108 2004-10-25  José Matos  <jamatos@lyx.org>
109
110         * sgml.[Ch] (escapeString): new function to escape all the string.
111
112 2004-10-24  José Matos  <jamatos@lyx.org>
113
114         * paragraph.[Ch] (getFirstWord): new function to get the first
115         word. Useful for description.
116         (simpleDocBookOnePar): remove depth argument, add another that
117         says where to start the paragraph.
118
119         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
120         use the new functions to fix cleanly the support for descriptions.
121
122 2004-10-24  José Matos  <jamatos@lyx.org>
123
124         * buffer.C (makeLinuxDocFile, makeDocBookFile):
125         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
126         * output_linuxdoc.C (linuxdocParagraphs):
127         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
128         add buffer as argument.
129
130 2004-10-24  José Matos  <jamatos@lyx.org>
131
132         * output_docbook.C (makeEnvironment, searchEnvironment): place
133         CDATA inside paragraphs and fix scope for listitems.
134
135 2004-10-24  José Matos  <jamatos@lyx.org>
136
137         * output_docbook.C: remove using statement for stack.
138
139 2004-10-23  José Matos  <jamatos@lyx.org>
140
141         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
142         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
143         docbook. The new scheme is recursive and makes use of iterators, the
144         same as latex export works.
145         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
146         directly with the paragraph contents. This code was moved up to
147         output_docbook.C (docbookParagraphs).
148         * sgml.C (openTag, closeTag): removed unneeded newlines.
149         (closeEnvTags) removed.
150
151 2003-10-23  André Pönitz  <poenitz@gmx.net>
152
153         * undo.C (textUndoOrRedo):
154         * dociterator.C (asDocIterator): work around crash
155
156         * cursor.C (getStatus): replace ASSERT by more verbose error message
157           and manual correction of the problem. Should increase stability
158           while providing more sensible information.
159
160 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
161
162         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
163
164         * bufferlist.C (previous, next): new methods
165
166         * lfuns.h:
167         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
168
169 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
170
171         * buffer.C (makeDocBookFile): add dsssl stylesheet control
172         entities to preamble.
173
174 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
175
176         * messages.C (Pimpl): strip off translation context information
177
178 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
181         the cursor is correct (bug 1694)
182
183 2004-10-13  José Matos  <jamatos@lyx.org>
184
185         * output_docbook.C (docbookParagraphs): fix closing tags in the
186         end of the document.
187
188 2004-10-09  José Matos  <jamatos@lyx.org>
189
190         * buffer.C: format up to 237.
191         * bufferparams.C (write): use tostr to convert booleans to strings.
192
193 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
194
195         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
196
197 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
198
199         * LaTeX.C: implement use of babel language in xindy.
200
201 2004-10-05  José Matos  <jamatos@lyx.org>
202
203         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
204         Add new translators to help reading and writing the lyx file.
205
206 2004-10-05  José Matos  <jamatos@lyx.org>
207
208         * ParagraphParameters.C (read):
209         * text.C (readParToken): replace nexToken by more appropriate lex
210         methods.
211
212 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
213
214         * LaTeX.C (runMakeIndex):
215         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
216         (usually 'makeindex') configurable.
217
218         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
219         with a variable rather than with a number.
220
221 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
222
223         * output_latex.C (TeXOnePar): make sure font setting is the first
224         thing that gets output (and the last at the end). Should fix bug
225         1404.
226
227 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
228
229         * pch.h: use proper signal include
230
231         * LaTeX.h: Use preferred calling of Boost.Signal
232         * buffer.h: ditto
233
234 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
235
236         * pch.h: dont include <boost/function/function0.hpp>
237
238         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
239
240         * paragraph_pimpl.h: remove usage of ShareContainer
241
242         * paragraph_pimpl.C: remove initialization of ShareContainer.
243
244 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
245
246         Fix bug #1666
247
248         * BufferView.C (putSelectionAt): change the semantics when
249         backwards == true: now, this just swaps cursor and anchor wrt the
250         forward case
251
252         * BufferView.h (putSelectionAt): add some documentation
253
254         * lyxfind.C (findBackwards): rewrite using while(). In particular,
255         make sure backwardChar is done at least once (to avoid getting
256         stuck)
257         (findNextChange): use putSelectionAt in the forward direction
258         (operator()): use Paragraph::isWord
259
260 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
261
262         * Spacing.C (set): c_str fix
263
264 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * lyx_cb.C (Reconfigure): quote the name of configure script in
267         case it contains spaces
268
269 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
270
271         * client: new dir
272
273         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
274         (BOOST_LIBS): use top_buildir when looking for the file
275
276 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
277
278         * pch.h: do not use include boost/format.hpp, multiple symbols
279                 will result (gcc bug)
280
281
282 2004-08-23  José Matos  <jamatos@lyx.org>
283
284         * bufferparams.C (readToken): fix reading of the author field.
285
286 2004-08-20  José Matos  <jamatos@lyx.org>
287
288         * lyxrc.C: remove support/translator.h inclusion since it is not used.
289
290 2004-08-20  José Matos  <jamatos@lyx.org>
291
292         * lyxlex.[Ch] (findToken): remove function.
293
294         * ParagraphParameters.C (findToken):
295         * bufferparams.C (findToken): replace call for previous function
296         with local copy. This local function has one more argument, the
297         read string argument.
298
299 2004-08-16  José Matos  <jamatos@lyx.org>
300
301         * ParagraphParameters.C (write):
302         * Spacing.C (writeFile):
303         * bufferparams.C (writeLaTeX):
304         * lyx_cb.C (Reconfigure):
305         * paragraph.C (write):
306         * tabular.C (write): remove unnecessary space at end of line.
307
308
309 2004-08-16  José Matos  <jamatos@lyx.org>
310
311         * text.C (readParagraph): remove debug message.
312
313 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
316         crash
317
318         * output_plaintext.C (asciiParagraph): set depth correctly
319
320         * outputparams.h: add member depth
321
322         * paragraph_funcs.C (ownerPar): remove.
323
324         * text2.C (setCounter): remove first_pit; comment out some
325         non-working code that uses ownerPar
326
327         * BufferView.C (getParentLanguage): remove. Not used anymore, and
328         uses ownerPar
329
330 2004-08-16  José Matos  <jamatos@lyx.org>
331
332         * text.C (readParToken, readParagraph, read): report all unknown tokens.
333         For the same level of importance use the same chanel to report problems.
334         (read): add code to deal with \begin_body and \end_body.
335
336
337 2004-08-15  José Matos  <jamatos@lyx.org>
338
339         * lyxlex.C (getString): fix comment, buffer::readBody is now
340         buffer:readDocument.
341
342         * tex-strings.C (string_papersize): Default -> default,
343         Custom -> custom, for consistency with other options.
344
345 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
346
347         * pch.h: new file
348
349         * Makefile.am: support pch
350
351 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * text.C (readParToken): remove the static LyXFont variable and
354         pass it as a parameter instead. This fixes a nasty bug where an
355         inset will be inserted with a bad font in some situations
356         (readParagraph): adapt
357
358         * text2.C (setCounter): reduce number of calls to pars_[pit]
359
360         * text.C (singleWidth): add an assert, fix a test
361
362         * rowpainter.C (paintText): reduce number of calls to singleWidth
363
364         * paragraph.C (isHfill):
365         (isNewline): ws only
366
367 2004-08-14  André Pönitz  <poenitz@gmx.net>
368
369         * text.C:
370         * text2.C:
371         * rowpainter.C:
372         * lyxtext.h (several functions): use a Paragraph & argument
373         instead of par_type
374
375 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         * metricsinfo.h: add a new field ltr_pos to PainterInfo
378
379         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
380
381         * text.C (singleWidth): remove useless test
382
383 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * tabular.h: remove bogus comments
386
387         * tabular.C (getDescentOfRow):
388         (isPartOfMultiColumn): add assertions
389
390         * lyxlength.C (inPixels): remove #warning
391
392 2004-08-14  André Pönitz  <poenitz@gmx.net>
393
394         * paragraph.h: inline getChar()
395
396         * BufferView.h: remove unused declarations
397
398 2004-08-14  José Matos  <jamatos@lyx.org>
399
400         * Buffer.[Ch] (readDocument): new name for old readBody.
401         * Buffer.C: new file format, new keywords: \begin_document,
402         \begin_header, \begin_body, \end_body.
403
404         * bufferparams.C (readToken): replace all calls to lex.nextToken
405         by lex.next(). Do the same to eatLine except where really needed.
406
407         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
408         line when writing to the lyx file.
409
410         * output_plaintext.C (asciiParagraph): fix Bibliography style
411         handling.
412
413         * text.C (read): fix end of file handling.
414
415 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
416
417         * MenuBackend.C (Menu::operator[]): new method to access
418         individual menu items
419         (Menu::hasFunc): new method. search for an item that corresponds
420         to a given func
421         (MenuBackend::specialMenu): new method
422         (MenuBackend::expand): if a special menu has been set, skip
423         entries whose func() appears in this menu
424
425 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
426
427         * text3.C: use Debug::DEBUG a bit more
428
429         * text.C (leftMargin): try to simplify a tiny bit change var x to
430         l_margin. Dont output the wide margins always.
431         (rightMargin): no margin in inner texts
432
433         * rowpainter.h (nestMargin): new func
434         (changebarMargin): new func
435         (rightMargin): new func
436
437         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
438         now functions.
439         (paintLast): ditto
440
441         * factory.C (createInset): modify setDrawFrame
442
443         * cursor.C: use Debug::DEBUG a bit more
444
445 2004-08-14  André Pönitz  <poenitz@gmx.net>
446
447         * coordcache.[Ch]:
448         * Makefile.am: new files to accomodate an 'external' (x,y)-position
449         cache for all insets in (at least partially) visible (top-level)
450         paragraphs.
451
452         * BufferView_pimpl.C: reset external coord cache before every update.
453         This means the coord cache only contains valid entries.
454
455 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
456
457         bug 1096
458         * BufferView_pimpl.C (getInsetByCode): move function out of class
459         and change in to a template in anon namespace. Also fix to do what
460         suits us better.
461
462 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
463
464         bug 1305
465         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
466         of char
467         (breakParagraph): rename par to par_offset and use a local
468         reference. Add code to keep the language over a rebreak.
469         (breakParagraphConservative): rename par to par_offset, use a
470         local reference
471         (mergeParagraph): ditto
472         (outerHook): ditto
473         (isFirstInSequence): ditto
474         (outerFont): rename pit to par_offset
475
476         * paragraph.C: ws change
477         * paragraph.h: ditto
478         * text3.C: ditto
479         * text.C: ditto
480
481 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
482
483         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
484         treatment for ']'
485
486         * paragraph.C (simpleTeXOnePar): when we have a \item with
487         optional argument, enclose the argument with curly brackets (in
488         case it contains a closing square bracket)
489
490         * text2.C (editXY):
491         * text2.C (editXY):
492         * text3.C (checkInsetHit): constify
493
494 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
495
496         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
497         documents (bug 1629)
498
499 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
500
501         Fix toggling of collapsable insets with the mouse (bug 1558)
502
503         * lyxfunc.C (dispatch): adapt to LCursor changes
504
505         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
506         make sure that dispatch is not invoked twice
507
508         * cursor.C (needsUpdate): new method
509         (dispatch): return void
510         (result): new method, to access the DispatchResult of the cursor.
511
512 2004-08-13  José Matos  <jamatos@lyx.org>
513
514         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
515
516 2004-08-13  André Pönitz  <poenitz@gmx.net>
517
518         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
519
520         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
521           multiple cells
522
523 2004-08-12  André Pönitz  <poenitz@gmx.net>
524
525         * text3.C: take out the 'cursor right' form insertInset and only
526         do it in those places when it is really needed. Fixes crash on
527         C-m...
528
529 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
530
531         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
532
533         * BufferView_pimpl.C (setBuffer): initialize the current font of
534         the underlying LyXText
535
536 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
537
538         * kbsequence.C (print): use UI native formatting for menu
539         shortcuts
540
541         * text.C (insertChar): call Paragraph::insertChar with a font
542         argument (cosmetic)
543
544         * paragraph.C (insertInset, insertChar): the version that takes a
545         LyXFont argument is now a wrapper around the other one (the
546         opposite used to be true).
547
548         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
549         argument. Font setting is done in Paragraph now.
550
551 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
552
553         * outputparams.h: add new members intitle and lang.
554
555         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
556         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
557
558 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
559
560         * text3.C (dispatch): remove special handling of button 4 and 5,
561         it is now taken care of in the frontend code.
562
563 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
564
565         * Spacing.h: add <string> (STLPort compile fix)
566
567 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
568
569         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
570
571 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
572
573         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
574         to bool.
575
576         * converter.C (showMessage): inherit from unary_function, make
577         operator() const.
578
579         * buffer.C (writeFile): initialize retval
580
581         * InsetList.h: rename private variable list to list_
582         * InsetList.[Ch]: adjust accordingly.
583
584 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
585
586         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
587         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
588         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
589         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
590         * ParagraphParameters.C, LaTeXFeatures.C: replace
591         "support/std_sstream.h" with <sstream>
592
593 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
594
595         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
596         * lyxsocket.C (LyXServerSocket): ditto
597         (serverCallback): ditto
598
599 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
600
601         * LaTeXFeatures.C: check release date when loading jurabib.
602
603 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
604
605         * lyxserver.C (startPipe): call register_socket_callback
606         (endPipe): call unregister_socket_callback
607
608 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
609
610         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
611         (LyXServerSocket): register the callback
612         (LyXServerSocket): unregister the callback
613         (fd): delete function
614         (serverCallback): improve error checking and setup the callbacks.
615         (dataCallback): change arg to fd.
616         (writeln): new func (copied fro the client socket) used for server
617         write to client.
618         (LyXDataSocket): simplify
619         (~LyXDataSocket): close ann unregiser callback
620         (server): delete function
621         (fd): delete function
622         (readln): small changes, improve some std::string usage
623         (writeln): constify a bit
624
625 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
626
627         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
628         Qt frontend
629
630 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
631
632         * BufferView_pimpl.C (setBuffer): set the layout combox value only
633         after it has been populated
634
635 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
636
637         * text2.C (insertInset): move cursor when inserting inset.
638
639 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * kbmap.C (findbindings): a couple of new methods. returns a
642         container of kb_sequence objects. The real work is done by the
643         private recursive version
644         (printbindings): uses findbindings to print out a bracketed list
645         of bindings (renamed from findbinding).
646
647         * MenuBackend.C (binding): use kb_keymap::findbindings
648
649         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
650
651 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
652
653         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
654
655 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
656
657         * paragraph.C (isWord): return true on insets that report
658         isLetter().
659
660         * text.C (getWord): use Paragraph::isWord to decide what is in a
661         word and what is not; fix bug 1609.
662
663 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
664
665         * tex-strings.C: add "none" to string_paperpackages[], fixes
666         off-by-one-error in the paperpackage selection.
667
668         * lyxlex.[Ch]:
669         * tex-strings.[Ch]: char const * string[n]
670         -> char const * const string[]
671
672 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
673
674         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
675         command, return early.
676
677 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
678
679         * debug.h: add DEBUG to enum and fix size of ANY.
680
681         * debug.C: add support for Debug::DEBUG
682         (showTags): cast errorTags.level to unsigned int
683
684         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
685         (redoCurrentBuffer): ditto
686         (updateScrollbar): ditto
687         * cursor.C (dispatch): ditto
688         * text2.C (setLayout): ditto
689         (setFont): ditto
690         (updateCounters): ditto
691         (editXY): ditto
692         (deleteEmptyParagraphMechanism): ditto
693
694 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
695
696         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
697         annotations to cleanup the Makefile slightly.
698
699 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
700
701         * lyxrc.C: do not set user_email to a default value but use empty
702         instead. The entry used to be translated, which does not work
703         since at the point where lyxrc is constructed there is no
704         translation service available
705
706         * messages.C (getLocaleDir): remove and use directly
707         lyx_localedir() instead
708
709 2004-06-02  Angus Leeming  <leeming@lyx.org>
710
711         Fix crash caused by dereferencing null pointer 'exportdata' in
712         OutputParams by creating a new ExportData variable on the heap,
713         storing it in a boost::shared_ptr.
714         The crash was triggered when generating an Instant Preview
715         of an external inset.
716
717         * Makefile.am: add outputparams.C
718
719         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
720         (c-tor): allocate memory to it.
721
722         * exporter.C (c-tor): associated changes.
723
724 2004-06-01  Angus Leeming  <leeming@lyx.org>
725
726         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
727         contains data before calling isInset(0). (Bug 1513.)
728
729 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
730
731         * exporter.C (checkOverwrite): new method
732         * exporter.C (copyFile): new method
733         * exporter.C (Export): copy referenced files to the document dir
734         * exporter.[Ch]: new class ExportedFile
735         * exporter.[Ch]: new class ExportData. Contains currently the
736         names of referenced external files
737         * outputparams.h: add exportdata member.
738
739 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
740
741         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
742         version.C-tmp
743
744 2004-05-19  Angus Leeming  <leeming@lyx.org>
745
746         * LaTeXFeatures.C:
747         * ToolbarBackend.C:
748         * bufferparams.C:
749         * lyxfunc.C: small changes due to the introduction of namespace
750         lyx::frontend and the moving of namespace biblio to lyx::biblio.
751
752 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
753
754         * text3.C (dispatch): supress update when only moving the cursor
755         * cursor.C (selHandle): remove commented code
756
757 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
758
759         * paragraph.C (startTeXParParams): correct column count
760         * CutAndPaste.C (pasteSelection): remove const_cast
761         * output_docbook.C (docbookParagraphs): remove const_cast
762         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
763         const_cast and return ParagraphList::const_iterator
764         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
765         * output_plaintext.C (writeFileAscii): remove const_cast
766         * paragraph.[Ch] (simpleTeXOnePar): make const
767         * paragraph_funcs.C (outerPar): use const iterators
768         * paragraph_pimpl.C (validate): use const iterators
769         * text.C (setHeightOfRow): use const iterators
770
771 2004-05-17  Angus Leeming  <leeming@lyx.org>
772
773         * lfuns.h:
774         * LyXAction.C (init): new LFUN_INSET_REFRESH.
775
776         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
777         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
778         if the citation engine has changed.
779
780 2004-05-14  José Matos  <jamatos@lyx.org>
781
782         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
783         if the textclass does not provide it. Have it different for sgml and
784         xml.
785         support the language of document.
786         * output_docbook.C (docbookParagraphs):
787         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
788         first anchor as the id of the paragraph, remove special case code.
789         * sgml.C (escapeChar): escape only < & >.
790
791 2004-05-14  Angus Leeming  <leeming@lyx.org>
792
793         * bufferparams.h: move biblio::CiteEngine enum here to minimize
794         dependencies on src/frontends/controllers/biblio.h. Define a
795         CiteEngine_enum wrapper class to enable the enum to be forward
796         declared.
797
798 2004-05-12  Angus Leeming  <leeming@lyx.org>
799
800         * buffer.C: up LYX_FORMAT to 234.
801         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
802         use_numerical_citations with a single biblio::CiteEngine cite_engine
803         variable.
804         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
805
806 2004-05-13  José Matos  <jamatos@lyx.org>
807
808         * converter.h:
809         * converter.C (Converter, readFlags): add xml member.
810         * outputparams.h: add XML flavor.
811         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
812
813 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
814
815         * lyxfunc.C (dispatch):
816         (getStatus): fix handling of LFUN_SEQUENCE
817
818 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
819
820         * debug.C (showLevel): do not forget the end-of-line marker
821
822 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
823
824         * kbmap.C (read): do not stop parsing a bind file when an error
825         occurs (bug 1575)
826
827 2004-04-29  Angus Leeming  <leeming@lyx.org>
828
829         * cursor.C:
830         * factory.C:
831         * pariterator.C:
832         * text2.C: wrap a bunch of #warning statements
833         inside #ifdef WITH_WARNINGS blocks.
834
835 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
836
837         * buffer.C: increment format to 233.
838
839 2004-04-28  Angus Leeming  <leeming@lyx.org>
840
841         * BufferView_pimpl.C:
842         * lyxfunc.C:
843         * text3.C:
844         s/updateToolbar()/updateToolbars()/
845         s/Toolbar.h/Toolbars.h/
846
847 2004-04-28  Angus Leeming  <leeming@lyx.org>
848
849         * BufferView.[Ch] (c-tor):
850         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
851         No longer passes these data to the WorkArea generator.
852
853 2004-04-28  Angus Leeming  <leeming@lyx.org>
854
855         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
856
857 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
858
859         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
860
861 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
862
863         * output_latex.C (TeXEnvironment): make sure that there is a line
864         break before \end{foo} for the last paragraph of a document
865         (TeXOnePar): if the paragraph is at the end of the document (or
866         inset) and the language has to be reset, then make sure that the
867         line break is _before_ the language command, not after (fixes bug
868         1225); also make sure that the language reset command is the first
869         thing after the paragraph (to ensure proper nesting of
870         environments and thus fix bug 1404)
871
872 2004-04-21  John Levon  <levon@movementarian.org>
873
874         * ToolbarBackend.h:
875         * ToolbarBackend.C: make "name" be a programmatic name
876         and a gui_name field.
877
878         * lyxfunc.C: display the minibuffer on M-x
879
880 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
881
882         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
883         (bug 1526)
884
885 2004-04-19  Angus Leeming  <leeming@lyx.org>
886
887         * BufferView_pimpl.C (setBuffer): changed preview interface.
888
889         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
890         possible values.
891
892 2004-04-19  John Levon  <levon@movementarian.org>
893
894         * BufferView_pimpl.C:
895         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
896
897 2004-04-05  Angus Leeming  <leeming@lyx.org>
898
899         * text.C (redoParagraphs): add call to updateCounters(), thereby
900         fixing the missing "Figure #:" label from the caption of a
901         figure float.
902
903 2004-04-13  Angus Leeming  <leeming@lyx.org>
904
905         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
906         cursor is clicked out of an inset.
907
908 2004-04-13  Angus Leeming  <leeming@lyx.org>
909
910         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
911         than an InsetOld one.
912
913 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
914
915         * format.[Ch]: add editor to Format
916         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
917         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
918
919 2004-04-08  André Pönitz  <poenitz@gmx.net>
920
921         * metricsinfo.h: remove PainterInfo::width member
922
923 2004-04-08  Angus Leeming  <leeming@lyx.org>
924
925         * lyx_sty.C (boldsymbol_def): modify so that it outputs
926         "\providecommand" rather than "\newcommand", thereby preventing
927         clashes with packages that define "\boldsymbol" themselves.
928         Eg, beamer.
929
930 2004-04-08  Angus Leeming  <leeming@lyx.org>
931
932         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
933         thereby squashing an unnecessary warning.
934
935 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
936
937         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
938         setBuffer()
939
940 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
941
942         * BufferView.C (setCursor): call redoParagraph (some insets could
943         have been opened)
944         (putSelectionAt): remove the 'double update' trick
945
946         * BufferView_pimpl.C (fitCursor): call refreshPar
947         (workAreaDispatch): remove an uneeded update call
948         (dispatch): remove some manual update calls
949
950         * cursor.[Ch]: remove cached_y_, updatePos
951         (selHandle): set noUpdate when appropriate
952
953         * lyxfunc.C (dispatch): track if we need an update
954
955         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
956
957         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
958         (paintSelection): cheap optimization, do not call cursorX when not
959         needed
960         (paintPars): change signature
961         (refreshPar): add
962         (paintText): adjust
963         (paintTextInset): adjust
964
965         * text.C: adjust
966
967 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * lengthcommon.C: compilation fix: remove explicit array size from
970         unit_name[] and friends
971
972 2004-04-05  Angus Leeming  <leeming@lyx.org>
973
974         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
975
976         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
977         present only for the preferences dialog.
978         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
979
980 2004-04-05  Angus Leeming  <leeming@lyx.org>
981
982         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
983         to enable the frontends to export changes to lyxrc correctly.
984
985         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
986
987 2004-04-07  André Pönitz  <poenitz@gmx.net>
988
989         * cursor.[Ch] (selClear, adjust): remove math
990
991         * cursor_slice.C: more agressive assert
992
993         * lyxfunc.C:
994         * BufferView_pimpl.C: rework mouse event dispatch
995
996         * dociterator.C:
997         * paragraph.C:
998         * text2.C:
999         * text3.C: adjust
1000
1001 2004-04-05  André Pönitz  <poenitz@gmx.net>
1002
1003         * cursor.[Ch] (valign, halign...): remove unneeded functions
1004
1005 2004-04-05  Angus Leeming  <leeming@lyx.org>
1006
1007         * lyxlength.[Ch] (unit_name et al.): const-correct.
1008
1009 2004-04-05  Angus Leeming  <leeming@lyx.org>
1010
1011         * BufferView_pimpl.C:
1012         * buffer.C:
1013         * counters.C:
1014         * cursor.C:
1015         * lyxfunc.C
1016         * paragraph.C:
1017         * pariterator.C:
1018         * text.C:
1019         * text2.C:
1020         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1021
1022 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1023
1024         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1025
1026 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1027
1028         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1029         * BufferView_pimpl.[Ch] (getStatus)
1030         * BufferView.[Ch] (getStatus): add
1031         * lyxfunc.C (getStatus): move lfuns handled in
1032         BufferView::dispatch to te function above
1033         * Cursor.C (setSelection): set selection() = true
1034
1035 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1036
1037         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1038
1039 2004-03-31  Angus Leeming  <leeming@lyx.org>
1040
1041         * lyxfunc.C (dispatch): Fall through to the generic
1042         Dialogs::show("preamble").
1043
1044 2004-03-31  Angus Leeming  <leeming@lyx.org>
1045
1046         * lyxfunc.C (dispatch): Fall through to the generic
1047         Dialogs::show("spellchecker").
1048
1049 2004-03-31  Angus Leeming  <leeming@lyx.org>
1050
1051         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1052         preferences dialog.
1053
1054 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1055
1056         * BufferView.C
1057         * cursor.[Ch]
1058         * dociterator.[Ch]:
1059         * insetiterator.[Ch]:
1060         * lyxfind.C:
1061         * lyxfunc.C:
1062         * pariterator.[Ch]:
1063         * text2.C:
1064         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1065
1066 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1067
1068         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1069         insets where we are putting the cursor.
1070
1071 2004-03-31  Angus Leeming  <leeming@lyx.org>
1072
1073         * lfuns.h:
1074         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1075
1076         * lyxrc.[Ch] (read, write): overloaded member functions taking
1077         a std::[io]stream arguments.
1078
1079         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1080
1081 2004-03-31  Angus Leeming  <leeming@lyx.org>
1082
1083         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1084         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1085
1086         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1087         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1088
1089 2004-03-31  Angus Leeming  <leeming@lyx.org>
1090
1091         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1092         the LFUN_ALL_INSETS_TOGGLE code.
1093
1094 2004-03-30  Angus Leeming  <leeming@lyx.org>
1095
1096         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1097         has died. Fall through to the generic Dialogs::show("document").
1098
1099 2004-03-30  Angus Leeming  <leeming@lyx.org>
1100
1101         * lfuns.h:
1102         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1103         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1104
1105         * lyxfunc.C (getStatus, dispatch): define the actions for these
1106         lfuns. Little more than a cut and pste job from ControlDocument.C
1107
1108         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1109
1110 2004-03-30  Angus Leeming  <leeming@lyx.org>
1111
1112         * lfuns.h:
1113         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1114         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1115
1116         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1117         open/closed state of ollapsable insets. Usage:
1118
1119         all-inset-toggle <state> <name>, where
1120         <state> == "open" || "closed" || "toggle" and
1121         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1122
1123         * lyxtext.h, text2.C (toggleInset): removed.
1124
1125         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1126         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1127         now passes LFUN_INSET_TOGGLE to the found inset.
1128
1129         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1130         is now invoked as "all-insets-toggle toggle branch".
1131
1132 2004-03-30  Angus Leeming  <leeming@lyx.org>
1133
1134         * dociterator.C:
1135         * insetiterator.C:
1136         * pariterator.[Ch]: added/corrected header blurb.
1137
1138 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1139
1140         * dociterator.[Ch]: add an inset_ member
1141         (backwardPos): implemented
1142         (backwardPos, forwardPos): use inset_ when the stack is empty.
1143         (doc_iterator_begin, doc_iterator_end): implemented
1144         * pariterator.[Ch]: adjust, add begin, end
1145         * insetiterator.[Ch]: adjust, add begin, end
1146         * cursor.C:
1147         * document.C:
1148         * BufferView.C:
1149         * BufferView_pimpl.C:
1150         * CutAndPaste.C: adjust
1151
1152 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1153
1154         * buffer.C: increment file format to 232.
1155         * LaTeXFeatures.C: add bibtopic package.
1156         * bufferparams.[Ch]: param \use_bibtopic.
1157
1158         * lyxrc.[Ch]: add lyxrc bibtex_command
1159         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1160
1161         * buffer.C: increment file format to 231.
1162
1163 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1164
1165         * dociterator.C: implement forwardPar
1166         * iterators.[Ch]: remove, replaced by
1167         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1168         * BufferView.C:
1169         * BufferView_pimpl.C:
1170         * CutAndPaste.C:
1171         * buffer.C:
1172         * bufferview_funcs.C:
1173         * cursor.C:
1174         * lyxfind.C
1175         * lyxfunc.C
1176         * paragraph_funcs.C
1177         * toc.C:
1178         * Makefile.am: adjust
1179
1180 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1181
1182         * CutAndPaste.C (pasteSelection): fix 2 crashes
1183         (eraseSelection): fix a crash
1184         * paragraph_funcs.C: remove a warning
1185
1186 2004-03-28  Angus Leeming  <leeming@lyx.org>
1187
1188         * lfuns.h:
1189         * LyXAction.C (init): new LFUN_PRINT.
1190
1191         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1192
1193 2004-03-27  Angus Leeming  <leeming@lyx.org>
1194
1195         * lfuns.h:
1196         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1197
1198         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1199
1200 2004-03-27  Angus Leeming  <leeming@lyx.org>
1201
1202         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1203         insetlist always contains non-null pointers to insets.
1204
1205 2004-03-26  Angus Leeming  <leeming@lyx.org>
1206
1207         * src/BufferView_pimpl.C:
1208         * src/CutAndPaste.C:
1209         * src/buffer.C:
1210         * src/iterators.C:
1211         * src/output_plaintext.C:
1212         * src/outputparams.h:
1213         * src/paragraph_funcs.C:
1214         * src/rowpainter.C:
1215         * src/text.C:
1216         * src/text2.C:
1217         * src/frontends/controllers/ControlErrorList.C:
1218         * src/frontends/gtk/FileDialogPrivate.C:
1219         * src/frontends/gtk/GPainter.C:
1220         * src/frontends/gtk/GToolbar.C:
1221         * src/frontends/qt2/QRef.C:
1222         * src/mathed/math_scriptinset.C: squash compiler warnings.
1223
1224 2004-03-26  Angus Leeming  <leeming@lyx.org>
1225
1226         * ispell.C (LaunchIspell::start):
1227         * lyx_cb.C (AutoSaveBuffer::start):
1228         invoke run(DontWait) rather than runNonBlocking().
1229
1230 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1231
1232         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1233
1234 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1235
1236         * kbsequence.C (print): adjust
1237
1238         * kbmap.C (printKeySym): rename and change signature
1239         (printKey): use LyXKeySym::print()
1240
1241 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1242
1243         * undo.C: add using std::advance to compile for stlport
1244
1245 2004-03-24  Angus Leeming  <leeming@lyx.org>
1246
1247         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1248         it leads to a crash when no buffer is present.
1249
1250 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1251             Martin Vermeer  <martin.vermeer@hut.fi>
1252
1253         * lyxfunc.C (dispatch):
1254         * bufferparams.C (readToken): use the new LColor::setColor
1255
1256         * LColor.[Ch] (setColor): new version that takes two strings as
1257         argument and creates a new color entry if necessary
1258
1259 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1260
1261         * buffer.C (makeLaTeXFile): if the main latex file that is
1262         processed is usually a subdocument of some master, then pretend
1263         for a while that it is actually the master
1264
1265 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1266
1267         * buffer.C (getLabelList):
1268         (getBibkeyList): use getMasterBuffer()
1269         (getMasterBuffer): new method. Returns the main document in the
1270         case where one is using included documents.
1271
1272 2004-03-25  André Pönitz  <poenitz@gmx.net>
1273
1274         * Makefile.am:
1275         * iterators.[Ch]:
1276         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1277
1278         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1279
1280         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1281         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1282
1283         * ParameterStruct.h: merge with ParagraphParameters
1284
1285         * lyxtext.h: remove LyXText::parOffset() and getPar()
1286
1287         * text3.C: Remove all 'manual' update calls. We do now one per user
1288         interaction which is completely sufficient.
1289
1290         * Bidi.C:
1291         * BufferView.[Ch]:
1292         * BufferView_pimpl.C:
1293         * FontIterator.[Ch]:
1294         * MenuBackend.C:
1295         * ParagraphParameters.[Ch]:
1296         * buffer.C:
1297         * buffer.h:
1298         * bufferlist.C:
1299         * cursor.[Ch]:
1300         * cursor_slice.[Ch]:
1301         * dociterator.[Ch]:
1302         * errorlist.[Ch]:
1303         * factory.C:
1304         * lfuns.h:
1305         * lyxfind.C:
1306         * lyxfunc.C:
1307         * output_docbook.[Ch]:
1308         * output_latex.[Ch]:
1309         * output_linuxdoc.[Ch]:
1310         * output_plaintext.[Ch]:
1311         * paragraph.[Ch]:
1312         * paragraph_funcs.[Ch]:
1313         * paragraph_pimpl.[Ch]:
1314         * rowpainter.C:
1315         * tabular.[Ch]:
1316         * text.C:
1317         * text2.C:
1318         * toc.C:
1319         * undo.[Ch]: adjust
1320
1321         * frontends/controllers/ControlDocument.C:
1322         * frontends/controllers/ControlErrorList.C:
1323         * frontends/controllers/ControlSpellchecker.C:
1324         * insets/inset.C:
1325         * insets/inset.h:
1326         * insets/insetbase.h:
1327         * insets/insetbibitem.C:
1328         * insets/insetbox.C:
1329         * insets/insetbranch.C:
1330         * insets/insetcaption.C:
1331         * insets/insetcharstyle.C:
1332         * insets/insetcharstyle.h:
1333         * insets/insetcollapsable.C:
1334         * insets/insetcollapsable.h:
1335         * insets/insetert.C:
1336         * insets/insetfloat.C:
1337         * insets/insetfoot.C:
1338         * insets/insetmarginal.C:
1339         * insets/insetnote.C:
1340         * insets/insetoptarg.C:
1341         * insets/insettabular.C:
1342         * insets/insettext.C:
1343         * insets/insettext.h:
1344         * insets/insetwrap.C:
1345         * mathed/math_mboxinset.C:
1346         * mathed/math_nestinset.C:
1347         * mathed/math_scriptinset.C:
1348         * mathed/math_scriptinset.h:
1349         * support/types.h:
1350
1351 2004-03-24  Angus Leeming  <leeming@lyx.org>
1352
1353         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1354         deal with any child processes that have finished but are waiting to
1355         communicate this fact to the rest of LyX.
1356
1357 2004-03-24  Angus Leeming  <leeming@lyx.org>
1358
1359         64-bit compile fixes.
1360
1361         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1362         (c-tor): pass lyx::pos_types rather than ints.
1363
1364         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1365         lyx::pos_type.
1366
1367         * text.C (Delete): compile fix.
1368         (getPar): ensure that function declaration is the same as that in
1369         the header file.
1370
1371 2004-03-23  Angus Leeming  <leeming@lyx.org>
1372
1373         * ispell.C (LaunchIspell):
1374         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1375         a boost::shred_ptr rather than a std::auto_ptr.
1376
1377 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1378
1379         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1380         handle LFUN_FILE_INSERT_*
1381
1382         * lyxrc.C (setDefaults, getDescription, output, read):
1383         * lyxrc.h: remove ps_command
1384
1385 2004-03-22  Angus Leeming  <leeming@lyx.org>
1386
1387         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1388         Ensure that error_handler is processed once only and that all data
1389         is saved before attempting to output any warning messages.
1390
1391         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1392
1393 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1394
1395         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1396
1397 2004-03-19  André Pönitz  <poenitz@gmx.net>
1398
1399         * cursor.[Ch] (reset): take main text inset as argument
1400
1401         * BufferView: adjust
1402         * BufferView_pimpl.C: adjust
1403
1404         * paragraph.[Ch]: fix completely broken operator=()
1405
1406 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1407
1408         * LColor.C (getFromLyXName): make sure that the color name is used
1409         as lowercase.
1410
1411 2004-03-17  Angus Leeming  <leeming@lyx.org>
1412
1413         * lfuns.h:
1414         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1415
1416         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1417         dialog and to kill a forked process.
1418
1419 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1420
1421         * text2.C (setCursorFromCoordinates): fix font problem
1422
1423 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1424
1425         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1426         bogus "rebuild cursor" code
1427
1428 2004-03-11  André Pönitz  <poenitz@gmx.net>
1429
1430         * buffer.[Ch]: use InsetText instead of LyXText as container for
1431         the main lyx text.
1432
1433         * dociterator.[Ch]: drop the BufferView * member which is not needed
1434         anymore after the change to buffer.C
1435
1436         * paragraph_funcs.C:
1437         * text.C:
1438         * text2.C:
1439         * BufferView.[Ch]:
1440         * BufferView_pimpl.[Ch]:
1441         * cursor.[Ch]:
1442         * cursor_slice.[Ch]: adjust
1443
1444         * text3.C: fix bug in mathDispatch
1445
1446 2004-03-08  André Pönitz  <poenitz@gmx.net>
1447
1448         * undo.[Ch]: use 'StableDocumentIterator' as base for
1449         the Undo struct.
1450
1451 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1452
1453         * LaTeXFeatures.C:
1454         * bufferparams.[Ch]: add jurabib support and param.
1455
1456         * LaTeX.C: add FIXME/comment.
1457
1458 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1459
1460         * buffer.C: increment file format to 230.
1461
1462 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1463
1464         * cursor.C (dispatch): avoid infinite loops
1465
1466 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1467
1468         * rowpainter.C (paintSelection): fix x coordinates
1469
1470 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1471
1472         * text.C (rowBreakPoint): fix breaking before displayed insets
1473
1474 2004-03-01  André Pönitz  <poenitz@gmx.net>
1475
1476         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1477
1478         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1479
1480         * Makefile.am:
1481         * BufferView.C:
1482         * BufferView_pimpl.C:
1483         * buffer.C:
1484         * lyxfind.C:
1485         * lyxfunc.C:
1486         * text.C:
1487         * text2.C:
1488         * text3.C: adjust
1489
1490 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1491
1492         * lyxtext.h:
1493         * text.C:
1494         * text2.C:
1495         * rowpainter.C:
1496         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1497         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1498
1499 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1500
1501         * Bidi.[Ch] (computeTables): const correctness
1502         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1503         fill_hfill, fill_label_hfill and x from Row
1504         * lyxtext.h: prepareToPrint returns a RowMetrics
1505         * rowPainter.C: adjust
1506         * text.C (prepareToPrint): use width, not textWidth. adjust
1507         (redoParagraphInternal, cursorX): adjust
1508         * text2.C (getColumnNearX): adjust
1509         (init): put a default value to the top LyXText::width
1510
1511 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1512
1513         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1514
1515 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1516
1517         * lyxtext.h: add FontIterator class
1518
1519         * text.C (FontIterator, operator*, operator->, operator++): add
1520         (rowBreakPoint, setRowWidth): adjust (fixing a
1521         rebreaking bug)
1522
1523 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1524
1525         * BufferView_pimpl.C (workAreaDispatch): allow also
1526         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1527
1528 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1529
1530         * text.C (rowBreakPoint): fix a bug showing with very large insets
1531
1532 2004-02-25  André Pönitz  <poenitz@gmx.net>
1533
1534         * text3.C:
1535         * cursor.[Ch]: move some mathed specific code to mathed
1536
1537 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1538
1539         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1540         use_tempdir in preferences
1541         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1542         tempfile creation
1543         * lyx_main.C: ensure that tempdir is valid
1544         * lyxlex.h: correct typo
1545         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1546         * paragraph.[Ch] (isMultiLingual): make const
1547         * cursor.[Ch] (openable): make const
1548
1549 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1550
1551         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1552
1553 2004-02-20  André Pönitz  <poenitz@gmx.net>
1554
1555         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1556
1557         * cursor.[Ch]: prepare for localized getStatus()
1558
1559         * lyxtext.h:
1560         * tabular.C:
1561         * text.C:
1562         * text2.C:
1563         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1564
1565 2004-02-20  André Pönitz  <poenitz@gmx.net>
1566
1567         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1568
1569 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1570
1571         * text2.C (setCursorFromCoordinates): switch to absolute coords
1572         (cursorUp): adjust
1573         (cursorDown): adjust
1574         * text3.C (dispatch): adjust
1575
1576 2004-02-16  André Pönitz  <poenitz@gmx.net>
1577
1578         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1579           insets/ChangeLog)
1580
1581         * cursor_slice.[Ch]: remove unneeded acessor function
1582
1583         * lyxtext.h: rename rtl() to isRTL()
1584
1585         * rowpainter.C:
1586         * tabular.C:
1587         * text.C:
1588         * text2.C:
1589         * text3.C: adjust
1590
1591 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1592
1593         * rowpainter.C (paintSelection): coord fix
1594
1595 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1596
1597         * Spacing.C: compile fix
1598
1599 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1600
1601         * cursor.C (dispatch): restore current_ before returning
1602
1603 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1604
1605         * text2.C (cursorUp, cursorDown): fix coords
1606         (moveUp): fix crash
1607
1608 2004-02-12  André Pönitz  <poenitz@gmx.net>
1609
1610         * lyxtext.h:
1611         * text.C:
1612         * text2.C:
1613         * text3.C: add LCursor & parameter to most cursor movement functions
1614           remove usage of LyXText::cursorRow() and cursorPar()
1615
1616         * cursor.[Ch]: add textRow() needed members
1617
1618         * BufferView.C:
1619         * BufferView_pimpl.C:
1620         * paragraph.[Ch]:
1621         * BufferView.C:
1622         * BufferView_pimpl.C: adjust
1623
1624 2004-02-11  André Pönitz  <poenitz@gmx.net>
1625
1626         * lyxfunc.C:
1627         * BufferView.[Ch]:
1628         * BufferView_pimpl.C: shift undo/redo handling
1629
1630         * cursor.[Ch]: fix mathed crash
1631
1632         * lyxfind.C:
1633         * lyxtext.h: move selectionAsText to LCursor
1634
1635         * output_latex.C:
1636         * paragraph.C:
1637         * text.C:
1638         * text2.C:
1639         * text3.C: adjust
1640
1641         * rowpainter.C: fix excessive drawing
1642
1643 2004-02-06  André Pönitz  <poenitz@gmx.net>
1644
1645         * BufferView.[Ch]:
1646         * BufferView_pimpl.[Ch]:
1647         * text3.C: move some text specific LFUN handling
1648
1649 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1650
1651         * text3.C (checkInsetHit): adjust coords
1652         * text2.C (getColumnNearX): adjust coords
1653         (edit): adjust coords
1654         * text.C (getRowNearY): add two asserts
1655
1656 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1657
1658         * converter.C:
1659         * format.C: add using std::distance to compile on gcc 2.95/stlport
1660
1661 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1662
1663         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1664
1665 2004-02-04  André Pönitz  <poenitz@gmx.net>
1666
1667         * BufferView.[Ch] (insertInset):
1668         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1669
1670         * text2.C:
1671         * text3.C: adjust
1672
1673 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1674
1675         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1676         on the default clause of the switch
1677         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1678         wasn't catched by LCursor::dispatch
1679
1680 2004-02-03  André Pönitz  <poenitz@gmx.net>
1681
1682         * BufferView.C:
1683         * cursor.[Ch]: some additional asserts
1684
1685         * undo.[Ch]: remove LyXText dependency in interface
1686
1687         * lyxfunc.C: adjust
1688
1689         * lyxtext.h (firstPar, lastPar): remove dead functions
1690
1691         * text.C:
1692         * text2.C:
1693         * text3.C:
1694         * paragraph.[Ch]: adjust
1695
1696 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1697
1698         * lyxfind.C (find): fix argument order in call to ::find
1699
1700 2004-02-02  André Pönitz  <poenitz@gmx.net>
1701
1702         * cursor.[Ch]: remove direct access to anchor
1703
1704         * text.C: remove findText() hack
1705
1706 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1707
1708         * iterators.[Ch] (lockPath): remove in favour of...
1709         * BufferView.[Ch] (setCursor): this addition
1710         * BufferView.C (putSelectionAt): adjust
1711         * undo.C (performUndoOrRedo): adjust
1712         * lyxfunc.C (dispatch): adjust
1713
1714 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1715
1716         * iterators.C (lockPath): add a missing slice
1717         * undo.C (performUndoOrRedo): remove redundant positioning code
1718
1719 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1720
1721         * vc-backend.C (scanMaster): ";" -> ';'
1722
1723 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1724
1725         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1726         std::binary_function
1727
1728         * lyxtextclass.C (compare_name): rename to...
1729         (LayoutNamesEqual): ...this
1730
1731         * lyxlex_pimpl.C (compare_tags): inherit from
1732         std::binary_function, put back into anon namespace
1733
1734         * lyxfind.C (MatchString): inherig from std::binary_function
1735         (findChange): use empty() istead of !size()
1736
1737         * format.C (FormatNamesEqual): new functor
1738         (getFormat): use it
1739         (getNumber): use it
1740         (add): use it
1741         (erase): use it
1742         (setViewer): use it
1743
1744         * converter.C (compare_Converter): rename to...
1745         (ConverterEqual): ...this, and fixup a bit.
1746         (getConverter): use it, and make function const
1747         (getNumber): use it, and make function const
1748         (add): use it
1749         (erase): use it:
1750
1751         * bufferlist.C: add using boost::bind
1752
1753         * MenuBackend.C (MenuNamesEqual): new functor
1754         (hasMenu): use it, and make function const
1755         (hasSubmenu): use nested bind to get rid of compare_memfun.
1756
1757 2004-01-30  André Pönitz  <poenitz@gmx.net>
1758
1759         * BufferView_pimpl.C:
1760         * cursor.C:
1761         * cursor.h:
1762         * cursor_slice.[Ch]:
1763         * lyxfunc.C:
1764         * lyxtext.h:
1765         * paragraph_funcs.C:
1766         * paragraph_funcs.h:
1767         * rowpainter.C:
1768         * text.C:
1769         * text2.C:
1770         * text3.C: move some of the edit(x,y) handling to the insets
1771         some coordinate changes.
1772
1773 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1774
1775         * text.C: add using statements for std::advance and std::distance
1776
1777         * paragraph.C: add using statement for std::distance
1778
1779         * lyxfind.C: add using statement for std::advance
1780
1781         * cursor.C (region): remove std:: from swap
1782         (openable): use nucleus in stead of operator->
1783
1784         * BufferView.C: add using statements for std::distance and std::swap
1785
1786 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1787
1788         * iterators.C: Remove the pimple, move the needed structures to
1789         the header file. Create accessor for the positions stack.
1790         (asPosIterator): remove function
1791
1792         * PosIterator.C (PosIterator): move constructors to top of file
1793         (PosIterator): reimplement the constructor taking a ParIterator in
1794         terms of setFrom.
1795         (setFrom): new function
1796         (operator!=): inline it
1797
1798 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1799
1800         * lyxfind.C (replaceAll): use std::advance
1801
1802         * iterators.h: inherit from std::iterator.
1803
1804         * PosIterator.C (advance, distance): remove
1805         * PosIterator.h: interit from std::iterator.
1806
1807 2004-01-26  André Pönitz  <poenitz@gmx.net>
1808
1809         * BufferView.[Ch]:
1810         * BufferView_pimpl.[Ch]:
1811         * InsetList.[Ch]:
1812         * PosIterator.[Ch]:
1813         * buffer.h:
1814         * bufferview_funcs.C:
1815         * cursor.[Ch]:
1816         * cursor_slice.h:
1817         * factory.[Ch]:
1818         * iterators.[Ch]:
1819         * lyxfind.C:
1820         * lyxfunc.C:
1821         * lyxtext.h:
1822         * output_docbook.C:
1823         * output_latex.C:
1824         * output_linuxdoc.C:
1825         * output_plaintext.C:
1826         * paragraph.[Ch]:
1827         * paragraph_funcs.[Ch]:
1828         * paragraph_pimpl.[Ch]:
1829         * rowpainter.C:
1830         * tabular.C:
1831         * tabular.h:
1832         * text.C:
1833         * text2.C:
1834         * text3.C: more IU:  dumps most of the rest of the mathcursor
1835     implementation into cursor.[Ch]; "globalize" a bit of it.
1836
1837 2004-01-25  Angus Leeming  <leeming@lyx.org>
1838
1839         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1840
1841 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1842
1843         * LaTeXFeatures.h: add nice_ and nice() const
1844         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1845
1846 2004-01-20  André Pönitz  <poenitz@gmx.net>
1847
1848         * BufferView.[Ch]:
1849         * BufferView_pimpl.C:
1850         * PosIterator.C:
1851         * bufferview_funcs.C:
1852         * cursor.[Ch]:
1853         * cursor_slice.[Ch]:
1854         * factory.C:
1855         * iterators.C:
1856         * lyx_cb.C:
1857         * lyxfind.C:
1858         * lyxfunc.C:
1859         * lyxtext.h:
1860         * rowpainter.C:
1861         * text.C:
1862         * text2.C:
1863         * text3.C:
1864         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1865           LCursor and mathcursor parts to LCursor and InsetBase.
1866
1867 2004-01-15  André Pönitz  <poenitz@gmx.net>
1868
1869         * cursor_slice.[Ch]: add a few covienience functions
1870
1871         * funcrequest.[Ch]: remove BufferView * member
1872
1873         * BufferView_pimpl.C:
1874         * cursor.C:
1875         * factory.[Ch]:
1876         * lyxfind.[Ch]:
1877         * lyxfunc.C:
1878         * lyxtext.h:
1879         * text3.C:
1880         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1881
1882 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1883
1884         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1885         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1886
1887 2004-01-13  André Pönitz  <poenitz@gmx.net>
1888
1889         * textcursor.[Ch]:
1890         * lyxtext.h: hide cursor and selection anchor behind accessor function
1891
1892         * BufferView.C:
1893         * BufferView_pimpl.[Ch]:
1894         * PosIterator.C:
1895         * bufferview_funcs.C:
1896         * cursor.h:
1897         * lyxfind.C:
1898         * lyxfunc.C:
1899         * text.C:
1900         * text2.C:
1901         * text3.C:
1902         * undo.C: adjust
1903
1904         * cursor.h:
1905         * cursor_slice.[Ch]: some integer type changes for inset unification
1906
1907         * lyxcursor.[hC]: remove, it's CursorSlice now.
1908
1909         * Makefile.am:
1910         * BufferView_pimpl.[Ch]:
1911         * bufferview_funcs.C:
1912         * cursor_slice.C:
1913         * lyxtext.h:
1914         * text.C:
1915         * text2.C:
1916         * text3.C:
1917         * textcursor.[Ch]: adjust
1918
1919 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1920
1921         * text2.C (undoSpan): add and use
1922         * text.C (breakParagraph): use undoSpan (fix bug 578)
1923         * lyxtext.h: adjust
1924
1925 2004-01-08  Angus Leeming  <leeming@lyx.org>
1926
1927         * BufferView_pimpl.C (MenuInsertLyXFile):
1928         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1929         * lyxfunc.C (menuNew, open, doImport):
1930         FileFilterList change to the FileDialog open and save functions.
1931
1932 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1933
1934         * ShareContainer.h: make isEqual and isUnique adaptable
1935
1936         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1937
1938 2004-01-07  Angus Leeming  <leeming@lyx.org>
1939
1940         * LyXAction.C:
1941         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1942
1943         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1944
1945         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1946         functions replacing find, replace and replaceAll.
1947
1948         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1949         LFUN_WORDFIND(FORWARD|BACKWARD).
1950
1951 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1952
1953         * text.C (breakParagraph): remove an outdated #warning
1954
1955 2004-01-07  André Pönitz  <poenitz@gmx.net>
1956
1957         * lyxfind.C: somewhat clearer logic
1958
1959         * text.C: prevent crash in cursorX on unitialized row cache
1960
1961 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1962
1963         * lyxcursor.[Ch] (operator>): add
1964         * textcursor.C (selStart, selEnd): use std::min and std::max
1965
1966 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1967
1968         * Chktex.C: include boost/format.hpp
1969
1970 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1971
1972         * InsetList.C: replace functor MathcIt with adaptable functor
1973         InsetTablePosLess
1974         (insetIterator): modify accordingly
1975
1976         * BranchList.h: move the BranchNamesEqual functor here from...
1977         * BranchList.C: ... to here
1978
1979         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1980         SameName and match.
1981         (add): replace a finding loop with std::find_if.
1982
1983 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1984
1985         * output_docbook.C: moving LatexParam functionality into
1986         .layout files
1987
1988 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1989
1990         * buffer.C: increment format to 229.
1991
1992 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1993
1994         * LaTeXFeatures.C:
1995         * lyx_sty.[Ch]: remove minipageindent_def
1996
1997         * LyXAction.C:
1998         * factory.C:
1999         * lfuns.h:
2000         * lyxfunc.C:
2001         * text3.C: remove LFUN_INSET_MINIPAGE
2002
2003 2003-12-28  Angus Leeming  <leeming@lyx.org>
2004
2005         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2006
2007 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2008
2009         * text2.C (setParagraph): fix off-by-one crash
2010
2011 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2012
2013         * output_docbook.C: header stuff for AGU
2014
2015 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2016
2017         * text2.C (redoCursor): remove
2018         * text.C:
2019         * text3.C:
2020         * BufferView_pimpl.C: remove calls to redoCursor and
2021         setCursor(cursor.par(), cursor.pos()) all around
2022
2023 2003-12-15  Angus Leeming  <leeming@lyx.org>
2024
2025         * buffer.C: up the format to 228.
2026
2027 2003-12-15  André Pönitz  <poenitz@gmx.net>
2028
2029         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2030         slices
2031
2032         * Makefile.am:
2033
2034         * BufferView_pimpl.C:
2035         * cursor.[Ch]:
2036         * lyxcursor.[Ch]:
2037         * rowpainter.[Ch]:
2038         * lyxtext.h:
2039         * text.C:
2040         * text2.C:
2041         * text3.C: adjust
2042
2043 2003-12-15  Angus Leeming  <leeming@lyx.org>
2044
2045         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2046         than getFromGUIName to manipulate the color.
2047
2048 2003-12-14  Angus Leeming  <leeming@lyx.org>
2049
2050         * BranchList.[Ch]: minimize the API.
2051         (Branch::getBranch, getColor): now return a 'const &'.
2052         (Branch::setSelected) now returns a bool set to true if the
2053         selection status changes.
2054         (BranchList::clear, size, getColor, setColor, setSelected,
2055         allBranches, allSelected, separator): removed.
2056         (BranchList::find): new functions, returning the Branch with
2057         the given name.
2058         (BranchList::add, remove): return a bool indicating that
2059         the operation was successful.
2060
2061         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2062         new InsetBranch::isBranchSlected member function.
2063
2064         * LColor.[Ch]: mimimize the API.
2065         (fill): renamed as addColor and made private.
2066         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2067         versions of these functions taking a string arg have been removed.
2068
2069         * bufferparams.C (readToken):
2070         * lyxfunc.C (dispatch):
2071         * lyxrc.C (read): changes due to the altered BranchList and
2072         LColor APIs.
2073
2074         * factory.C (createInset, readInset): changes due to altered
2075         InsetBranch c-tor.
2076
2077 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2078
2079         * factory.C:
2080         * lyxfunc.C: remove insetminipage. "minipage-insert"
2081         now produces a frameless minipage box inset.
2082
2083 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2084
2085         * textcursor.[Ch] (selStart,selEnd): add new methods
2086         remove selection::start, end, use LyXCursor::operator<
2087         * lyxcursor.[Ch] (operator<): add
2088         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2089         * BufferView.[Ch] (unsetXSel): add
2090         * text2.C (clearSelection): use unsetXSel,adjust
2091         * text.C: adjust
2092         * text3.C: adjust
2093         * rowpainter.C: adjust
2094         * bufferview_funcs.C (put_selection_at): adjust
2095
2096 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2097
2098         * BufferView_pimpl.C: small coord. correction
2099
2100 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2101
2102         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2103         dragging over the splash screen.
2104
2105 2003-12-11  Angus Leeming  <leeming@lyx.org>
2106
2107         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2108         as it is now handled in LyXText::dispatch.
2109
2110         * text3.C (doInsertInset): remove a level of nesting.
2111
2112 2003-12-11  Angus Leeming  <leeming@lyx.org>
2113
2114         * factory.C (createInset): changes due to the changed interface to
2115         InsetCommandMailer::string2params.
2116
2117 2003-12-10  Angus Leeming  <leeming@lyx.org>
2118
2119         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2120         'dialog-show-new-inset <inset name>'
2121
2122 2003-12-10  Angus Leeming  <leeming@lyx.org>
2123
2124         * buffer.C: up the format to 227.
2125
2126         * factory.C: the box inset is now identified simply by 'Box'.
2127
2128 2003-12-10  Angus Leeming  <leeming@lyx.org>
2129
2130         * buffer.C: up the format to 226.
2131
2132         * factory.C: the note inset is now identified simply by 'Note'.
2133
2134 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2135
2136         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2137         when a pit is enough. Standarize a couple of loops.
2138
2139 2003-12-05  Angus Leeming  <leeming@lyx.org>
2140
2141         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2142         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2143         data to the re-worked "log" dialog.
2144
2145 2003-12-03  André Pönitz  <poenitz@gmx.net>
2146
2147         * PosIterator.C:
2148         * iterators.C:
2149         * lyxtext.h:
2150         * output_latex.C:
2151         * paragraph_funcs.C:
2152         * text.C:
2153         * text2.C: use Inset::getText instead of Inset::getParagraph
2154
2155 2003-12-03  André Pönitz  <poenitz@gmx.net>
2156
2157         * buffer.[Ch]:
2158         * lyxtext.h:
2159         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2160         InsetText::read() as LyXText::read()
2161
2162 2003-12-02  Angus Leeming  <leeming@lyx.org>
2163
2164         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2165         type. Add a comment in the implementation that the function uses
2166         the stream's bad() function rather than fail() as the std::streams
2167         would do.
2168
2169 2003-12-02  André Pönitz  <poenitz@gmx.net>
2170
2171         * lyxlex.[Ch]: make interface more similar to std::stream
2172
2173         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2174
2175 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2176
2177         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2178
2179 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2180
2181         * vspace.[Ch]: remove VSpace::NONE
2182
2183 2003-12-01  André Pönitz  <poenitz@gmx.net>
2184
2185         * buffer.[Ch]:
2186         * lyxtext.h: move ParagraphList member to LyXText
2187         rename LyXText::ownerParagraphs to LyXText::paragraph
2188
2189         * CutAndPaste.C:
2190         * bufferview_funcs.C:
2191         * iterators.[Ch]:
2192         * lyx_cb.C:
2193         * paragraph.C:
2194         * rowpainter.C:
2195         * tabular.C:
2196         * text.C:
2197         * text2.C:
2198         * text3.C: adjust
2199
2200         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2201
2202         * undo.C: fix cursor positioning
2203
2204 2003-12-01  John Levon  <levon@movementarian.org>
2205
2206         * BufferView_pimpl.C: fix a crash on exit with
2207         a buffer open
2208
2209 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2210
2211         * BranchList.C: fix setSelected() method.
2212
2213 2003-11-28  André Pönitz  <poenitz@gmx.net>
2214
2215         * ParagraphParameters.[Ch]:
2216         * ParameterStruct.h: remove space above/below from Paragraph to
2217          InsetVSpace
2218
2219         * BufferView_pimpl.C:
2220         * factory.C:
2221         * lyxfunc.C:
2222         * lyxtext.h:
2223         * output_latex.C:
2224         * paragraph.C:
2225         * paragraph_funcs.C:
2226         * rowpainter.[Ch]:
2227         * text.C:
2228         * text2.C:
2229         * text3.C: adjust
2230
2231 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2232
2233         * factory.C: Syntax change for CharStyles
2234
2235 2003-11-28  André Pönitz  <poenitz@gmx.net>
2236
2237         * BufferView.[Ch]:
2238         * BufferView.[Ch]:
2239         * buffer.[Ch]:
2240         * buffer.[Ch]: move LyXText member
2241
2242 2003-11-28  André Pönitz  <poenitz@gmx.net>
2243
2244         * BufferView.[Ch]: make LyXText * text a private member
2245
2246         * BufferView_pimpl.C:
2247         * cursor.C:
2248         * iterators.C:
2249         * lyx_cb.C:
2250         * lyxfind.C:
2251         * lyxtext.h:
2252         * rowpainter.[Ch]:
2253         * text.C:
2254         * text2.C:
2255         * undo.C: adjust
2256
2257         * output_plaintext.C: cleanup
2258
2259 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2260
2261         * buffer.C:
2262         * lyxtextclass.[Ch]: parametrize SGML document header
2263
2264 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2265
2266         * converter.[Ch]:
2267         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2268         getFlavor().
2269
2270 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2271
2272         * text2.C (setFont): rework using PosIterator (no more recursive)
2273         (setCharFont): no more needed
2274         (setLayout): no more selection cursors fiddling (done by redoCursor)
2275         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2276         destroy remaining ones)
2277
2278 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2279
2280         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2281         * lyxtext.h: ditto
2282         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2283         selection cursors
2284         * lyxfunc.C: adjust
2285         * text3.C: adjust + re-allow multi par depth changes
2286         * textcursor.C: simplify a bit
2287
2288 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2289
2290         * src/buffer.C:
2291         * src/lyxlayout.C:
2292         * src/lyxlayout.h:
2293         * src/lyxtext.h:
2294         * src/output_docbook.C:
2295         * src/output_latex.C:
2296         * src/paragraph.C:
2297         * src/paragraph.h:
2298         * src/sgml.C:
2299         * src/sgml.h:
2300         * src/text2.C: Introducing a number of tags parametrizing various
2301         XML formats that we may want to support
2302
2303 2003-11-25  André Pönitz  <poenitz@gmx.net>
2304
2305         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2306
2307         * lyxtext.h (leftMargin/rightMargin): simplify interface
2308
2309         * rowpainter.C:
2310         * text.C:
2311         * text2.C:
2312         * text3.C: adjust
2313
2314 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2315
2316         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2317         master file to any child files. Fixes bug 546.
2318
2319 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2320
2321         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2322
2323 2003-11-24  André Pönitz  <poenitz@gmx.net>
2324
2325         * rowpainter.C: simplification
2326
2327         * text2.C (updateCounters): remove call to redoParagraph on
2328         changed labels as this is far too expensive.
2329
2330 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2331
2332         * converter.C (convert): fix a crash: this function gets
2333         called with buffer == 0 from importer code.
2334
2335 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2336
2337         * text3.C (cursorPrevious): make sure that we do not compare
2338         iterators form different containers.
2339         (cursorNext): ditto
2340
2341         * rowpainter.C (paintSelection): make sure that we do not compare
2342         iterators from different containers.
2343
2344         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2345         iterators from different ParagraphList containers.
2346         [NEXT] ditto
2347
2348         * text2.C (LyXText): change order of initialization slightly
2349         (operator=): new function. copy all variables except cache_par_
2350         (moveUp): make sure that we do not compare iterators from
2351         different ParagraphList constainers.
2352         (moveDown): ditto
2353
2354         * text.C (firstPar): new function
2355         (lastPar): new function
2356         (endPar): new function
2357
2358         * lyxtext.h: move things around and group public functions, public
2359         variables, private functions, private variables
2360
2361 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2362
2363         * factory.C: change call to InsetERT constructor to avoid
2364         additional invocation of method status
2365         * text2.C (toggleInset): remove redundant update() call
2366         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2367         instead of a Bufferview pointer
2368
2369 2003-11-21  André Pönitz  <poenitz@gmx.net>
2370
2371         * rowpainter.C: simplification
2372
2373 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2374
2375         * text3.C (dispatch): make possible to extend a word/row selection
2376         with the mouse
2377
2378 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2379
2380         * lyxtext.h: x0_,y0_ -> xo_,yo_
2381         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2382         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2383         * rowpainter.C (paintRows): paint full paragraphs
2384
2385 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2386
2387         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2388         screen coordinates)
2389
2390 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2391
2392         * lyxtext.h: add x0_, y0_
2393         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2394         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2395
2396 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2397
2398         * text2.C (setCursorIntern): move the x_target update here *
2399         * text3.C: change some bv() to true/false in calls to
2400         cursorUp/Down/Right/Left
2401         * cursor.C: use helper function.
2402
2403 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2404
2405         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2406         * paragraph_funcs.[Ch]: correct comment
2407         * rowpainter.C: do not paint selections away from bv->cursor()
2408         Fix a long standing selection painting bug.
2409         * text3.C: generalize mouse-selection code to LyXTexts other that
2410         top one
2411         * textcursor.C: do not use y coords if we can use par offsets
2412
2413 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2414
2415         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2416         cursor position after e.g. inset insert)
2417
2418 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2419
2420         * lyxfind.C (replace): adjust to locking removal + some
2421         code simplification
2422
2423 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2424
2425         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2426         of the path
2427
2428 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2429
2430         * lyxlayout.[Ch]:
2431         * output_docbook.C: XML sanitation: new layout
2432         parameters InnerTag and CommandDepth
2433
2434 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2435
2436         * BufferView_pimpl.C:
2437         * factory.C:
2438         * text3.C: Fix the insertion and modification of button-style
2439         insets
2440
2441 2003-11-13  André Pönitz  <poenitz@gmx.net>
2442
2443         * InsetList.[Ch]: remove deleteLyXText
2444
2445         * paragraph.[Ch]: cache beginOfBody position
2446
2447         * Bidi.C:
2448         * text.C:
2449         * text2.C:
2450         * text3.C: remove superfluous update() calls
2451
2452         * vspace.C: cleanup
2453
2454 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2455
2456         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2457         * BufferView.C (fitLockedInsetCursor): remove
2458         * cursor.[Ch] (getDim): add
2459         * text.C (getRowNearY): add faster version
2460         * text3.C: remove some update calls
2461
2462 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2463
2464         * LaTeXFeatures.C:
2465         * LyXAction.C:
2466         * MenuBackend.C:
2467         * MenuBackend.h:
2468         * dispatchresult.h:
2469         * factory.C:
2470         * lfuns.h:
2471         * lyxfunc.C:
2472         * lyxtextclass.C:
2473         * lyxtextclass.h:
2474         * text3.C: The Character Style /XML short element patch.
2475
2476 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2477
2478         * text3.C:
2479         * factory.C: Small step to solving 'unable to insert some insets'
2480         problem
2481
2482 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2483
2484         * cursor.[Ch] (updatePos): new function for updating the y
2485         position of the tip inset
2486         * bufferview_funcs.C (put_selection_at):
2487         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2488
2489 2003-11-11  André Pönitz  <poenitz@gmx.net>
2490
2491         * text.C: remove big comment on invalid Paragraph pointers as it is
2492         not valid anymore
2493
2494 2003-11-11  André Pönitz  <poenitz@gmx.net>
2495
2496         * text_funcs.[Ch]: merge with ...
2497
2498         * text.C: ... this
2499
2500         * lyxtext.h:
2501         * text2.C:
2502         * text3.C: adjust
2503
2504         * Makefile.am: remove text_funcs.[Ch]
2505
2506 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2507
2508         * cursor.C (getPos): return absolute cached y coord
2509
2510         * BufferView_pimpl.C (fitCursor): new simplistic code
2511         (workAreaDispatch): add a fitCursor call
2512
2513 2003-11-10  André Pönitz  <poenitz@gmx.net>
2514
2515         * BufferView.[Ch]:
2516         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2517
2518 2003-11-10  André Pönitz  <poenitz@gmx.net>
2519
2520         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2521         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2522         indicate that the cursor needs to leave an inset
2523
2524         * lyxtext.h: remove inset locking
2525
2526         * cursor.[Ch]: re-implement functionality provided by inset locking
2527
2528         * BufferView.[Ch]:
2529         * BufferView_pimpl.[Ch]:
2530         * LyXAction.C:
2531         * bufferview_funcs.[Ch]:
2532         * factory.C:
2533         * funcrequest.[Ch]:
2534         * iterators.C:
2535         * lyx_cb.C:
2536         * lyxfind.C:
2537         * lyxfunc.C:
2538         * text.C:
2539         * text2.C:
2540         * text3.C:
2541         * undo.C: adjust
2542
2543 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2544
2545         * PosIterator.[Ch]: replace the stack with a vector, add inset
2546         accesor
2547         * iterators.[C]: adjust
2548
2549 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2550
2551         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2552         replaced
2553         * paragraph_funcs.C (readParToken): put the correct id in the
2554         error item, not the id of the top paragraph
2555
2556 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2557
2558         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2559         * bufferview_funcs.C (put_selection_at): use the above
2560
2561 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2562
2563         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2564
2565 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2566
2567         * output_linuxdoc.h:
2568         * output_plaintext.h:
2569         * output.h:
2570         * output_docbook.h: add #include statements
2571
2572 2003-11-05  José Matos  <jamatos@lyx.org>
2573
2574         * output_docbook.[Ch]:
2575         * output_latex.[Ch]:
2576         * output_linuxdoc.[Ch]:
2577         * output_plaintext.[Ch]: New files for output formats.
2578         * output.[Ch]: New file for helper functions.
2579
2580         * buffer.[Ch]:
2581         * paragraph_funcs.[Ch]: output functions moved to new files.
2582
2583         * outputparams.h: rename of latexrunparams.h
2584
2585         * LaTeX.[Ch]:
2586         * buffer.[Ch]:
2587         * bufferlist.[Ch]:
2588         * converter.[Ch]:
2589         * exporter.C:
2590         * paragraph.[Ch]:
2591         * paragraph_funcs.[Ch]:
2592         * paragraph_pimpl.[Ch]:
2593         * tabular.[Ch]: rename ascii to plaintext
2594         and LatexRunParams to OutputParams.
2595
2596 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2597
2598         * iterators.[Ch] (text): require bv argument
2599         * undo.C (recordUndo):
2600         * lyxfunc.C (dispatch):
2601         * bufferview_funcs.C (put_selection_at): adjust
2602
2603 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2604
2605         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2606
2607 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2608
2609         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2610         nestings
2611
2612 2003-11-04  André Pönitz  <poenitz@gmx.net>
2613
2614         * cursor.[Ch]: restructure
2615
2616         * BufferView.[Ch]:
2617         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2618
2619         * iterators.[Ch] (asCursor): remove
2620
2621         * lfuns.h: remove LFUN_INSET_EDIT
2622
2623         * lyxfunc.C:
2624         * tabular.C:
2625         * text.C:
2626         * text2.C:
2627         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2628
2629 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2630
2631         * lyxfind.[Ch]: complete overhaul
2632         * BufferView_pimpl.C:
2633         * lyxfunc.C: adjust
2634         * paragraph.[Ch] (insert): add
2635
2636 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2637
2638         * BufferView.[Ch]:
2639         * lyxtext.h:
2640         * text.C: remove dead spellcheck code
2641
2642 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2643
2644         * dispatchresult.h: add a val setter
2645
2646         * cursor.C (dispatch): use a tempvar for data_[i]
2647
2648 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2649
2650         * PosIterator.[Ch]: compile fix
2651
2652 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2653
2654         * text.C (cursorPar): deactivate the cursor cache
2655
2656 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2657
2658         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2659
2660 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2661
2662         * text3.C (dispatch): adjust for new DisptchResult semantics.
2663
2664         * lyxfunc.C (dispatch): handle update when return from
2665         Cursor::dispatch, adjust for new DispatchResult semantics.
2666
2667         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2668         DispatchResult(true) mean to not update. Add class functions for
2669         setting dispatched and update, as well as reading.
2670
2671         * cursor.C (dispatch): don't handle update here
2672
2673 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2674
2675         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2676         * trans_mgr.C: adjust
2677
2678         * paragraph_funcs.C (readParToken): exception safety
2679
2680         * lyxvc.h: store the vcs pointer in a scoped_ptr
2681         * lyxvc.C: adjust
2682
2683         * lyxsocket.C (serverCallback): exception safety
2684
2685         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2686
2687         * ispell.C (clone): make it return a auto_ptr
2688
2689         * factory.C (createInset): exception safety
2690         (readInset): exception safety
2691
2692         * bufferlist.C (newBuffer): exception safety
2693
2694         * Thesaurus.C (Thesaurus): use initialization for aik_
2695
2696         * MenuBackend.C (expandToc): exception safety.
2697
2698 2003-11-03  André Pönitz  <poenitz@gmx.net>
2699
2700         * buffer.C:
2701         * buffer.h:
2702         * bufferview_funcs.C: remove getInsetFromId()
2703
2704         * lyxcursor.[Ch]:
2705         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2706
2707         * lyxfunc.C:
2708         * text2.C:
2709         * text3.C: adjust
2710
2711 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2712
2713         * PosIterator.C (distance, advance): new
2714         * bufferview_funcs.[Ch] (put_selection_at): new
2715         * iterators.[Ch] (lockPath): new
2716
2717 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2718
2719         * iterators.[Ch] (asPosIterator): added
2720         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2721         * PosIterator.[Ch]: added
2722
2723 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2724
2725         * text3.C:
2726         * lyxfunc.C:
2727         * cursor.C (dispatch):
2728         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2729
2730         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2731         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2732         contructor, add a class function dispatched. Remove operator>=
2733
2734 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2735
2736         * debug.C: only use the default constructor for debugstream
2737         (lyxerr) here.
2738
2739         * main.C (main): include debug.h and setup the lyxerr streambuf
2740         here.
2741
2742 2003-10-31  José Matos  <jamatos@lyx.org>
2743
2744         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2745
2746         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2747         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2748         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2749         * paragraph_pimpl.C (simpleTeXSpecialC):
2750         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2751         add LatexRunParams argument.
2752
2753         * exporter.C (Export): change call accordingly.
2754
2755         * latexrunparams.h: add new member to take care of the other backends.
2756 2003-10-30  José Matos  <jamatos@lyx.org>
2757
2758         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2759         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2760         factorise code for paragraph output.
2761         * buffer.[Ch]:
2762         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2763         move functions.
2764
2765 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2766
2767         * text3.C (dispatch):
2768         * lyxfunc.C (dispatch):
2769         * cursor.C (dispatch):
2770         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2771
2772         * dispatchresult.h: make the dispatch_result_t ctor explicit
2773
2774 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2775
2776         * sgml.[Ch]:
2777         * buffer.C: small refactoring of docbook stuff
2778
2779 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2780
2781         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2782         meaning.
2783
2784 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2785
2786         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2787         operator dispatch_result_t, and operators for == != and >=
2788
2789         * cursor.C (dispatch): adjust for operator dispatch_result_t
2790         removal. comment out call to update
2791
2792         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2793
2794 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2795
2796         * text3.C:
2797         * text2.C:
2798         * text.C:
2799         * lyxtext.h:
2800         * lyxfunc.C:
2801         * cursor.C:
2802         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2803         (dispatch):
2804
2805         * dispatchresult.h: new file, DispatchResult broken out of
2806         insets/insetbase.h
2807
2808         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2809
2810 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2811
2812         * text.C (rowBreakPoint): put a hack inside #if 0
2813
2814 2003-10-28  André Pönitz  <poenitz@gmx.net>
2815
2816         * lyxtext.h:
2817         * metricsinfo.C:
2818         * paragraph_funcs.C:
2819         * rowpainter.C:
2820         * text.C:
2821         * text2.C: general cleanup (lots of small stuff)
2822
2823 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2824
2825         * text2.C (cursorEnd): simple fix to the "end key goes to one
2826         before the end on last row" bug
2827
2828 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2829
2830         * text.C (backspace): fix the "zombie characters"
2831
2832 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2833
2834         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2835
2836 2003-10-27  André Pönitz  <poenitz@gmx.net>
2837
2838         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2839
2840         * factory.C: handle new InsetPagebreak, InsetLine
2841
2842         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2843         and move handling into new InsetPagebreak, InsetLine
2844
2845         * BufferView_pimpl.C:
2846         * LyXAction.C:
2847         * ParagraphParameters.C:
2848         * ParameterStruct.h:
2849         * lyxfunc.C:
2850         * lyxtext.h:
2851         * paragraph.C:
2852         * paragraph.h:
2853         * paragraph_funcs.C:
2854         * paragraph_pimpl.C:
2855         * rowpainter.C:
2856         * text.C:
2857         * text2.C:
2858         * text3.C: adjust
2859
2860 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2861
2862         * text.C:
2863         * lyxrow_funcs.[Ch]:
2864         * Bidi.C:
2865         * paragraph.C:
2866         * lyxtext.h:
2867         * rowpainter.C:
2868         * text2.C:
2869         * text3.C: remove lastPos uses in favour of Row::endpos
2870
2871 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2872
2873         * undo.C (performUndoOrRedo): fix two crashes by setting a
2874         cursor by hand and reordering some calls. Use bv->lockInset instead
2875         of inset->edit because the latter loses cursor information
2876
2877 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2878
2879         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2880         by Martin
2881         (rowBreakPoint): fix width. change point to point + 1.
2882         Add a missing check.
2883
2884 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2885
2886         * MenuBackend.C:
2887         * lyxfunc.C: fix (at least partly) the problems
2888         with the Nav menu and headers inside branch insets
2889         reported by Kayvan
2890
2891 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2892
2893         * paragraph.C (getChar): add strong asserts
2894
2895         * lyxrow_funcs.C (lastPos): remove hideous hack
2896
2897         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2898         (fill): adjust to that (avoid an infinite loop)
2899
2900 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2901
2902         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2903
2904 2003-10-23  André Pönitz  <poenitz@gmx.net>
2905
2906         * RowList_fwd.h: change list<> to vector<> to gain speed
2907         after suggestion from Alfredo
2908
2909 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2910
2911         * lyxtext.h: move the bidi stuff from here...
2912         * text.C: and here
2913         * text2.C: and here
2914         * Bidi.[Ch]: ... to here
2915
2916 2003-10-23  André Pönitz  <poenitz@gmx.net>
2917
2918         * lyxtext.h:
2919         * text.C (isLastRow, isFirstRow): new functions
2920
2921         * paragraph.h: new width cache member
2922
2923         * rowpainter.C: replace RowList::iterator with Row & where possible
2924
2925         * lyxfunc.C: replace several view()->text with a single call
2926
2927         * toc.C: fix 'unused' warning
2928
2929 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2930
2931         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2932         when woring with stream::pos_type
2933         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2934
2935 2003-10-22  André Pönitz  <poenitz@gmx.net>
2936
2937         * lyxtext.h:
2938         * text.C: use Row & instead of RowList::iterator
2939
2940         * lyxrow.h: rename end() to endpos()
2941
2942         * rowpainter.C:
2943         * text.C:
2944         * text2.C: adjust
2945
2946 2003-10-22  Angus Leeming  <leeming@lyx.org>
2947
2948         * buffer.[Ch] (fully_loaded): new member function, returning true
2949         only when the file has been loaded fully.
2950         Used to prevent the premature generation of previews and by the
2951         citation inset to prevent computation of the natbib-style label.
2952
2953         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2954         templates are all set up.
2955
2956         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2957
2958 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2959
2960         * text.C: fixed an "oops" in the "is a bit silly"
2961         bug fix
2962
2963 2003-10-21  André Pönitz  <poenitz@gmx.net>
2964
2965         * FuncStatus.[Ch]: small stuff, whitespace
2966
2967         * lyxfont.[Ch]: operator<<() for debug reasons
2968
2969         * lyxfunc.C:
2970         * lyxrow_funcs.C:
2971         * lyxtext.h: whitespace, spelling
2972
2973         * paragraph.C: naming of variables
2974
2975         * text.C:
2976         * text2.C: small stuff
2977
2978
2979 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2980
2981         * text.C: (1) finish off the inset display() work;
2982         (2) fix the "is a bit silly" bug (accessing char
2983         past end of par).
2984
2985 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2986
2987         * text.C: re-introduce display() for insets, fixing the
2988         various bugs (stretch of line above, math inset
2989         positioning, ...)
2990
2991 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2992
2993         * text.C (rightMargin): remove spurious semicolon
2994
2995         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2996         1415)
2997
2998 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2999
3000         * text3.C: fix one crash due to wrong cursor def
3001
3002 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3003
3004         * vc-backend.C (scanMaster): make the regex static
3005
3006         * LaTeX.C (scanAuxFile): make the regexs static
3007
3008         * text3.C (doInsertInset, dispatch, dispatch):
3009         * text2.C (cursorUp, cursorDown):
3010         * text.C (selectNextWordToSpellcheck):
3011         * BufferView_pimpl.C (dispatch):
3012         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3013
3014 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3015
3016         * lyxsocket.C: include <cerrno>
3017
3018 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3019
3020         * lyxfunc.C (dispatch): remove textcache stuff
3021
3022         * bufferlist.C (release): remove textcache stuff
3023         (closeAll): ditto
3024
3025         * TextCache.C: delete file
3026         * TextCache.h: delete file
3027
3028         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3029
3030         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3031         delete of the bv_->text.
3032         (resizeCurrentBuffer): remove texcache stuff
3033         (workAreaResize): ditto
3034
3035 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3036
3037         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3038         action.
3039
3040 2003-10-16  André Pönitz  <poenitz@gmx.net>
3041
3042         * lyxrow.[Ch]:
3043         * paragraph.h:
3044         * rowpainter.C:
3045         * text.C:
3046         * text2.C:
3047         * text3.C: speed up by storing y positions per paragraph plus per-row
3048         offset instead of having a 'full' y position in the row.
3049
3050 2003-10-15  André Pönitz  <poenitz@gmx.net>
3051
3052         * iterators.[Ch]:
3053         * iterators.[Ch]:
3054         * undo.[Ch]: make undo aware of inner insets
3055
3056 2003-10-14  Angus Leeming  <leeming@lyx.org>
3057
3058         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3059         static member functions LyX::ref() and LyX::cref.
3060         (lastfiles): new accessor functions for the new lastfiles_ member var.
3061         (addLyXView, views_): add a new LyXView to the list of views_.
3062         (updateInset): loop over all LyXViews to call their own updateInset
3063         member function, returning a pointer to the Buffer owning the inset.
3064
3065         * BufferView_pimpl.C (loadLyXFile):
3066         * MenuBackend.C (expandLastfiles):
3067         * bufferlist.C (MenuWrite, QuitLyX):
3068         lastfiles is no longer a global variable.
3069         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3070
3071         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3072         static function. Access through LyX::cref().emergencyCleanup().
3073
3074 2003-10-14  André Pönitz  <poenitz@gmx.net>
3075
3076         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3077
3078         * undo.[Ch]: restoring part of 'undo in insets'
3079
3080         * Makefile.am:
3081         * undo_funcs.[Ch]: merge with undo.[Ch]
3082
3083         * tabular.C: small cleansing stuff
3084
3085 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3086
3087         * paragraph_funcs.C (readParToken): report unknown insets as error
3088         boxes. Use the outer paragraph as location (also for unknown
3089         tokens).
3090
3091         * factory.C (readInset): do not abort on reading an unknown inset.
3092         Eat it and return 0.
3093
3094 2003-10-13  Angus Leeming  <leeming@lyx.org>
3095
3096         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3097
3098         * lyxrc.C: displayTranslator is now a function,
3099         declared in GraphicsTypes.h.
3100
3101 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3102
3103         * format.C: new placeholder $$a to pass the socket address.
3104
3105         * bufferlist.[Ch]: new function getBufferFromTmp.
3106
3107         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3108           files in the temporary dir.
3109
3110 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3111
3112         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3113
3114         * Makefile.am: add lyxsocket.[Ch].
3115
3116         * lyx_main.C (error_handler): handle SIGPIPE.
3117
3118 2003-10-13  André Pönitz  <poenitz@gmx.net>
3119
3120         * BufferView_pimpl.C:
3121         * lyxtext.h:
3122         * text.C:
3123         * text2.C:
3124         * text3.C:
3125         * undo_funcs.[Ch]: use paroffset_type instead of
3126           ParagraphList::iterators to prevent multiple conversion
3127           (and get a more robust interface)
3128
3129 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3130
3131         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3132         * lyxtext.h: ditto
3133         * text3.C (dispatch): ditto
3134
3135 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3136
3137         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3138         move the onlyfile, use onlyfile instead of foundfile in a couple
3139         of places.
3140
3141         * DepTable.C (update): flush the error stream a bit more
3142
3143 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3144
3145         * lyxserver.C (callback): adjust
3146
3147         * lyxfunc.C (getStatus): add a missing brace in commented code
3148         (ensureBufferClean): reindent
3149         (dispatch): delete version taking a string
3150
3151 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3152
3153         * LaTeX.C (deplog): move found file handlig from here...
3154         (handleFoundFile): .. to new function here.
3155         (deplog): make sure to discover several files mentioned on the
3156         same log line.
3157
3158 2003-10-10  André Pönitz  <poenitz@gmx.net>
3159
3160         * lyxfunc.C:
3161         * lyxtext.h:
3162         * tabular.C:
3163         * text.C:
3164         * text2.C:
3165         * text3.C: fix some of the tabular crashes
3166
3167 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3168
3169         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3170
3171         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3172
3173 2003-10-09  André Pönitz  <poenitz@gmx.net>
3174
3175         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3176
3177         * BufferView.C:
3178         * BufferView_pimpl.C:
3179         * bufferview_funcs.C:
3180         * lyx_cb.C:
3181         * lyxcursor.C:
3182         * lyxfind.C:
3183         * lyxfunc.C:
3184         * lyxtext.h:
3185         * text.C:
3186         * text2.C:
3187         * text3.C:
3188         * text_funcs.[Ch]:
3189         * textcursor.[Ch]:
3190         * undo_funcs.C: adjust
3191
3192 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3193
3194         * text2.C (incrementItemDepth): new function, use a backtracking
3195         algorithm to discover the correct item depth.
3196         (resetEnumCounterIfNeeded): new function, use a backtracking
3197         algorithm to discover if counter reset is needed.
3198         (setCounter): use them. Simplify a bit. Add different labels for
3199         different item depths for itemize.
3200
3201         * paragraph.C (Paragraph): remove initialization of enumdepth
3202         (operator=): ditto
3203
3204         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3205         enumerate and itemize. Change the type of itemdepth to signed char.
3206
3207 2003-10-08  André Pönitz  <poenitz@gmx.net>
3208
3209         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3210           thing assignable.
3211         * text.C:
3212         * text2.C: adjust
3213
3214         * tabular.[Ch]: fix crash after 'row-insert'
3215
3216 2003-10-08  Angus Leeming  <leeming@lyx.org>
3217
3218         Fix doxygen warnings.
3219
3220         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3221         Remove CutAndPaste:: prefix from header file declaration.
3222
3223         * LColor.h (fill): remove LColor:: prefix from declaration.
3224
3225         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3226         use lyx::depth_type rather than Paragraph::depth_type so that
3227         header file and .C file match.
3228
3229         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3230
3231         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3232         * aspell.C: \file aspell_local.C -> \file aspell.C
3233         * gettext.C: \file gettext.C -> \file src/gettext.C
3234         * gettext.h: \file gettext.h -> \file src/gettext.h
3235         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3236         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3237         * text.C: \file text.C -> \file src/text.C
3238
3239         * toc.C: move comment so that doxygen is not confused.
3240
3241 2003-10-07  Angus Leeming  <leeming@lyx.org>
3242
3243         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3244
3245 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3246
3247         * aspell.C:
3248         * aspell_local.h: add forgotten std::string's.
3249
3250 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3251
3252         * LaTeXFeatures.C:
3253         * LyXAction.C:
3254         * factory.C:
3255         * lfuns.h:
3256         * lyxfunc.C:
3257         * text3.C: The Box patch. Fancybox support, minipage, parbox
3258
3259 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3260
3261         * CutAndPaste.h:
3262         * DepTable.h:
3263         * FloatList.h:
3264         * LaTeXFeatures.h:
3265         * ParagraphParameters.h:
3266         * TextCache.h:
3267         * Thesaurus.h:
3268         * bufferlist.h:
3269         * exporter.h:
3270         * importer.h:
3271         * lastfiles.h:
3272         * lyxfind.h:
3273         * lyxfont.h:
3274         * lyxlex.h:
3275         * lyxtextclasslist.h:
3276         * messages.h:
3277         * paragraph.h:
3278         * paragraph_pimpl.C:
3279         * textcursor.h: add <string> and other small fixes to make Lars'
3280         std::string patch compile with STLport.
3281
3282 2003-10-06  Angus Leeming  <leeming@lyx.org>
3283
3284         * LColor.h: Add missing #include <string>.
3285
3286 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3287
3288         * All most all file in all subdirs: Make <string> be the prefered
3289         way of getting to std::string, add using declarations.
3290
3291 2003-10-06  André Pönitz  <poenitz@gmx.net>
3292
3293         * metricsinfo.C: initialize LyXFont before changing attribute.
3294         (fixes the 'math in \emph is upright' bug)
3295
3296 2003-10-06  André Pönitz  <poenitz@gmx.net>
3297
3298         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3299
3300 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3301
3302         * graph.C:
3303         * paragraph_pimpl.C: Small fixes to build using STLport
3304
3305 2003-10-02  André Pönitz  <poenitz@gmx.net>
3306
3307         * lyxfunc.C:
3308         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3309
3310 2003-10-01  André Pönitz  <poenitz@gmx.net>
3311
3312         * factory.C: assert early
3313
3314 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3315
3316         * lyx_main.C: remove the global debug object
3317
3318         * debug.h: adjust for new debugstream
3319
3320         * debug.C: adjust for new debugstream and keep the global debug
3321         object here.
3322
3323 2003-09-22  Angus Leeming  <leeming@lyx.org>
3324
3325         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3326         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3327         an incomplete class LyXFont.
3328
3329 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3330
3331         * factory.C: bug fix in branches
3332
3333 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3334
3335         * lyxfunc.C (processKeySym): adjust
3336         (dispatch): adjust
3337         (dispatch): change arg name from ev to func, adjust
3338         (sendDispatchMessage): ditto
3339
3340         * lyx_main.C (defaultKeyBindings): adjust keybindings
3341         (deadKeyBindings): ditto
3342
3343         * kbsequence.C (addkey): return a FuncRequest
3344
3345         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3346
3347         * kbmap.C (bind): take a FuncRequest as arg, adjust
3348         (read): adjust
3349         (lookup): adjust
3350         (defkey): change to take a FuncRequest as arg, adjust
3351         (findbinding): take a FuncRequest as arg, adjust.
3352
3353         * funcrequest.h (operator=): added
3354
3355         * funcrequest.C (FuncRequest): default kb_action changed from
3356         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3357
3358         * buffer.C (dispatch): simplify
3359         (dispatch): adjust to take a FuncRequest as arg, adjust
3360
3361         * boost.C (assertion_failed): change assertion message slightly
3362
3363         * ToolbarBackend.C (read): simplify
3364
3365         * MenuBackend.C (binding): adjust call to findbinding, add a
3366         message if no binding is found.
3367         (read): simplify
3368         (expandToc): correct by adding a empty FuncRequest
3369
3370         * LyXAction.C: include <boost/assert.hpp>
3371         (isPseudoAction): delete function
3372         (LookupFunc): change name to...
3373         (lookupFunc): this. change return type to FuncRequest.
3374         (getActionName): take kb_action as arg, simplify
3375         (funcHasFlag): add an assert, simplify.
3376
3377 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * toc.C (action): return a FuncRequest, simplify
3380
3381         * lyxfunc.C (processKeySym): adjust
3382         (getStatus): delete version that takes an int.
3383         (getStatus): adjust
3384         (dispatch): delete version that takes action as int
3385         (dispatch): adjust
3386         (sendDispatchMessage): simplify and adjust
3387
3388         * funcrequest.C (getArg): take unsigned int as arg
3389
3390         * ToolbarBackend.C (read): adjust
3391         (add): delete version that takes func as a string.
3392         (getIton): take a FuncRequest as arg
3393
3394         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3395         action.
3396
3397         * MenuBackend.C (MenuItem): add a new construct that only takes a
3398         Kind, simplify the constructor use for submenus.
3399         (add): adjust
3400         (expandLastfiles): adjust
3401         (expandDocuments): adjust
3402         (expandFormats): adjust
3403         (expandFloatListInsert): adjust
3404         (expandFloatInsert): adjust
3405         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3406
3407         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3408         Remove class variables lyx_pseudo_map and lyx_arg_map
3409
3410         * LyXAction.C (searchActionArg): delete function
3411         (getPseudoAction): delete function
3412         (retrieveActionArg): delete function
3413         (LookupFunc): make it return kb_action, simplify.
3414         (getActionName): simplify
3415
3416         * factory.C (createInset): fix new bug
3417
3418 2003-09-19  Angus Leeming  <leeming@lyx.org>
3419
3420         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3421         masterFilename_ parameter in the include inset.
3422
3423         * factory.C (createInset): changes due to the changes to InsetInclude.
3424
3425 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3426
3427         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3428
3429 2003-09-18  Angus Leeming  <leeming@lyx.org>
3430
3431         * buffer.C:
3432         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3433         Inset::fillWithBibKeys.
3434         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3435
3436 2003-09-18  Angus Leeming  <leeming@lyx.org>
3437
3438         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3439         variables.
3440         (ctor): pass and store a 'Buffer const &'
3441         (buffer): new member function.
3442
3443         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3444         '*this' to the LaTeXFeatures ctor.
3445
3446 2003-09-18  Angus Leeming  <leeming@lyx.org>
3447
3448         * LColor.h:
3449         * lyxfont.C:
3450         * lyxfont.h:
3451         * lyxtext.h:
3452         * text.C: rename EnumLColor as LColor_color.
3453
3454 2003-09-18  Angus Leeming  <leeming@lyx.org>
3455
3456         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3457         remove #include "insets/insetbase.h" from cursor.h.
3458
3459 2003-09-18  Angus Leeming  <leeming@lyx.org>
3460
3461         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3462         InsetOld_code to remove #include "inset.h".
3463
3464         * iterators.C: add #include "insets/inset.h"
3465
3466 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3467
3468         * BufferView.C: remove more locking stuff that apparently doesn't
3469         do anything sensible.
3470
3471 2003-09-16  André Pönitz  <poenitz@gmx.net>
3472
3473         * paragraph.[Ch]:
3474         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3475           performance boost.
3476
3477 2003-09-16  Angus Leeming  <leeming@lyx.org>
3478
3479         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3480
3481         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3482         arg/return type.
3483
3484         * paragraph.h: remove #include "lyxfont.h". Forward declare
3485         LyXFont_size.
3486
3487 2003-09-16  Angus Leeming  <leeming@lyx.org>
3488
3489         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3490         of support/textutils.h.
3491         (isWord): move the contents of support/textutils.h's IsWordChar here.
3492
3493         * buffer.C:
3494         * lyxfind.C:
3495         * rowpainter.C:
3496         * text.C:
3497         * text2.C: add #include "paragraph.h".
3498
3499         * rowpainter.C:
3500         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3501
3502 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3503
3504         * main.C:
3505         * lyx_main.C:
3506         * lyx_cb.C:
3507         * buffer.C:
3508         * LaTeX.C: use namespace alias for lyx::support::os
3509
3510 2003-09-16  Angus Leeming  <leeming@lyx.org>
3511
3512         * bufferparams.C:
3513         * bufferview_funcs.C:
3514         * factory.C:
3515         * lyxfunc.C:
3516         * paragraph_pimpl.C:
3517         * rowpainter.C:
3518         * text.C: add #include "LColor.h".
3519
3520 2003-09-16  Angus Leeming  <leeming@lyx.org>
3521
3522         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3523         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3524         return LyXFont &.
3525         Store the FontBits::color variable as an int rather than as an
3526         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3527         file.
3528
3529         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3530         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3531         string calls together.
3532
3533         * lyxrc.C: add #include "LColor.h".
3534
3535 2003-09-15  Angus Leeming  <leeming@lyx.org>
3536
3537         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3538         a cow_ptr.
3539
3540 2003-09-15  Angus Leeming  <leeming@lyx.org>
3541
3542         * LColor.h: add an EnumLColor wrapper for LColor::color.
3543
3544         * lyxfont.[Ch] (color, setColor, realColor):
3545         * lyxtext.h, text.C (backgroundColor):
3546         pass EnumLColor args to/from the functions, rather than LColor::color
3547         ones.
3548
3549         * lyxfont.h:
3550         * lyxtext.h: forward declare EnumLColor.
3551
3552         * lyx_main.C: add #include "LColor.h".
3553
3554 2003-09-15  Angus Leeming  <leeming@lyx.org>
3555
3556         * .cvsignore: add lyx-gtk.
3557
3558 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3559
3560         * Chktex.C
3561         * LaTeX.C
3562         * LaTeXFeatures.C
3563         * ParagraphParameters.C
3564         * Spacing.C
3565         * buffer.C
3566         * bufferparams.C
3567         * bufferview_funcs.C
3568         * chset.C
3569         * counters.C
3570         * funcrequest.C
3571         * lyxfont.C
3572         * lyxgluelength.C
3573         * lyxlength.C
3574         * paragraph.C
3575         * paragraph_funcs.C
3576         * text3.C
3577         * vc-backend.C: remove usage of STRCONV
3578
3579 2003-09-15  Angus Leeming  <leeming@lyx.org>
3580
3581         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3582         explicitly define the color passed to the painter.
3583
3584 2003-09-15  Angus Leeming  <leeming@lyx.org>
3585
3586         * bufferparams.C (BufferParams): reorder member initializers to avoid
3587         compiler warning.
3588
3589 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3590
3591         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3592         * text.C (updateRowPositions): remove an unusual nop
3593
3594 2003-09-12  André Pönitz  <poenitz@gmx.net>
3595
3596         * BufferView_pimpl.C:
3597         * Bullet.C:
3598         * layout.h:
3599         * lyxfunc.C:
3600         * lyxlayout.[Ch]:
3601         * lyxtextclass.C:
3602         * rowpainter.C:
3603         * text.C:
3604         * text2.C:
3605         * Counters.[Ch]: finish the 'automatic counters' job
3606
3607 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3608
3609         * aspell.C: include <boost/assert.cpp> (compile fix)
3610
3611 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3612
3613         * boost.C (assertion_failed): use lyx::support::abort instead of
3614         assert.
3615
3616 2003-09-10  Angus Leeming  <leeming@lyx.org>
3617
3618         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3619         with their _fwd progeny.
3620
3621 2003-09-09  Angus Leeming  <leeming@lyx.org>
3622
3623         134 files throughtout the source tree: replace 'using namespace abc;'
3624         directives with the appropriate 'using abc::xyz;' declarations.
3625
3626 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3627
3628         * boost.C (emergencyCleanup): moved here from LAssert.c
3629         (assertion_failed): new function, called by BOOST_ASSERT
3630
3631         * several files: change Assert to BOOST_ASSERT
3632
3633 2003-09-09  Angus Leeming  <leeming@lyx.org>
3634
3635         * buffer.[Ch]: Add an Impl class and move Buffer's member
3636         variables into it. As a result move several header files out of
3637         buffer.h.
3638
3639         Add header files to lots of .C files all over the tree as a result.
3640
3641 2003-09-09  Angus Leeming  <leeming@lyx.org>
3642
3643         * buffer.[Ch]: make Buffer's member variables private. Add
3644         accessor functions.
3645
3646         Lots of changes all over the tree as a result.
3647
3648 2003-09-08  Angus Leeming  <leeming@lyx.org>
3649
3650         * graph.C: #include <config.h>.
3651
3652 2003-09-08  Angus Leeming  <leeming@lyx.org>
3653
3654         * BranchList.C:
3655         * BufferView.C:
3656         * BufferView_pimpl.C:
3657         * CutAndPaste.C:
3658         * DepTable.C:
3659         * LaTeX.C:
3660         * LaTeXFeatures.C:
3661         * LyXAction.C:
3662         * MenuBackend.C:
3663         * TextCache.C:
3664         * aspell.C:
3665         * buffer.C:
3666         * bufferlist.C:
3667         * changes.C:
3668         * chset.C:
3669         * converter.C:
3670         * counters.C:
3671         * debug.C:
3672         * graph.C:
3673         * ispell.C:
3674         * lyx_cb.C:
3675         * lyxfind.C:
3676         * lyxfunc.C:
3677         * lyxlex_pimpl.C:
3678         * lyxrc.C:
3679         * lyxrow.C:
3680         * paragraph.C:
3681         * rowpainter.C:
3682         * texrow.C:
3683         * text.C:
3684         * text2.C:
3685         * toc.C: remove redundant using directives.
3686
3687 2003-09-07  Angus Leeming  <leeming@lyx.org>
3688
3689         * LaTeXFeatures.h: remove #include "support/types.h".
3690         * ToolbarBackend.h: remove #include <algorithm>.
3691         * changes.h: remove #include <ctime>.
3692         * debug.h: remove #include <iosfwd>.
3693         * graph.h: remove #include "support/std_string.h".
3694         * lyx_main.h: remove #include <csignal>.
3695         * lyxlex_pimpl.h: remove #include <fstream>.
3696         * sgml.h: remove #include <algorithm>, <utility>.
3697         * toc.h: remove #include "support/std_ostream.h".
3698         Add #include <iosfwd>.
3699
3700 2003-09-07  Angus Leeming  <leeming@lyx.org>
3701
3702         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3703
3704         * converter.h: forward declare LatexRunParams.
3705         * encoding.h: remove #include "lyxrc.h".
3706         * lyxtext.h: remove #include "LColor.h".
3707         * lyxtextclass.h: remove #include "support/types.h".
3708         * trans.h: remove #include "tex-accent.h".
3709         * trans_mgr.h: remove #include "tex-accent.h".
3710         * insets/inset.h: remove #include "support/types.h", <vector>.
3711         * insets/insetcollapsable.h: remove #include "LColor.h".
3712         * insets/insetinclude.h: remove #include "dimension.h".
3713         * insets/insetlatexaccent.h: remove #include "dimension.h".
3714         * insets/insetoptarg.h:: remove #include "insettext.h".
3715         * insets/insettext.h: remove #include "dimension.h",
3716         <boost/shared_ptr.hpp>
3717
3718         * insets/renderers.h: add #include "dimension.h".
3719         * insets/updatableinset.h: add #include "support/types.h".
3720
3721         * many .C files: Associated changes.
3722
3723 2003-09-06  Angus Leeming  <leeming@lyx.org>
3724
3725         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3726         one, inside testInvariant.
3727
3728         * PrinterParams.C: new file.
3729         * PrinterParams.[Ch]: move the function bodies out of line.
3730
3731 2003-09-06  Angus Leeming  <leeming@lyx.org>
3732
3733         * ParagraphParameters.h: forward declare ParameterStruct rather than
3734         including its header file.
3735         (depth): moved out-of-line.
3736
3737 2003-09-06  Angus Leeming  <leeming@lyx.org>
3738
3739         * BufferView_pimpl.h:
3740         * kbmap.h:
3741         * kbsequence.h:
3742         * lyxfunc.h: forward declare LyXKeySym rather than
3743         #include "frontends/LyXKeySym.h".
3744
3745         * BufferView_pimpl.C:
3746         * kbmap.C:
3747         * kbsequence.C:
3748         * lyxfunc.C: associated changes.
3749
3750 2003-09-06  Angus Leeming  <leeming@lyx.org>
3751
3752         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3753         As a result, can remove the #include "insets/inset.h" from BufferView.h
3754
3755 2003-09-06  Angus Leeming  <leeming@lyx.org>
3756
3757         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3758         As a result, can remove the #include "insets/inset.h" from BufferView.h
3759
3760 2003-09-06  Angus Leeming  <leeming@lyx.org>
3761
3762         * buffer_funcs.C:
3763         * buffer.h:
3764         * bufferlist.C:
3765         * BufferView.C:
3766         * bufferview_funcs.C:
3767         * BufferView_pimpl.C:
3768         * CutAndPaste.C:
3769         * lyx_cb.C:
3770         * lyxfunc.C:
3771         * paragraph.h:
3772         * ParagraphParameters.C:
3773         * tabular.C:
3774         * text3.C:
3775         * toc.C:
3776         * undo_funcs.C:
3777         * frontends/controllers/ControlDocument.C:
3778         * insets/insetcaption.C: rearrange the #includes into some sort of
3779         coherent order.
3780
3781         * buffer.h: remove #includes ErrorList.h, undo.h
3782
3783 2003-09-06  Angus Leeming  <leeming@lyx.org>
3784
3785         * support/types.h: add a 'depth_type' typedef, used to store the
3786         nesting depth of a paragraph.
3787
3788         * paragraph.h:
3789         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3790         defining explicitly.
3791
3792         * buffer.h:
3793         * paragraph_funcs.h:
3794         * ParagraphParameters.h:
3795         * sgml.h: use lyx::depth_type rather than Paragraph or
3796         ParameterStruct's depth_type.
3797
3798         * buffer.h
3799         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3800
3801         * BufferView.C:
3802         * BufferView_pimpl.C:
3803         * CutAndPaste.C:
3804         * ParagraphParameters.C:
3805         * buffer_funcs.C:
3806         * bufferlist.C:
3807         * bufferview_funcs.C:
3808         * lyx_cb.C:
3809         * lyxfunc.C:
3810         * tabular.C:
3811         * text3.C:
3812         * toc.C:
3813         * undo_funcs.C:
3814         * frontends/LyXView.C:
3815         * frontends/controllers/ControlDocument.C:
3816         * frontends/controllers/ControlErrorList.C:
3817         * insets/insetbibitem.C:
3818         * insets/insetbranch.C:
3819         * insets/insetcaption.C:
3820         * insets/insetcollapsable.C:
3821         * insets/insetenv.C:
3822         * insets/insetert.C:
3823         * insets/insetfloat.C:
3824         * insets/insetfoot.C:
3825         * insets/insetfootlike.C:
3826         * insets/insetnewline.C:
3827         * insets/insetquotes.C:
3828         * insets/insettabular.C:
3829         * insets/insettext.C:
3830         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3831
3832         * frontends/controllers/ControlChanges.C: #include "changes.h".
3833
3834 2003-09-06  Angus Leeming  <leeming@lyx.org>
3835
3836         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3837         than #including paragraph.h.
3838
3839         * ParagraphList.h:
3840         * RowList.h: deleted. Superfluous.
3841
3842         * CutAndPaste.h:
3843         * iterators.h:
3844         * lyxcursor.h:
3845         * lyxtext.h:
3846         * text_funcs.h:
3847         * undo.h:
3848         * undo_funcs.h:
3849         * insets/inset.h:
3850         * insets/insettext.h: use ParagraphList_fwd.h rather than
3851         ParagraphList.h.
3852
3853         * paragraph.h: don't forward declare ParagraphList.
3854
3855         * buffer.h:
3856         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3857         rather than ParagraphList.h. paragraph.h is still needed for the
3858         Paragraph::depth_type parameters.
3859
3860         * textcursor.h: enable it to compile stand-alone in light of the
3861         above changes.
3862
3863         * bufferview_funcs.C:
3864         * iterators.C:
3865         * lyxfunc.C:
3866         * lyxrow_funcs.C:
3867         * paragraph.C:
3868         * rowpainter.C:
3869         * text.C:
3870         * text2.C:
3871         * text3.C:
3872         * text_funcs.C:
3873         * textcursor.C:
3874         * undo.C:
3875         * frontends/controllers/ControlParagraph.C:
3876         * frontends/controllers/ControlTabular.C:
3877         * insets/insetmarginal.C:
3878         * insets/insetminipage.C:
3879         * insets/insetnote.C:
3880         * insets/insetoptarg.C: add header files needed to compile again.
3881
3882 2003-09-06  Angus Leeming  <leeming@lyx.org>
3883
3884         * RowList_fwd.h: new file, forward-declaring Row rather than
3885         #including lyxrow.h.
3886
3887         * lyxrow_funcs.h:
3888         * lyxtext.h:
3889         * paragraph.h:
3890         * insets/insettext.h: use it instead of RowList.h
3891
3892         * bufferview_funcs.C:
3893         * lyxfunc.C:
3894         * lyxrow_funcs.C:
3895         * paragraph.C:
3896         * rowpainter.C:
3897         * text.C:
3898         * text2.C:
3899         * text3.C: #include "RowList.h".
3900
3901 2003-09-05  Angus Leeming  <leeming@lyx.org>
3902
3903         * factory.C (createInset):
3904         * vspace.C (c-tor): replace sscanf call with an istringstream.
3905         * ispell.C: re-add missing HP/UX headers.
3906         * lyxserver.C: re-add missing  os2 headers.
3907
3908 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3909
3910         * BranchList.C:
3911         * graph.C:
3912         * ispell.C:
3913         * lastfiles.C:
3914         * lyx_cb.C:
3915         * lyxserver.C:
3916         * texrow.C:
3917         * text3.C: re-add missing system headers, needed for 2.95.2.
3918
3919 2003-09-05  Angus Leeming  <leeming@lyx.org>
3920
3921         Changes most place everywhere due to the removal of using directives
3922         from support/std_sstream.h.
3923
3924 2003-09-05  Angus Leeming  <leeming@lyx.org>
3925
3926         Replace LString.h with support/std_string.h,
3927         Lsstream.h with support/std_sstream.h,
3928         support/LIstream.h with support/std_istream.h,
3929         support/LOstream.h with support/std_ostream.h.
3930
3931         Changes resulting throughout the tree.
3932
3933 2003-09-05  Angus Leeming  <leeming@lyx.org>
3934
3935         * sgml.h: ensure that the header file can be compiled stand-alone.
3936         * *.C: strip out redundant #includes. (320 in total.)
3937
3938 2003-09-04  Angus Leeming  <leeming@lyx.org>
3939
3940         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3941         here (from getPackages).
3942
3943         * debug.[Ch]: add a new EXTERNAL tag.
3944
3945 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3946
3947         * text2.C (cursorEnd): simplify
3948         (setCursor): adjust
3949         (getColumnNearX): adjust
3950
3951         * text.C (computeBidiTables): adjust
3952         (fill): adjust
3953
3954         * rowpainter.C (paintChars): adjust
3955         (paintSelection): adjust
3956         (paintChangeBar): adjust
3957         (paintText): adjust
3958
3959         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3960         lastPos instead.
3961         (numberOfSeparators): adjust
3962
3963 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3964
3965         * LyXAction.C:
3966         * box.[Ch]:
3967         * lfuns.h:
3968         * lyxfunc.C:
3969         * text3.C: Restricts the mouse click functionality
3970         of insets like bibtex, include, toc and floatlist to the visible
3971         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3972         up the dialogs. Cursor has to be in front of the inset (i.e.
3973         start of row) for this to function.
3974
3975 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3976
3977         * bufferview_funcs.C (currentState): output row information
3978
3979 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3980
3981         * bufferview_funcs.C (currentState): output paragraph position
3982
3983 2003-09-04  Angus Leeming  <leeming@lyx.org>
3984
3985         * FloatList.h: move out #include "Floating.h".
3986         * LaTeX.h: move out #include "DepTable.h".
3987         * LyXAction.h: move out #include "funcrequest.h".
3988         * buffer.h: move out #include "author.h", "iterators.h".
3989         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3990         * lyx_main.h: move out #include "errorlist.h".
3991         * lyxfunc.h: move out #include "FuncStatus.h".
3992         * lyxtext: move out #include "lyxcursor.h".
3993         * paragraph_pimpl.h: move out #include "counters.h".
3994
3995 2003-09-03  Angus Leeming  <leeming@lyx.org>
3996
3997         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3998         preamble_snippets list, enabling us to add snippets to the preamble
3999         only if the snippet was not there already.
4000
4001 2003-09-04  Angus Leeming  <leeming@lyx.org>
4002
4003         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4004
4005 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4006
4007         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4008         update
4009
4010 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4011
4012         * BranchList.C: point fix, earlier forgotten
4013
4014 2003-09-02  Angus Leeming  <leeming@lyx.org>
4015
4016         * box.C (contains): renamed from 'contained' after a fantastic
4017         amount of hot air.
4018
4019 2003-09-02  John Levon  <levon@movementarian.org>
4020
4021         * BufferView.C:
4022         * lyxcursor.h:
4023         * lyxcursor.C:
4024         * lyxfunc.C:
4025         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4026
4027 2003-09-02  John Levon  <levon@movementarian.org>
4028
4029         * text2.C: simplification of cursorEnd(), including partial
4030         fix for bug 1376
4031
4032 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4033
4034         * buffer.C (readFile): add a space
4035
4036 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4037
4038         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4039
4040 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4041
4042         * buffer.C (readFile): new function, take a filename and a
4043         ParagraphList::iterator
4044         (readFile): adjust
4045         (readFile): adjust, make it private. don't use setStream, make
4046         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4047         always contain the filename.
4048
4049         * BufferView.C (insertLyXFile): simplify and make it work for
4050         gzipped files.
4051
4052 2003-08-30  John Levon  <levon@movementarian.org>
4053
4054         * Makefile.am: fix dist (from Kayvan)
4055
4056 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * most files: change to use const Buffer refs
4059
4060 2003-08-27  André Pönitz  <poenitz@gmx.net>
4061
4062         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4063         on top of ownerPar().
4064
4065 2003-08-27  John Levon  <levon@movementarian.org>
4066
4067         * funcrequest.C: properly initialise POD members
4068
4069 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4070
4071         * lyxtext.h (top_y): move top_y from here
4072         * text.C:
4073         * text2.C:
4074         * text3.C:
4075         * BufferView.[Ch]:
4076         * BufferView_pimpl.[Ch]: to here
4077         * frontends/screen.C:
4078         * insets/insettabular.C:
4079         * insets/insettext.C: adjust
4080         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4081
4082 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4083
4084         * BufferView.[Ch]:
4085         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4086
4087 2003-08-26  André Pönitz  <poenitz@gmx.net>
4088
4089         * paragraph_func.[Ch] (outerPar): new function
4090
4091         * paragraph.C:
4092         * paragraph_funcs.C:
4093         * paragraph_funcs.h:
4094         * paragraph_pimpl.C:
4095         * text2.C: remove Inset::par_owner
4096
4097 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4098
4099         * lyxrow_funcs.C:
4100         * lyxtext.h:
4101         * text.C:
4102         * text2.C: eliminates the needFullRow/display() stuff
4103         altogether, putting the logic in metrics/draw in the insets.
4104
4105 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4106
4107         * text2.C (redoParagraphInternal, redoParagraphs):
4108         * text.C (redoParagraph): add a call to updateRowPositions at the
4109         end of each 'metrics-like' call. Remove all others.
4110         (getRow): remove the 'y-computing' version.
4111         (getRowNearY): do not compute nor return the real y. Solve the
4112         'y < 0' problem and simplify.
4113
4114 2003-08-22  Angus Leeming  <leeming@lyx.org>
4115
4116         * *.[Ch]: clean-up of licence and author blurbs.
4117         Also move config.h out of a few .h files and into a few .C files.
4118
4119 2003-08-22  André Pönitz  <poenitz@gmx.net>
4120
4121         * lyxrow.[Ch]: add x_ and *fill_ members
4122
4123         * lyxtext.h:
4124         * text.C:
4125         * rowpainter.C:
4126         * text2.C: adjust/remove prepareToPrint() calls
4127
4128 2003-08-22  André Pönitz  <poenitz@gmx.net>
4129
4130         * lyxrow.[Ch]: add  end_ member
4131
4132         * lyxrow_funcs.C: use LyXRow::end_
4133
4134         * lyxtext.h (singleWidth): add LyXFont parameter
4135
4136         * rowpainter.C:
4137         * text2.C: adjust LyXText::singleWidth() calls
4138
4139         * text.C (redoParagraph): simplify row breaking logic
4140
4141
4142 2003-08-19  André Pönitz  <poenitz@gmx.net>
4143
4144         * funcrequest.C: initialize button_ member
4145
4146         * text3.C:
4147         * rowpainter.[Ch]: interface consolidation
4148
4149 2003-08-18  André Pönitz  <poenitz@gmx.net>
4150
4151         * BufferView.C:
4152         * BufferView_pimpl.C:
4153         * lyxfind.C:
4154         * paragraph_funcs.C:
4155         * rowpainter.C:
4156         * text3.C: remove LyXScreen::draw() and fitCursor calls
4157
4158         * BranchList.h: remove spurious semicolons
4159
4160         * MenuBackend.C: fix branchlist related crash
4161
4162 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4163
4164         * BranchList.[Ch]:
4165         * InsetList.[Ch]:
4166         * LColor.[Ch]:
4167         * LyXAction.C:
4168         * Makefile.am:
4169         * MenuBackend.[Ch]:
4170         * bufferparams.[Ch]:
4171         * factory.C:
4172         * lfuns.h:
4173         * lyxfunc.C:
4174         * text3.C: implements the 'branch inset'
4175         idea. This allows the output of various versions of a document
4176         from a single source version, selectively outputing or suppressing
4177         output of parts of the text.
4178         This implementation contains a 'branch list editor' in a separate
4179         tab of the document settings dialog. Branches are user definable
4180         and have a "display colour" to distinguish them on-screen.
4181
4182         ColorHandler was somewhat cleaned up.
4183         (1) make possible a dynamically growing LColor list by allowing
4184         the graphic context cache to grow along (vector);
4185         (2) eliminate an IMHO unnecessary step in colour allocation.
4186
4187 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4188
4189         * BufferView_pimpl.C: compile fix
4190
4191 2003-08-15  André Pönitz  <poenitz@gmx.net>
4192
4193         * rowpainter.C: remove extra metrics calls
4194
4195         * lyxtext.h: merge the two constructors into a single one,
4196           pass reference to owner's par list
4197
4198         * BufferView_pimpl.C:
4199         * text.C:
4200         * text2.C: adjust
4201
4202 2003-08-15  André Pönitz  <poenitz@gmx.net>
4203
4204         * lyxrow_funcs.[Ch]:
4205         * lyxtext.h:
4206         * paragraph.h:
4207         * paragraph_funcs.C:
4208         * rowpainter.C:
4209         * text.C:
4210         * text2.C:
4211         * text3.C:
4212         * text_funcs.C: split LyXText::rowlist_ into individual
4213         Paragraph::rows_ chunks
4214
4215         * BufferView.[Ch]:
4216         * BufferView_pimpl.[Ch]:
4217         * lyxfind.C:
4218         * lyxtext.h:
4219         * text3.C: remove toggleSelection()
4220
4221 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4222
4223         * bufferlist.C: beautify two alerts (shorter text of buttons)
4224         * buffer.C: Remove redundant ' ' from message
4225         * tabular.h:
4226         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4227         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4228         rename VALIGN_CENTER to VALIGN_MIDDLE
4229
4230 2003-08-11  André Pönitz  <poenitz@gmx.net>
4231
4232         * lyxtext.h (getPar):
4233         * text.C: new function
4234
4235 2003-08-11  André Pönitz  <poenitz@gmx.net>
4236
4237         * Makefile.am:
4238         * tracer.[Ch]: remove unneeded files
4239
4240         * InsetList.[Ch]: remove resizeInsetsLyXText()
4241
4242         * lyxtext.h:
4243         * text.C:
4244         * text2.C:
4245         * text3.C: merge insertParagraphs() and appendParagraph()
4246         remove breakAgain(), update()
4247
4248         * BufferView_pimpl.[Ch]:
4249         * bufferview_funcs.[Ch]:
4250         * lyxfunc.C:
4251         * paragraph.[Ch]:
4252         * rowpainter.C:
4253         * tabular.C: adjust after text & InsetList changes.
4254
4255 2003-08-08  André Pönitz  <poenitz@gmx.net>
4256
4257         * text.C (insertChar, backspace): replace rowlist fiddling
4258         with rebreak of full par
4259
4260         * lyxtext.h:
4261         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4262         checkParagraph, updateInset): removed
4263
4264 2003-08-07  André Pönitz  <poenitz@gmx.net>
4265
4266         * paragraph.C:
4267         * text3.C: merge some LFUN handlers, remove dead code
4268
4269 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4270
4271         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4272
4273 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4274
4275         * text2.C (DEPM): fix part of bug 1255 and 1256
4276
4277 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4278
4279         * BufferView_pimpl.C (workAreaDispatch): change to use
4280         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4281         that are no mouse related.
4282
4283 2003-08-05  André Pönitz  <poenitz@gmx.net>
4284
4285         * BufferView.[Ch]:
4286         * BufferView_pimpl.[Ch]:
4287         * bufferview_funcs.C:
4288         * text2.C:
4289         * text3.C: rip out "deep update"
4290
4291         * textcursor.[Ch] (last_sel_cursor): remove unused member
4292
4293 2003-08-04  André Pönitz  <poenitz@gmx.net>
4294
4295         * BufferView.[Ch]:
4296         * BufferView_pimpl.[Ch]:
4297         * ParagraphParameters.C:
4298         * bufferview_funcs.C:
4299         * lyx_cb.C:
4300         * lyxfind.C:
4301         * lyxfunc.C:
4302         * text.C:
4303         * text2.C:
4304         * text3.C: replace "complicated" BufferView::update(...) calls with
4305         simpler ones.
4306
4307         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4308
4309 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4310
4311         * Makefile.am (lyx_SOURCES): add paper.h
4312
4313 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4314
4315         * Makefile.am: move things around so that both lyx-qt and
4316         lyx-xforms can be built (according to --with-frontend). Then lyx
4317         is a symbolic link to lyx-[firstfrontend]
4318
4319 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4320
4321         * Always use std::endl with lyxerr
4322
4323 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4324
4325         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4326
4327 2003-08-01  André Pönitz  <poenitz@gmx.net>
4328
4329         * BufferView.[Ch]:
4330         * BufferView_pimpl.[Ch]:
4331         * lyxfunc.C:
4332         * text3.C: merge BufferView::repaint() and BufferView::update()
4333
4334 2003-08-01  José Matos  <jamatos@lyx.org>
4335
4336         * buffer.[Ch]: file_format is no longer a buffer data element.
4337
4338 2003-08-01  André Pönitz  <poenitz@gmx.net>
4339
4340         * BufferView.C:
4341         * lyxtext.h:
4342         * text.C:
4343         * text2.C: make redoParagraph more independent of current cursor
4344
4345         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4346         * text.C:
4347         * text2.C: remove unneeded members
4348
4349 2003-07-30  André Pönitz  <poenitz@gmx.net>
4350
4351         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4352
4353         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4354           create a single function...
4355
4356         * paragraph_funcs.C (moveItem): ... here.
4357
4358         * text.C:
4359           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4360
4361 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4362
4363         * LColor.[Ch]: Add comment and greyedout logical colors.
4364
4365 2003-07-30  André Pönitz  <poenitz@gmx.net>
4366
4367         * tabular.C: don't use Assert too heavily. This crashes where it
4368           shouldn't
4369
4370 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4371
4372         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4373         is disabled (bug 1232)
4374
4375 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4376
4377         * factory.C: limited 'arg' scope
4378
4379 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4380
4381         * factory.C: fixed Note submenu issues
4382
4383 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4384
4385         * factory.C: submenu for Note/Comment/Greyedout
4386
4387 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4388
4389         * lyx_main.C (LyX):
4390         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4391
4392 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4393
4394         * LaTeXFeatures.C:
4395         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4396         greyedout. Patch provided by Jürgen Spitzmüller.
4397
4398 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4399
4400         * kbmap.C (read): fix error message when reading bind files
4401
4402 2003-07-29  Angus Leeming  <leeming@lyx.org>
4403
4404         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4405         certainly does not do what it purports to do. I am doing it, and
4406         us, a favour by killing it.
4407
4408 2003-07-28  José Matos  <jamatos@lyx.org>
4409
4410         * buffer.C (readBody, do_writeFile):
4411         * paragraph.C(readParagraph): \end_document replaces \the_end.
4412
4413 2003-07-29  André Pönitz  <poenitz@gmx.net>
4414
4415         * BufferView.[Ch]:
4416         * BufferView_pimpl.[Ch]:
4417         * lyxfunc.C:
4418         * text2.C:
4419         * text3.C:
4420         * textcursor.[Ch]: remove toggleToggle & Co
4421
4422 2003-07-28  José Matos  <jamatos@fep.up.pt>
4423
4424         * buffer.C (readParagraph):
4425         * params_func (readParToken, readParagraph):
4426         * paragraph.C (write): \layout -> \begin_layout.
4427
4428 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4429
4430         * lyxlex_pimpl.C (setFile): clean up slightly.
4431
4432         * bufferparams.h: add compressed var
4433
4434         * buffer_funcs.C (readFile): adjust for LyXLex change
4435         (newFile): ditto + simplify
4436
4437         * buffer.C (writeFile): handle writing of compressed files
4438
4439         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4440         Check if the file is compressed and set a bufferparm if so.
4441
4442         * Makefile.am (lyx_LDADD): remove explicit -lz
4443
4444 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4445
4446         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4447         makeDocBookFile): put the real LyX version in the first line of
4448         the file
4449
4450         * version.h:
4451         * version.C.in: remove lyx_docversion
4452
4453         * tabular.C (write_attribute): add a template-based version to
4454         write enums properly
4455
4456 2003-07-28  André Pönitz  <poenitz@gmx.net>
4457
4458         * lyxtext.h:
4459         * text.C:
4460         * text2.C:
4461         * text3.C: use doubles again for x-coordinates. They are needed.
4462
4463 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * messages.C (getLocaleDir): use lyx_localedir()
4466
4467         * lyxlex_pimpl.C (setFile): compress stuff
4468
4469         * buffer.C (writeFile): add some compression stuff
4470         (do_writeFile): new func, dont call expliti close... will this
4471         breake anything?
4472
4473         * Makefile.am (lyx_LDADD): add -lz
4474
4475 2003-07-28  José Matos  <jamatos@fep.up.pt>
4476
4477         * buffer.C: increment file format.
4478         * paragraph_funcs (readParagraph, readParToken):
4479         * paragraph.C (readParagraph): add \end_layout.
4480
4481 2003-07-27  Angus Leeming  <leeming@lyx.org>
4482
4483         * Makefile.am: remove special casing for configure-time setting of
4484         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4485
4486         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4487         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4488
4489 2003-07-26  André Pönitz  <poenitz@gmx.net>
4490
4491         * paragraph_func.[Ch]:
4492         * paragraph.C (realizeFont): inline it whereever it is used
4493
4494         * rowpainter.C:
4495         * text.C:
4496         * text2.C:
4497         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4498
4499
4500 2003-07-26  André Pönitz  <poenitz@gmx.net>
4501
4502         *       lyxtext.h:
4503         * text.C:
4504         * text2.C: get rid of LyXText::need_break_row
4505
4506 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * toc.[Ch]: put namespace toc inside namespace lyx
4509
4510         * MenuBackend.C (expandToc2): adjust for lyx::toc
4511         (expandToc): ditto
4512
4513         * lyxfunc.C (dispatch): adjust for lyx::find
4514
4515         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4516         lyx::find instead. Reorganize a bit.
4517         (LyXReplace): rename to replace
4518         (LyXFind): rename to find
4519
4520         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4521         (dispatch): ditto
4522
4523 2003-07-26  André Pönitz  <poenitz@gmx.net>
4524
4525         * text.C (setHeightOfRow): restrict scope of temporary variable
4526
4527         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4528           code (never has been used?)
4529
4530 2003-07-27  Asger Alstrup  <alstrup@local>
4531
4532         * text.C (fill): Optimise algorithm to exploit that we can reuse
4533         the LyXFont for many characters.
4534         (setHeightOfRow): Same thing.
4535         (rowBreakPoint): Same thing.
4536
4537 2003-07-26  Asger Alstrup  <alstrup@local>
4538
4539         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4540
4541         * text.C (singleWidth): Spurious font copying in hot-spot
4542         singleWidth avoided. Reorder tests for arabic for efficiency.
4543
4544         * text.C (fill): handle empty paragraphs better.
4545
4546 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4547
4548         * ispell.C:
4549         * encoding.h: add includes
4550
4551         * lyxrc.C: remove reading of bind files
4552
4553         * lyx_main.C (init): setup bindings and menus only if we have a
4554         gui.
4555
4556         * kbmap.C (read): new method. Do the actual reading of bind
4557         files.
4558
4559         * converter.C (dvipdfm_options):
4560         * bufferparams.C:
4561         * lyxrc.C (read):
4562         (output): adapt PAPER_* enums.
4563
4564         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4565
4566         * bufferparams.h: remove paper-related enums from there
4567
4568         * paper.h: New file. A trivial header file to hold paper-related
4569         enums. It should later expand to contain many paper-related
4570         horrors access.
4571
4572         * lyxrc.C: declare extern displayTranslator
4573
4574 2003-07-27  José Matos  <jamatos@fep.up.pt>
4575
4576         * tabular.[Ch] (linuxdoc): add support for tables and figures
4577         (linuxdoc).
4578
4579 2003-07-27  José Matos  <jamatos@fep.up.pt>
4580
4581         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4582         consistency in both functions.
4583         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4584
4585 2003-07-26  Asger Alstrup  <alstrup@local>
4586
4587         * rowpainter.C (paintRows): Change algorithm to work directly on
4588         the insets rather than asking every character in the document
4589         whether its an inset.
4590
4591 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4592
4593         * buffer.C (openFileWrite): factorize some code
4594
4595 2003-07-26  Angus Leeming  <leeming@lyx.org>
4596
4597         * lyx_cb.C:
4598         * lyx_main.[Ch]: replace occurances of system_tempdir with
4599         os::getTmpDir().
4600
4601 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4602
4603         * rename Inset to InsetOld
4604
4605 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4606
4607         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4608         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4609         which I think is a bit clearer. EDIT is gone, since it was
4610         premature optimisation, and broken for mathed anyway.
4611         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4612         with cursor positioning in insets as well (math insets still do not
4613         work, but that's a different story anyway.) It mysteriously
4614         crashes sometimes with undo in the first paragraph, but I'm fairly
4615         confident that this is a compiler bug.
4616
4617 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4618
4619         * paragraph.C (Paragraph): adjust for new clone return type
4620         (operator==): ditto
4621         (copyIntoMinibuffer): ditto
4622
4623 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4624
4625         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4626         by not having a special case, and always doing a full rebreak of
4627         the document after undo.
4628
4629 2003-07-23  Angus Leeming  <leeming@lyx.org>
4630
4631         * factory.C (createInset): InsetExternal::setParams now takes a
4632         Buffer const * arg.
4633
4634 2003-07-23  Angus Leeming  <leeming@lyx.org>
4635
4636         * factory.C (createInset): changed interface to the external and
4637         graphics mailers' string2params functions.
4638
4639 2003-07-23  Angus Leeming  <leeming@lyx.org>
4640
4641         * factory.C (createInset): pass a
4642         Buffer const * parameter to InsetExternalMailer's string2params.
4643
4644 2003-07-22  John Levon  <levon@movementarian.org>
4645
4646         * Thesaurus.h: include the right aiksaurus header
4647
4648 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4649
4650         * MenuBackend.C (expand): check menu shortcuts unconditionally
4651
4652 2003-07-21  Angus Leeming  <leeming@lyx.org>
4653
4654         * factory.C (createInset): pass a
4655         buffer_path parameter to InsetGraphicsMailer's string2params.
4656
4657 2003-07-21  Angus Leeming  <leeming@lyx.org>
4658
4659         * BufferView_pimpl.C (buffer):
4660         * buffer.C (d-tor):
4661         * lyx_main.C (LyX):
4662         * lyxfunc.C (dispatch):
4663         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4664         rather than the grfx shortcut.
4665
4666 2003-07-21  André Pönitz  <poenitz@gmx.net>
4667
4668         * rowpainter.C: remove unused variables
4669
4670         * tabular_funcs.C:
4671         * tabular_funcs.h: move to tabular.C
4672         * Makefile.am: adjust
4673
4674         * tabular.[Ch]: basic optical cleaning
4675
4676         * author.h: pass references, not values
4677
4678 2003-07-18  André Pönitz  <poenitz@gmx.net>
4679
4680         * lyxtext.h:
4681         * metricsinfo.C:
4682         * metricsinfo.h:
4683         * rowpainter.C:
4684         * text.C:
4685         * text2.C:
4686         * text3.C: two-phase drawing for InsetText and InsetTabular
4687         some float -> int changes.
4688
4689 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4690
4691         * lyx_main.C: fix the fix
4692
4693 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4694
4695         * lyx_main.C: fix a crash in batch mode if no files specified
4696         * converter.C: ws
4697
4698 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4699
4700         * format.[Ch] (papersize): moved to BufferParams
4701         * converter.[Ch] (dvips_options): moved to BufferParams
4702         (dvipdfm_options): moved to anon namespace
4703         * bufferparams.[Ch]: added above functions.
4704
4705 2003-07-17  André Pönitz  <poenitz@gmx.net>
4706
4707         * lyxtext.h:
4708         * rowpainter.C:
4709         * text2.C: don't call inset->update() anymore
4710
4711         * metricsinfo.[Ch]: add convenience constructor
4712
4713 2003-07-16  André Pönitz  <poenitz@gmx.net>
4714
4715         * lyxcursor.[Ch]:
4716         * lyxfunc.[Ch]:
4717         * text.C:
4718         * text2.C: replace the LyXCursor::irow_ member with
4719          on-demand computation of the value
4720
4721 2003-07-16  John Levon  <levon@movementarian.org>
4722
4723         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4724
4725 2003-07-15  André Pönitz  <poenitz@gmx.net>
4726
4727         * text.C:
4728         * text2.C: remove no more needed refresh_row
4729
4730 2003-07-15  André Pönitz  <poenitz@gmx.net>
4731
4732         * lyxtext.h:
4733         * rowpainter.C:
4734         * text2.C:
4735         * text3.C: refresh_status tristate -> need_update bool
4736
4737 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4738
4739         * lyxtext.h (init): remove reinit argument (act as if always true)
4740         * text2.C: adjust to that
4741
4742 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4743
4744         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4745         * text3.C: use it to delete selections in some cases
4746         (bugs 441, 673, 702, 954).
4747
4748 2003-07-14  André Pönitz  <poenitz@gmx.net>
4749
4750         * rowpainter.[Ch]: reduce interface
4751
4752 2003-07-14  André Pönitz  <poenitz@gmx.net>
4753
4754         * BufferView_pimpl.C:
4755         * text2.C: adjust after removing unused BufferView * argument
4756
4757 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4758
4759         * text2.C (init): fix a crash fired on resize
4760
4761 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4762
4763         * buffer.[Ch]: added new closing signal
4764         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4765         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4766         BufferView::Pimpl via the closing the signal
4767
4768 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4769
4770         * buffer.[Ch]: take out all bv-related from buffer
4771         * BufferView.C:
4772         * BufferView_pimpl.[Ch]: connect to new signals
4773         * CutAndPaste.C: removed useless asserts
4774         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4775         * lyxvc.[Ch]:
4776         * vc-backend.[Ch]:
4777         * lyxfunc.C: moved view-related funciontality from vc here
4778         * paragraph.C: removed outdated comments
4779         * text.C: ws
4780
4781 2003-07-10  André Pönitz  <poenitz@gmx.net>
4782
4783         * BufferView_pimpl.C:
4784         * tabular.h:
4785         * tabular_funcs.C:
4786         * text.C:
4787         * text2.C: remove InsetText::InnerCache, clean up consequences
4788
4789 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4790
4791         * ispell.C: fix two typos in error messages
4792
4793 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4794
4795         * Extend Note inset to other forms of annotation like Comment
4796         and Greyedout. Right button click gives dialog.
4797
4798         Files modified or added (+):
4799
4800         * insetnote.[Ch]
4801         * FormNote.[Ch]      +
4802         * ControlNote.[Ch]   +
4803         * form_note.fd       +
4804         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4805         frontends/controllers
4806         * xforms/Dialogs.C
4807         * factory.C
4808
4809 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4810
4811         * aspell.C: add missing namespace lyx::support
4812
4813 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4814
4815         * BufferView.[Ch] (newFile): Add
4816         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4817         * LaTeX.[Ch] (message): added this signal and use it
4818         * buffer.[Ch] (busy, message): added these signals and use them
4819         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4820         * converter.C:
4821         * exporter.C:
4822         * format.C:
4823         * importer.C: use buffer signals instead of direct bv calling
4824         * lyx_cb.[Ch] (ShowMessage): removed
4825         * lyx_main.C:
4826         * lyxfunc.C:
4827         * paragraph_funcs.C:
4828         * text2.C: use buffer signals
4829
4830 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4831
4832         * introduce namespace lyx::graphics
4833
4834 2003-07-02  André Pönitz  <poenitz@gmx.net>
4835
4836         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4837
4838 2003-07-01  André Pönitz  <poenitz@gmx.net>
4839
4840         * text.C:
4841         * text2.C:
4842         * text3.C:
4843         * text_funcs.[Ch]:
4844         * textcursor.h:
4845         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4846           text*.C to text_func.C
4847
4848 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * introduce namespace lyx::support
4851
4852 2003-06-30  André Pönitz  <poenitz@gmx.net>
4853
4854         * Chktex.C:
4855         * funcrequest.C:
4856         * lyxtext.h:
4857         * text.C: re-enable --with-included-string
4858
4859 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4860
4861         * textcursor.C: add <config.h>
4862
4863         * text.C (getWord): remove const from word_location arg
4864
4865         * lyxvc.C (getLogFile): fix const type order
4866
4867         * lyxtext.h: remove const from word_location arg, add arg name
4868
4869         * lyxlayout.h: currect type on labeltype.
4870
4871         * importer.C: correct \file
4872
4873         * converter.C (intToFormat): use std:: on ret val, ws changes
4874
4875         * bufferlist.h: correct \file
4876
4877         * buffer.C (makeLinuxDocFile): fix const type order
4878         (makeDocBookFile): ditto
4879         (fillWithBibKeys): use std:: on stdlib args.
4880
4881         * CutAndPaste.C: fix authors.
4882         (availableSelections): use std:: on return vector
4883
4884 2003-06-27  André Pönitz  <poenitz@gmx.net>
4885
4886         * BufferView_pimpl.C:
4887         * bufferview_funcs.C:
4888         * lyxcursor.C:
4889         * lyxcursor.h:
4890         * lyxfunc.C:
4891         * lyxtext.h:
4892         * rowpainter.C:
4893         * text.C:
4894         * text2.C:
4895         * text3.C: remove LyXCursor::row_ member
4896
4897         * lyxtext.h:
4898         * text.C: rename fullRebreak() to partialRebreak() and implement
4899           a fullRebreak() that really bereks fully
4900
4901         * textcursor.h: new struct for cursor-related data
4902
4903 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4904
4905         * lyx_main.C (LyX): get full path of document loaded on the
4906         command line
4907
4908 2003-06-26  André Pönitz  <poenitz@gmx.net>
4909
4910         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4911           remove unused/broken operator>,<,>=.
4912
4913         *       text.C: remove only use of broken operator<= in an Assert().
4914
4915 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4916
4917         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4918         moved errorlist_.clear to showErrorList
4919
4920 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4921
4922         * converter.C (scanLog, runLaTeX):
4923         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4924         move the bv->showErrorList call to the callers
4925         * lyxfunc.C: i.e. here...
4926         * text2.C: and here
4927         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4928         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4929         namespace, the second to...
4930         * buffer_funcs (BufferFormat, parseErrors): added
4931         * errorlist.C (ErrorList(TeXErrors const &)): removed
4932
4933 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4934
4935         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4936
4937 2003-06-24  "Garst R. Reese" <reese@isn.net>
4938
4939         * debug.C: fix typo
4940
4941 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4942
4943         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4944
4945         * version.C.in: change docversion to 1.4
4946
4947 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4948
4949         * buffer.C: fix a bug just introduced
4950
4951 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4952
4953         * buffer.[Ch]: added the parseError signal and use it, removed
4954         sgmlError
4955         * BufferView.[Ch] (addError): moved to ...
4956         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4957         to the Buffer::parseError signal to catch (guess what) parse errors
4958         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4959
4960 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4961
4962         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4963         ability to create a buffer and to return an existing one from
4964         the list. Moved these functions to...
4965         * buffer_funcs.[Ch]: added
4966         * BufferView.[Ch] (loadLyXFile): added
4967         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4968         job removed from bufferlist::loadLyXFile.
4969         * buffer.C (setReadOnly): make it work without view
4970         (i.e added an if (users))
4971
4972 2003-06-19  Angus Leeming  <leeming@lyx.org>
4973
4974         * lfuns.h:
4975         * LyXAction.C (init):
4976         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4977         with LFUN_DIALOG_SHOW <name> <data>.
4978
4979 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4980
4981         * CutAndPaste.C (availableSelections): small compilation fix for
4982         ancient (gcc 2.9x) compilers
4983
4984 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4985
4986         * text3.C (cursorNext): add tmp var
4987
4988         * text2.C (updateCounters): for function calling out of for clause
4989         (replaceSelectionWithString): ditto
4990         (insertStringAsParagraphs): ditto
4991         (getColumnNearX): add tmp var
4992         (setCursorFromCoordinates): add tmp var
4993         (cursorDownParagraph): add tmp var
4994         (deleteEmptyParagraphMechanism): add tmp var
4995
4996         * text.C (insertChar): add tmp var
4997
4998         * rowpainter.C (paintDepthBar): add tmp var
4999
5000         * CutAndPaste.C (availableSelections): potentially check all
5001         paragraphs in a cut to fill the shown strings.
5002
5003 2003-06-18  André Pönitz  <poenitz@gmx.net>
5004
5005         * kbmap.[Ch]: use vector<> instead of list<>
5006
5007 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5008
5009         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5010         pasteSelection with index
5011
5012         * text2.C (pasteSelection): modify, call pasteSelection with index
5013
5014         * paragraph.C (asString): reimplement version with no interval to
5015         call the one with interval.
5016
5017         * lyxtext.h: add index arg to pasteSelection
5018
5019         * MenuBackend.C (MenuItem): handle PasteRecent
5020         (Menu::read::Menutags): add md_pasterecent
5021         (read): handle it
5022         (expandPasteRecent): new function
5023         (expand): use it
5024
5025         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5026
5027         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5028         the limited stack
5029         (availableSelections): new function
5030
5031 2003-06-17  Angus Leeming  <leeming@lyx.org>
5032
5033         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5034
5035 2003-06-17  Angus Leeming  <leeming@lyx.org>
5036
5037         * lfuns.h:
5038         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5039
5040         * lyxfunc.C (dispatch): invoke it.
5041
5042 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5043
5044         * iterators.C (operator++, ParPosition): reintroduce some
5045         const_cast for the benefit of older compilers.
5046
5047 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5048
5049         * text3.C (dispatch): do not modify clipboard when doing
5050         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5051         LFUN_DELETE_SKIP on a selection selection
5052
5053 2003-06-16  André Pönitz  <poenitz@gmx.net>
5054
5055         * BufferView.C:
5056         * buffer.C:
5057         * buffer.h:
5058         * paragraph.C:
5059         * tabular.[Ch]: IU of clone() and getLabelList();
5060
5061 2003-06-13  André Pönitz  <poenitz@gmx.net>
5062
5063         * tabular.h: compactification
5064
5065 2003-06-12  André Pönitz  <poenitz@gmx.net>
5066
5067         * tabular.C:
5068         * tabular.h:
5069         * tabular_funcs.h: some renaming plus whitespace
5070
5071 2003-06-12  André Pönitz  <poenitz@gmx.net>
5072
5073         * BufferView.C:
5074         * BufferView_pimpl.C:
5075         * CutAndPaste.C:
5076         * buffer.C:
5077         * iterators.[Ch]:
5078         * lyxfunc.C:
5079         * text.C:
5080         * toc.C: Return a Paragraph & for ParIterator::operator*()
5081
5082 2003-06-11  John Levon  <levon@movementarian.org>
5083
5084         * lyx_main.C:
5085         * ToolbarBackend.h:
5086         * ToolbarBackend.C: add "Toolbars" section and
5087         put the flags there
5088
5089 2003-06-10  Angus Leeming  <leeming@lyx.org>
5090
5091         * lfuns.h:
5092         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5093
5094         * lyxfunc.C (dispatch): invoke it.
5095
5096 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5097
5098         * main.C: protect <ios> with HAVE_IOS
5099         (main): protect sync_with_stdio with HAVE_IOS
5100
5101 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5102
5103         * text2.C (cutSelection): adjust
5104         (pasteSelection): adjust
5105
5106         * messages.C: handle get of empty string
5107
5108         * main.C (main): use sync_with_stdio(false)
5109
5110         * lyxfunc.C (dispatch): adjust
5111
5112         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5113         (WriteAs): remove unneeded BufferView arg.
5114
5115         * bufferparams.h: use correct types on papersize, papersize2 and
5116         paperpackage.
5117
5118         * bufferparams.C (readToken): adjust for type
5119         (writeLaTeX): add missing cases to switch.
5120
5121         * bufferlist.C (quitWriteBuffer): adjust
5122         (close): adjust
5123
5124         * buffer.C (asciiParagraph): remove some commented code.
5125
5126         * CutAndPaste.C: remove current_view extern variable.
5127         (cutSelection): add BufferParams arg.
5128         (eraseSelection): add BufferParams arg.
5129         (pasteSelection): add Buffer const & arg
5130
5131 2003-06-07  John Levon  <levon@movementarian.org>
5132
5133         * buffer.C:
5134         * paragraph_funcs.C:
5135         * paragraph_pimpl.C:
5136         * text.C:
5137         * text2.C:
5138         * paragraph.h:
5139         * paragraph.C: allow InsetERT to freely space lines,
5140         and some consolidation of code
5141
5142 2003-06-06  José Matos  <jamatos@fep.up.pt>
5143
5144         * buffer.C (makeDocBookFile): fix bug #821
5145
5146 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5147
5148         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5149
5150 2003-06-04  Angus Leeming  <leeming@lyx.org>
5151
5152         * buffer.C: bump format to 224.
5153
5154 2003-06-05  André Pönitz  <poenitz@gmx.net>
5155
5156         * text2.C (redoParagraphs): remove two const_cast<>
5157
5158 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5159
5160         * ParagraphList.h: remove last remnants of NO_STD_LIST
5161
5162 2003-06-03  Angus Leeming  <leeming@lyx.org>
5163
5164         * factory.C (createInset): small change to the way InsetExternal's params
5165         are set.
5166
5167 2003-06-04  André Pönitz  <poenitz@gmx.net>
5168
5169         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5170
5171         * paragraph_pimpl.h:
5172         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5173
5174         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5175
5176         * undo_funcs.C: make some simple cases of undo work again
5177
5178 2003-06-03  John Levon  <levon@movementarian.org>
5179
5180         * ispell.C: HPUX doesn't have sys/select.h
5181         (from Albert Chin)
5182
5183 2003-06-03  John Levon  <levon@movementarian.org>
5184
5185         * CutAndPaste.C: update tabular and include inset
5186         buffer references
5187
5188         * buffer.h:
5189         * paragraph.h:
5190         * paragraph.C: remove owningBuffer(), don't pass Buffer
5191         to clone()
5192
5193         * factory.C: insetGraphicsParams changed
5194
5195 2003-06-02  John Levon  <levon@movementarian.org>
5196
5197         * LyXAction.C:
5198         * factory.C:
5199         * lfuns.h:
5200         * lyxfunc.C:
5201         * text3.C: remove insetparent
5202
5203 2003-06-02  John Levon  <levon@movementarian.org>
5204
5205         * buffer.h:
5206         * buffer.C: fix inset_iterator.end(), move out of line
5207         (bug 1149)
5208
5209 2003-06-01  John Levon  <levon@movementarian.org>
5210
5211         * text3.C: use a proper cut/paste when doing inset
5212         insert (from Jürgen Spitzmüller)
5213
5214 2003-06-01  John Levon  <levon@movementarian.org>
5215
5216         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5217
5218 2003-05-30  André Pönitz  <poenitz@gmx.net>
5219
5220         * rowpainter.C: unify second drawing phase
5221
5222 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5223
5224         * trans_mgr.C: remove one case of current_view
5225
5226         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5227
5228         * paragraph_funcs.h: remove paragraph.h include
5229
5230         * paragraph.h: delete NO_STD_LIST stuff
5231
5232         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5233
5234         * buffer.h: remove paragraph.h include
5235
5236         * ParagraphList.C: delete file
5237
5238         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5239
5240         * toc.C (getTocList): adjust
5241
5242         * paragraph_pimpl.C (validate): adjust
5243
5244         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5245
5246         * paragraph.C (Paragraph): adjust
5247         (getPositionOfInset): use const_iterator, adjust
5248         (bibitem): use const_iterator, adjust
5249         (setInsetOwner): adjust
5250
5251         * iterators.C (operator++): adjust
5252
5253         * InsetList.[Ch]: Replace selfmade iterator with standard
5254         vector::iterator also introduce const_iterator. Remove getPos,
5255         getInset and setInset from InsetTable. Adjust accordingly.
5256
5257         * BufferView.C (lockInset): adjust
5258         (ChangeInsets): adjust
5259
5260         * tabular.[Ch]: delete commented same_id functions
5261
5262 2003-05-28  John Levon  <levon@movementarian.org>
5263
5264         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5265
5266 2003-05-28  André Pönitz  <poenitz@gmx.net>
5267
5268         * metricsinfo.[Ch]: remove 'fullredraw' member
5269
5270 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5271
5272         * lyxtextclass.C (operator): remove caching.
5273
5274 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5275
5276         * text3.C: adjust
5277
5278         * text2.C (cursorBottom): adjust
5279         (setCounter): use ParagraphList::find, adjust
5280
5281         * text.C (workWidth): use ParagraphList::find, adjust
5282
5283         * lyxcursor.C (LyXCursor): adjust
5284
5285         * buffer.C (inset_iterator): adjust
5286
5287         * ParagraphList.h: make iterator(value_type) private, make
5288         ParagraphList a friend of iterator.
5289
5290         * ParagraphList.C (find): new function
5291
5292         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5293
5294 2003-05-27  André Pönitz  <poenitz@gmx.net>
5295
5296         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5297
5298 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5299
5300         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5301
5302 2003-05-26  John Levon  <levon@movementarian.org>
5303
5304         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5305
5306 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5307
5308         * remove same_id from function signatures, adjust.
5309
5310 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5311
5312         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5313
5314         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5315
5316         * paragraph.C (Paragraph): get rid of same_ids parameter
5317
5318         * ParagraphList.C (insert): adjust
5319         (push_back): adjust
5320
5321 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5322
5323         * paragraph_funcs.C (breakParagraph): adjust
5324         (breakParagraphConservative): adjust
5325
5326         * buffer.C (readParagraph): adjust
5327
5328         * ParagraphList.C (insert): take a reference instead of a pointer
5329         (insert): adjust
5330
5331         * paragraph.[Ch] (id): new function
5332
5333         * bufferlist.C (newFile): adjust
5334
5335         * ParagraphList.C (ParagraphList): adjust
5336         (assign): adjust
5337         (push_back): take a reference instead of a pointer.
5338
5339         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5340
5341         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5342         instead.
5343
5344         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5345         set else use old code.
5346
5347         * ParagraphList.C: remove all NO_NEXT code and only compile this
5348         code of NO_STD_LIST is set.
5349
5350 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5351
5352         * BufferView_pimpl.C:
5353         * TextCache.C:
5354         * TextCache.h:
5355         * bufferlist.C:
5356         * errorlist.h:
5357         * format.C:
5358         * format.h:
5359         * graph.C:
5360         * lyxfunc.C:
5361         * lyxrc.C:
5362         * graphics/GraphicsConverter.C:
5363         * graphics/PreviewLoader.C: header adjustment
5364
5365 2003-05-23  Angus Leeming  <leeming@lyx.org>
5366
5367         * LaTeXFeatures.[Ch] (useBabel): new method.
5368         * bufferparams.C (writeLaTeX): use it.
5369
5370 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5371
5372         * ParagraphList.h (set): remove unused function.
5373
5374 2003-05-23  André Pönitz  <poenitz@gmx.net>
5375
5376         * BufferView.C:
5377         * BufferView_pimpl.C:
5378         * buffer.C:
5379         * buffer.h:
5380         * lyxfunc.C:
5381         * undo_funcs.C: setUndo reworked
5382
5383         * iterators.[Ch]: add access to topmost ParagraphList
5384
5385         * lyxtext.[Ch] (workWidth): add a const
5386
5387 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5388
5389         * texrow.[Ch] (increasePos): remove function
5390         * exporter.C (export): removed unused var and outdated comment
5391
5392 2003-05-23  Angus Leeming  <leeming@lyx.org>
5393
5394         * latexrunparams.h: rename fragile as moving_arg.
5395         * paragraph.C (simpleTeXOnePar): ditto.
5396         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5397
5398 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5399
5400         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5401         (createUndo): ditto
5402         (textUndoOrRedo): comment out a currently unused var.
5403
5404         * paragraph.h (NO_NEXT): enable NO_NEXT
5405
5406         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5407
5408         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5409
5410         * exporter.C (Export): adjust for removeAutoInsets removal.
5411
5412         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5413
5414         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5415
5416         * BufferView.[Ch] (removeAutoInsets): delete function
5417
5418 2003-05-22  Angus Leeming  <leeming@lyx.org>
5419
5420         * latexrunparams.h: add a free_spacing variable.
5421
5422         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5423         to pass moving_arg, as the data is stored in runparams.fragile.
5424
5425         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5426         to Inset::latexOptional or to simpleTeXOnePar.
5427
5428         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5429         free_spacing arg to Inset::latexOptional.
5430
5431         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5432         free_spacing arg.
5433
5434 2003-05-22  Angus Leeming  <leeming@lyx.org>
5435
5436         * latexrunparams.h: add fragile and use_babel variables.
5437
5438         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5439         * buffer.C (makeLaTeXFile): store this returned value in
5440         runparams.use_babel, thus passing it to the inset::latex methods.
5441
5442         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5443         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5444
5445         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5446         longer has a fragile arg, as it is stored in runparams.fragile.
5447
5448         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5449         moving_arg parameter as the data is stored in runparams.fragile.
5450
5451         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5452         a fragile parameter as the data is stored in runparams.fragile.
5453
5454 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5455
5456         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5457
5458 2003-05-22  Angus Leeming  <leeming@lyx.org>
5459
5460         * latexrunparams.h: add a 'bool nice' which defaults to false.
5461
5462         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5463         now encapsulated within runparams.
5464
5465         * bufferlist.C (updateIncludedTeXfiles):
5466         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5467
5468 2003-05-22  Angus Leeming  <leeming@lyx.org>
5469
5470         * latexrunparams.h: new file containing struct LatexRunParams.
5471         * Makefile.am: add new file.
5472
5473         * LaTeX.[Ch] (c-tor, run):
5474         * buffer.[Ch] (makeLaTeXFile):
5475         * bufferlist.[Ch] (updateIncludedTeXfiles):
5476         * converter.C (convert, scanLog):
5477         * converter.[Ch] (runLaTeX):
5478         * exporter.C (Export):
5479         * paragraph.[Ch] (simpleTeXOnePar):
5480         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5481         * paragraph_funcs.[Ch] (latexParagraphs):
5482         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5483         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5484         pass around a LatexRunParams parameter.
5485
5486 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5487
5488         * paragraph.[Ch]: remove unused constructor
5489
5490         * ParagraphList.C (erase): new function, taking two iterators
5491
5492 2003-05-22  André Pönitz  <poenitz@gmx.net>
5493
5494         * undo_funcs.C: remove duplicated code
5495
5496         * iterator.[Ch]: operator=
5497
5498 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5499
5500         * tabular.C (SetMultiColumn): ws changes
5501
5502         * rowpainter.C (paintFirst): get rid of a ->previous
5503
5504         * lyx_cb.C (getPossibleLabel): parlist simplification
5505
5506         * BufferView.C (ChangeInsets): simplify slightly.
5507
5508 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5509
5510         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5511         * lfuns.h: new LFUN_SPACE
5512         * lyxfunc.C: protected space has a new lfun
5513         * paragraph_funcs.C: read new space insets
5514         * text3.C:
5515         * factory.C: handle new space insets
5516
5517 2003-05-22  André Pönitz  <poenitz@gmx.net>
5518
5519         * BufferView.C:
5520         * BufferView_pimpl.C:
5521         * buffer.[Ch]:
5522         * lyxfunc.C:
5523         * undo_funcs.C: return a ParIterator from getParFromID.
5524
5525         * iterators.[Ch]: add two const's
5526
5527 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5528
5529         * toc.C (getTocList): adjust
5530
5531         * iterators.[Ch]: rework for parlist
5532
5533         * buffer.C (par_iterator_begin): adjust
5534         (par_iterator_end): adjust
5535
5536         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5537
5538         * BufferView.C (removeAutoInsets): adjust
5539         (ChangeInsets): adjust
5540
5541 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5542
5543         * text.C (top_y): fix bug 1110
5544
5545 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5546
5547         * errorlist.[Ch]: added
5548         * buffer.C:
5549         * BufferView.[Ch]:
5550         * BufferView_pimpl.C:
5551         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5552         instead
5553
5554 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5555
5556         * Makefile.am: ensure that lyx is relinked upon changes to the
5557         various "convenience" libs.
5558
5559 2003-05-20  Angus Leeming  <leeming@lyx.org>
5560
5561         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5562         files are compiled in alphabetical order again.
5563
5564         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5565
5566 2003-05-19  Angus Leeming  <leeming@lyx.org>
5567
5568         * gettext.[Ch]: remove "char const * _(char const *)".
5569
5570 2003-05-19  André Pönitz  <poenitz@gmx.net>
5571
5572         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5573
5574         * Makefile.am:
5575         * BufferView.C:
5576         * DepTable.h:
5577         * LaTeXFeatures.C:
5578         * buffer.C:
5579         * lyxfont.C:
5580         * lyxlex.h:
5581         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5582
5583 2003-05-19  André Pönitz  <poenitz@gmx.net>
5584
5585         * buffer.C:
5586         * lyxlayout.[Ch]:
5587         * lyxtextclass.[Ch]:
5588         * paragraph.C:
5589         * paragraph_funcs.[Ch]:
5590         * text2.C:
5591         * text3.C: more insetenv work
5592
5593 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5594
5595         * ParagraphParameters.C (params2string): small bug fixed
5596
5597 2003-05-16  André Pönitz  <poenitz@gmx.net>
5598
5599         * debug.C:
5600         * bufferview_funcs.C: patch from Kornel Benko to prevent
5601           crash when _(...) is called twice in a statement
5602
5603 2003-05-16  André Pönitz  <poenitz@gmx.net>
5604
5605         * BufferView.C:
5606         * lyxfunc.C:
5607         * text.C:
5608         * text2.C:
5609         * text3.C:
5610         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5611
5612 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5613
5614         * lyx_main.C (init): remove spurious static_cast
5615
5616 2003-05-14  André Pönitz  <poenitz@gmx.net>
5617
5618         * BufferView.C: fix format string
5619
5620 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5621
5622         * BufferView.[Ch] (insertErrors): removed
5623         * BufferView.[Ch] (showErrorList): added
5624         * buffer.C (runChkTeX):
5625         * converter.C (scanLog): call showErrorList instead of inserterrors
5626
5627 2003-05-13  André Pönitz  <poenitz@gmx.net>
5628
5629         * BufferView_pimpl.C:
5630         * buffer.C:
5631         * bufferview_func.C:
5632         * MenuBackend.C:
5633         * lyxfunc.C:
5634         * lyxrc.C:
5635         * tex-accent.C:
5636         * text3.C:
5637         * toc.C:
5638         * tabular_funcs.h: tostr() from its own header
5639
5640         * ParagraphParameters.C:
5641         * ToolbarBackend.C:
5642         * bufferparams.C:
5643         * format.C:
5644         * lyxlex_pimpl.C:
5645         * text3.C: STRCONV()
5646
5647 2003-05-12  André Pönitz  <poenitz@gmx.net>
5648
5649         * BufferView.C:
5650         * BufferView_pimpl.C:
5651         * CutAndPaste.C:
5652         * LaTeX.C:
5653         * LaTeXFeatures.C:
5654         * ParagraphParameters.C:
5655         * buffer.C:
5656         * bufferlist.C:
5657         * bufferparams.C:
5658         * bufferview_funcs.C:
5659         * converter.C:
5660         * counters.C:
5661         * debug.C:
5662         * exporter.C:
5663         * format.C:
5664         * importer.C:
5665         * lyx_cb.C:
5666         * lyx_main.C:
5667         * lyxfont.C:
5668         * lyxfunc.C:
5669         * lyxvc.C:
5670         * paragraph.C:
5671         * paragraph_funcs.C:
5672         * tabular.C:
5673         * tabular_funcs.C:
5674         * text2.C:
5675         * text3.C:  boost::format -> bformat  all over the place
5676
5677
5678 2003-05-09  André Pönitz  <poenitz@gmx.net>
5679
5680         * LColor.[Ch]: Pimpl the #include <map> away
5681
5682 2003-05-09  John Levon  <levon@movementarian.org>
5683
5684         * bufferlist.C: never remove emergency saves
5685
5686 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5687
5688         * Makefile.am: better lib building
5689
5690 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5693         instead.
5694         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5695         (simpleTeXSpecialChars): adjust
5696         (simpleTeXSpecialChars): adjust
5697         * paragraph.C (simpleTeXOnePar): adjust
5698         * buffer.C (makeLaTeXFile): adjust
5699
5700         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5701
5702         * text2.C (changeDepth): parlist cleanup
5703         (getColumnNearX): ditto
5704
5705         * rowpainter.C (getLabelFont): parlist cleanup
5706
5707         * bufferlist.C (newFile): parlist cleanup
5708
5709         * CutAndPaste.C (eraseSelection): parlist cleanup
5710
5711         * BufferView_pimpl.C (trackChanges): parlist cleanup
5712         (dispatch): ditto
5713
5714         * BufferView.C (lockInset): parlist cleanup.
5715         (ChangeInsets): ditto
5716
5717 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5718
5719         * CutAndPaste.h: Update file header.
5720
5721         * CutAndPaste.C: Update file header.
5722         Store the parts cut out of the Document in a limited_stack.
5723         (copySelection): adjust
5724         (pasteSelection): new function, takes the index in the limited stack.
5725         (nrOfParagraphs): adjust
5726         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5727         simplify error inset insertion.
5728         (checkPastePossible): adjust
5729
5730 2003-05-06  John Levon  <levon@movementarian.org>
5731
5732         * text2.C: don't cast wrap inset to float
5733
5734 2003-05-05  André Pönitz  <poenitz@gmx.net>
5735
5736         * iterator.C:
5737         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5738
5739         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5740           few naked Paragraph *.
5741
5742 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5743
5744         * bufferparams.C: Output warning if a document with missing
5745         TeX document class is loaded
5746         * exporter.C: Disable TeX exports if the document class is missing
5747         * lyxtextclass.C:
5748         * lyxtextclass.h:
5749         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5750         isTeXClassAvailable()
5751
5752 2003-05-03  John Levon  <levon@movementarian.org>
5753
5754         * BufferView.h:
5755         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5756         explicit cursor show/hide
5757
5758         * BufferView_pimpl.h:
5759         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5760         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5761
5762         * lyxfunc.C: hide cursor before dispatching.
5763
5764         * lyx_cb.C:
5765         * lyxfind.C:
5766         * text.C:
5767         * text3.C: remove explicit cursor hides
5768
5769 2003-05-02  André Pönitz  <poenitz@gmx.net>
5770
5771         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5772
5773         * undo_funcs.C:
5774         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5775           linked lists
5776
5777         * text2.C: tiny whitespace
5778
5779 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5780
5781         * undo_funcs.C: almost only ws changes.
5782
5783         * ParagraphList.C (splice): just return if pl is empty.
5784
5785 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * ParagraphList.C (splice): new function.
5788
5789         * CutAndPaste.C (pasteSelection): use it
5790
5791 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5792
5793         * CutAndPaste.C (pasteSelection): remove the last next and
5794         previous from this file.
5795
5796 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5797
5798         * CutAndPaste.C (pasteSelection): more clean up, user proper
5799         ParagraphList functions for pasteing.
5800
5801         * ParagraphList.C (insert): new function, three arg insert
5802
5803 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5804
5805         * ParagraphList.C (insert): new function, three arg insert
5806
5807         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5808         not on paragraphs.
5809
5810 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5811
5812         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5813
5814 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5815
5816         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5817
5818 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5819
5820         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5821         (copySelection): clean up a bit.
5822         (pasteSelection): use make_pair
5823
5824         * ParagraphList.C (ParagraphList): implement copy constructor
5825         (operator=): implement, base on copy constructor.
5826         (assign): new func
5827
5828         * paragraph.C (erase): return a bool
5829
5830         * paragraph_pimpl.C (erasePos): remove function, move contents...
5831         (erase): ... here. Return a bool.
5832         (erase): call erase instead of erasePos.
5833
5834 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5835
5836         * ParagraphList.h: define PitPosPair
5837         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5838         ParagraphList, fix a bug on pasting multiple pars
5839         * text2.C: change interface to C&P
5840
5841 2003-04-30  André Pönitz  <poenitz@gmx.net>
5842
5843         * undo_func.C: revert part of yesterday's patch 2
5844
5845 2003-04-30  John Levon  <levon@movementarian.org>
5846
5847         * LColor.C: s/tabular/table/
5848
5849 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5850
5851         * text3.C (dispatch): do not convert iterator -> pointer
5852         * undo_funcs.C (setCursorParUndo): ditto
5853         * text_funcs.C (transposeChars): ditto
5854
5855         * text2.C (setLayout): ws changes only
5856
5857         * text.C (breakParagraph): do not convert iterator -> pointer
5858         (insertChar): ditto
5859         (acceptChange): ditto
5860         (rejectChange): ditto
5861         (changeCase): ditto
5862         (Delete): ditto
5863         (backspace): ditto
5864
5865         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5866         pointer
5867
5868 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5869
5870         * text3.C (gotoInset): YABG (yet another bad getChar)
5871
5872 2003-04-29  André Pönitz  <poenitz@gmx.net>
5873
5874         * paragraph.h: make operator= private unimplemented as long as
5875           it is unusable
5876
5877         * ParagraphList.C: whitespace
5878
5879         * paragraph.[Ch]:
5880         * paragraph_pimpl.[Ch]:
5881         * paragraph_funcs.C:
5882         * CutAndPaste.C:
5883         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5884
5885         * text2.C:
5886           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5887
5888 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5889
5890         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5891         * paragraph.[Ch] (erase):
5892         * paragraph_pimpl.[Ch] (erase): change return type and value
5893         * text2.C (cutSelection): some rework
5894
5895 2003-04-28  John Levon  <levon@movementarian.org>
5896
5897         * bufferlist.C: changes for unsaved changes dialog
5898
5899 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5900
5901         * bufferlist.C (newFile): set language (messages_) for new
5902         documents also.
5903
5904         * buffer.C (readFile): ws changes only.
5905
5906 2003-04-28  André Pönitz  <poenitz@gmx.net>
5907
5908         * undo_funcs.C:
5909         * lyxfunc.C:
5910         * buffer.[Ch]:
5911         * BufferView_pimpl.C:
5912         * BufferView.C: getParFromID related ParagraphList::iterator changes
5913
5914 2003-04-28  André Pönitz  <poenitz@gmx.net>
5915
5916         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5917           Changes
5918
5919 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5920
5921         * messages.C: remove one more localedir class variable.
5922
5923 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5924
5925         * messages.C (getLocaleDir): singleton generation function
5926         (Pimpl): use it.
5927         (Messages): add a default constructor.
5928
5929         * main.C (main): do not setup localedir here, do not call
5930         gettext_init.
5931
5932         * gettext.C (_): use it.
5933         (gettext_init): delete funciton
5934
5935 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5936
5937         * gettext.C (getLyXMessages): new singleton generating function.
5938
5939         * buffer.C (updateDocLang): adjust
5940
5941         * Makefile.am (messages.o): add target
5942         (main.o): remove target
5943
5944 2003-04-27  John Levon  <levon@movementarian.org>
5945
5946         * bufferlist.C:
5947         * lyx_cb.C:
5948         * lyxfunc.C:
5949         * lyxvc.C: specify cancel button in Alert::prompt
5950
5951 2003-04-26  John Levon  <levon@movementarian.org>
5952
5953         * text3.C:
5954         * lyxfunc.C:
5955         * lfuns.h:
5956         * LyXAction.C: add LFUN_INSET_SETTINGS
5957
5958         * lyxfunc.C: don't enable tabular-feature when there's
5959         just any locking inset
5960
5961 2003-04-26  John Levon  <levon@movementarian.org>
5962
5963         * bufferlist.C: re-add Cancel to buffer close question
5964
5965         * lyxfunc.C: fix import UI a bit
5966
5967 2003-04-25  John Levon  <levon@movementarian.org>
5968
5969         * gettext.C: remove the broken asserts for now
5970
5971 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * messages.C: make case where setlocale cannot comply work better.
5974
5975         * buffer.C (updateDocLang): new function
5976         (changeLanguage): use it
5977         (readFile): use it
5978
5979         * text2.C (setCounter): use B_ a bit.
5980
5981         * lyxlayout.C (Read): be sure to trim the label strings.
5982
5983         * messages.C (Messages): fix typo in comment
5984
5985         * buffer.C (readFile): set message_ after file is loaded.
5986         (makeDocBookFile): remove double return
5987         (changeLanguage): reset message_ upon language change.
5988         (B_): new func, use this to get translated buffer strings.
5989
5990         * main.C: add myself and Jean Marc as authors.
5991
5992 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5993
5994         * messages.[hC]: pimplify Messages, and three different pimpls to be
5995         used in different circumstances.
5996
5997         * gettext.[Ch]: change for use with new message code.
5998
5999 2003-04-24 André Pönitz <poenitz@gmx.net>
6000
6001         * factory.C: support for eqref
6002
6003 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6004
6005         * messages.[Ch]: add missing char
6006
6007         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6008
6009         * messages.[Ch]: New files
6010
6011 2003-04-18  John Levon  <levon@movementarian.org>
6012
6013         * BufferView.h:
6014         * BufferView.C:
6015         * BufferView_pimpl.C:
6016         * lfuns.h:
6017         * LyXAction.C:
6018         * lyxtext.h:
6019         * text2.C: remove layout-copy/paste (bug 778)
6020
6021 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6022
6023         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6024
6025 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6026
6027         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6028         if they succeed. Act accordingly.
6029
6030 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6031
6032         * text2.C (setCharFont): adjust
6033         (setCounter): adjust
6034         (insertStringAsLines): adjust
6035
6036         * text.C (leftMargin): adjust
6037         (setHeightOfRow): adjust
6038
6039         * rowpainter.C (paintFirst): adjust
6040         (paintLast): adjust
6041
6042         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6043         (outerHook): ditto
6044         (isFirstInSequence): ditto
6045         (getEndLabel): ditto
6046         (outerFont): adjust
6047
6048         * paragraph.C (getParLanguage): comment out some hard stuff.
6049
6050         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6051         (sgmlError): ditto
6052         (simpleDocBookOnePar): ditto
6053         (makeDocBookFile): use ParagraphList::iterator
6054
6055         * CutAndPaste.C (pasteSelection): adjust
6056
6057 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6058
6059         * text2.C (getFont): adjust
6060         (getLayoutFont): adjust
6061         (getLabelFont): adjust
6062
6063         * paragraph_funcs.C (TeXOnePar): adjust
6064
6065         * buffer.C (simpleLinuxDocOnePar): adjust
6066         (simpleDocBookOnePar): adjust
6067
6068         * CutAndPaste.C (pasteSelection): adjust
6069
6070         * BufferView.C (getEncoding): adjust
6071
6072         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6073
6074 2003-04-16  John Levon  <levon@movementarian.org>
6075
6076         * lyxfind.C: use parlist stuff for search/changes
6077
6078 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6079
6080         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6081
6082         * text2.C (deleteEmptyParagraphMechanism): adjust
6083
6084         * text2.[Ch] (ownerParagraph): delete func (both of them
6085
6086 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6087
6088         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6089
6090 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6091
6092         * ParagraphList.C: prepare for NO_NEXT
6093
6094 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6095
6096         * text2.C (getFont): adjust
6097         (getLayoutFont): adjust
6098         (getLabelFont): adjust
6099
6100         * paragraph.C (getFont): adjust
6101         (getLabelFont): adjust
6102         (getLayoutFont): adjust
6103
6104         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6105
6106 2003-04-15  John Levon  <levon@movementarian.org>
6107
6108         From Angus Leeming
6109
6110         * lyx_main.C: handle Include in .ui files
6111
6112 2003-04-15  John Levon  <levon@movementarian.org>
6113
6114         * MenuBackend.C: make the doc files length shorter
6115
6116         * ToolbarBackend.h:
6117         * ToolbarBackend.C: handle toolbar placement flags,
6118         Minibuffer
6119
6120 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6123         adjust
6124
6125         * paragraph_funcs.C (TeXOnePar): adjust
6126
6127         * paragraph.C (getLabelFont): add outerfont arg, adjust
6128         (getLayoutFont): ditto
6129         (simpleTeXOnePar): adjust
6130
6131         * paragraph_pimpl.C (realizeFont): delete func
6132
6133 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6134
6135         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6136         row argument, constify cur argument.
6137
6138 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6139
6140         * text2.C (getFont): adjust
6141         (getLayoutFont): adjust
6142         (getLabelFont): adjust
6143
6144         * paragraph_funcs.C (TeXOnePar): adjust
6145         (outerFont): new func...
6146         (realizeFont): ...moved out from here, changed this to facilitate
6147         transition
6148
6149         * paragraph.C (getFont): take outerfont as arg, adjust
6150         (simpleTeXOnePar): add outerfont arg, adjust
6151
6152         * buffer.C (simpleLinuxDocOnePar): adjust
6153         (simpleDocBookOnePar): adjust
6154
6155         * CutAndPaste.C (pasteSelection): adjust
6156
6157         * BufferView.C (getEncoding): adjust
6158
6159 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6160
6161         * text2.C (setCharFont): adjust
6162         (setCounter): adjust
6163
6164         * text.C (leftMargin): adjust
6165         (setHeightOfRow): adjust
6166
6167         * rowpainter.C (paintFirst): adjust
6168         (paintLast): adjust
6169
6170         * paragraph_pimpl.C (realizeFont): adjust
6171
6172         * paragraph.C (isFirstInSequence): move from here...
6173         * paragraph_funcs.C (isFirstInSequence): ...to here
6174
6175         * paragraph.C (outerHook): move from here...
6176         * paragraph_funcs.C (outerHook): ...to here
6177
6178         * paragraph.C (depthHook): move from here...
6179         * paragraph_funcs.C (depthHook): ...to here
6180
6181         * paragraph.C (getEndLabel): move from here...
6182         * paragraph_funcs.C (getEndLabel): ...to here
6183
6184         * text2.C (realizeFont): move from here...
6185         * paragraph_funcs.C (realizeFont): ...to here
6186
6187 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6188
6189         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6190
6191 2003-04-14  Angus Leeming  <leeming@lyx.org>
6192
6193         * LColor.[Ch]: scrap LColor mathcursor.
6194
6195 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6196
6197         * lyxlex.[Ch] (text): delete function
6198         * trans.C (Load): adjust
6199         * paragraph_funcs.C (readParToken): adjust
6200
6201 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6202
6203         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6204         vector<char> instead of a char[].
6205
6206         * lyxlex_pimpl.C (getString): adjust
6207         (next): adjust
6208         (lex): use getString
6209         (eatLine): adjust
6210         (nextToken): adjust
6211
6212         * lyxlex.C (text): use pimpl_->getString()
6213         (getBool): ditto
6214         (findToken): ditto
6215
6216 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6217
6218         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6219         (makeFontEntriesLayoutSpecific): temp var for par.size()
6220         (setLayout): temp var for ownerParagraphs().end()
6221         (fullRebreak): temp var for rows().end()
6222         (selectionAsString): temp var for boost::next(startpit), realize
6223         that the while really is a regular for loop.
6224         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6225         setCursor in one place.
6226         (setParagraph): temp vr for ownerParagraphs().end()
6227         (updateCounters): make the while loop a for loop
6228         (cutSelection): temp var for ownerParagraphs().end()
6229         (updateInset): make the do {} while() a regular for loop
6230         (getCursorX): use temp vars
6231         (setCurrentFont): use temp vars
6232         (getColumnNearX): use temp vars
6233
6234 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6235
6236         * text.C (transformChar): use temp var for getChar
6237         (computeBidiTables): use temp var for row->par()
6238         (fill): move temp vars for row->par() and pit->layout() earlier in
6239         the function.
6240         (labelFill): use temp var for row->par()
6241         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6242         asc and desc, realize that pit never changes and that firstpit is
6243         just a duplicate and not needed. Exchange rit->par() with pit in a
6244         lot of places.
6245         (breakAgain): use a temp var for boost::next(rit)
6246         (breakAgainOneRow): ditto
6247         (breakParagraph): use a temp var for rows().begin()
6248         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6249         (cursorRightOneWord): use temp var for cursor.par() and
6250         cursor.pos(), remove usage of tmpcursor.
6251         (cursorLeftOneWord): use temp var for cursor.par() and
6252         cursor.pos() only set cur at end of function.
6253
6254 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6255
6256         * text.C, text2.C: exchange all usage of Paragraph::next with
6257         boost::next(ParagraphList::iterator)
6258
6259         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6260
6261         * text2.C (cursorTop): simplify implementation
6262         (cursorBottom): ditto
6263         (setParagraph): use ParagraphList::iterator
6264         (setCurrentFont): adjust
6265         (getColumnNearX): adjust
6266         (cursorRight): adjust
6267         (cursorLeft): remove usage of Paragraph::previous
6268         (cursorUpParagraph): ditto
6269         (deleteEmptyParagraphMechanism): slight cleanup
6270
6271         * text.C (isBoundary): take a Paragraph const & instead of a
6272         pointer as arg.
6273         (addressBreakPoint): ditto
6274         (leftMargin): remove usage of Paragraph::previous.
6275         (setHeightOfRow): ditto
6276         (cursorLeftOneWord): ditto
6277         (selectNextWordToSpellcheck): ditto
6278         (Delete): ditto
6279         (backspace): ditto
6280         (breakParagraph): remove one usage of Paragraph::next
6281         (redoParagraph): ditto
6282         (acceptChange): ditto
6283         (insertChar): adjust
6284         (rowBreakPoint): adjust
6285
6286         * bufferview_funcs.C (toggleAndShow): adjust
6287
6288 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6289
6290         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6291         methods to access it.
6292         * lyxtext.h:
6293         * text.C: Added updateRowPositions to compute all row positions.
6294         Make top_y and getRowNearY() to use the cached y position
6295
6296 2003-04-11  John Levon  <levon@movementarian.org>
6297
6298         * text.C (rowBreakPoint): reintroduce the labelEnd
6299         checks, code copied from the row fill stuff. Deep voodoo.
6300
6301         * text.C (fill): add a comment and debugging for the
6302         next poor soul.
6303
6304 2003-04-11  John Levon  <levon@movementarian.org>
6305
6306         * text.C: make sure fullrow insets get wrapped to the next line,
6307         even when they're in a manual label
6308
6309 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6310
6311         * text2.C (insertParagraph): make it take ParagraphList::iterator
6312         as arg.
6313         (setLayout): make it return ParagraphList::iterator
6314         (redoParagraphs): ditto
6315         (setCounter): ditto
6316         (checkParagraph): ditto
6317
6318         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6319
6320         * text2.C: adjust several funcs.
6321         (realizeFont): take a ParagraphList::iterator as arg.
6322         (getLayoutFont): ditto
6323         (getLabelFont): ditto
6324         (setCharFont): ditto
6325
6326         * text.C: adjust several funcs.
6327
6328 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6329
6330         * text.C (selectNextWordToSpellcheck): don't accidentally
6331         skip insets
6332
6333 2003-04-10  John Levon  <levon@movementarian.org>
6334
6335         * ToolbarBackend.C (getIcon): special handling for
6336         LFUN_MATH_DELIM
6337
6338 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6339
6340         * text2.C (cursorRight): a getChar assert fixed
6341
6342 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6343
6344         * text2.C (getFont): change to take a ParagraphList::iterator
6345         instead of Paragraph*
6346         Adjust several functions.
6347
6348         * text.C (transformChar): change to take a ParagraphList::iterator
6349         instead of Paragraph*
6350         (singleWidth): ditto
6351         Adjust several functions.
6352
6353         * rowpainter.C: adjust several functions
6354         * rowpainter.h:store a ParagraphList::iterator and not a
6355         Paragraph&.
6356
6357
6358 2003-04-09  John Levon  <levon@movementarian.org>
6359
6360         * lyxfunc.C:
6361         * lfuns.h:
6362         * LyXAction.h:
6363         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6364         and the "help" bits as well
6365
6366 2003-04-09  John Levon  <levon@movementarian.org>
6367
6368         * ToolbarBackend.h:
6369         * ToolbarBackend.C: allow multiple toolbars
6370
6371 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6372
6373         * undo_funcs.C (setCursorParUndo): adjust
6374
6375         * text_funcs.C (transposeChars): adjust
6376
6377         * text3.C (gotoNextInset): adjust
6378         (dispatch): adjust
6379
6380         * text2.C (setLayout): adjust
6381         (changeDepth): adjust
6382         (setFont): adjust
6383         (redoParagraphs): adjust
6384         (selectionAsString): adjust
6385         (setParagraph): adjust
6386         (insertInset): adjust
6387         (cutSelection): adjust
6388         (copySelection): adjust
6389         (pasteSelection): adjust
6390         (insertStringAsLines): adjust
6391         (updateInset): adjust
6392         (setCursor): change to take a ParagraphList::iterator parameter
6393         (setCursorIntern): change to take a ParagraphList::iterator parameter
6394         (setCurrentFont): adjust
6395         (cursorLeft): adjust
6396         (cursorRight): adjust
6397         (deleteEmptyParagraphMechanism): adjust
6398
6399         * text.C (breakParagraph): adjust
6400         (insertChar): adjust
6401         (acceptChange): adjust
6402         (rejectChange): adjust
6403         (selectNextWordToSpellcheck): adjust
6404         (changeCase): adjust
6405         (Delete): adjust
6406         (backspace): adjust
6407
6408         * lyxfind.C (SearchForward): adjust
6409         (SearchBackward): adjust
6410         (nextChange): adjust
6411
6412         * lyxcursor.C (par): adjust
6413
6414         * lyxcursor.h: store a ParagraphList::iterator instead of a
6415         Paragraph*
6416
6417         * lyx_cb.C (getPossibleLabel): adjust
6418
6419         * bufferview_funcs.C (toggleAndShow): adjust
6420
6421         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6422         (dispatch): adjust
6423
6424         * BufferView.C (removeAutoInsets): adjust
6425         (lockedInsetStoreUndo): adjust
6426
6427 2003-04-09  John Levon  <levon@movementarian.org>
6428
6429         * ToolbarBackend.C: try icon without argument
6430         if with argument fails
6431
6432 2003-04-08  John Levon  <levon@movementarian.org>
6433
6434         * ToolbarBackend.h:
6435         * ToolbarBackend.C: add getIcon(), handle tooltip,
6436         and change from "Icon" to "Item".
6437
6438 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6439
6440         * BufferView.C (lockInset): another bad getchar crunched
6441
6442 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6443
6444         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6445         again)
6446
6447 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6448
6449         * lyxfind.C (searchForward, searchBackwards): bug 782
6450
6451 2003-04-07  John Levon  <levon@movementarian.org>
6452
6453         * paragraph.C: remove dead comment
6454
6455         * text.C: remove troublesome depth-fiddling code
6456         in leftMargin() and rightMargin() (bug 1017)
6457
6458         * text.C: fix breaking of rows in nested lists
6459         (bug 1004)
6460
6461         * text2.C (updateCounters): fix up depth values
6462         (bug 1013)
6463
6464 2003-04-07  John Levon  <levon@movementarian.org>
6465
6466         * BufferView_pimpl.C: clear message when doc finishes resizing,
6467         and after a mouse event
6468
6469         * lyxfunc.C: clear message after exiting inset
6470
6471 2003-04-07  John Levon  <levon@movementarian.org>
6472
6473         * bufferview_funcs.C: show math status not outside
6474         status in the statusbar
6475
6476 2003-04-07  John Levon  <levon@movementarian.org>
6477
6478         * lyxfunc.C: note status changed after a depth change
6479
6480 2003-04-04  Angus Leeming  <leeming@lyx.org>
6481
6482         * LaTeX.h: move AuxInfo operator==, != out of line.
6483         Remove LaTeX virtual destructor; nothing derives from it.
6484         Move operator()() out of public area and rename it startscript().
6485         Change protected for private.
6486
6487 2003-04-04  Angus Leeming  <leeming@lyx.org>
6488
6489         * lyxfunc.C:
6490         * text2.C: remove unneeded #includes.
6491
6492 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6493
6494         * text2.C (dEPM): fix the heigth of the next row
6495
6496 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6497
6498         * text.C: squashed an invalid getChar requester + some ws changes
6499
6500 2003-04-03  John Levon  <levon@movementarian.org>
6501
6502         * bufferview_funcs.h:
6503         * bufferview_funcs.C:
6504         * lyxfunc.C:
6505         * lyxtext.h:
6506         * text2.C: make getStatus work for the env depth lfuns
6507
6508 2003-04-03  John Levon  <levon@movementarian.org>
6509
6510         * bufferview_funcs.h:
6511         * bufferview_funcs.C:
6512         * lyxfunc.C:
6513         * lyxtext.h:
6514         * text2.C: parlistize decDepth(), by merging it with incDepth()
6515
6516 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6517
6518         * lyxrow.h: store a ParagraphList::iterator instead of a
6519         Paragraph* and adjust other class functions to suit.
6520
6521         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6522         above.
6523
6524 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6525
6526         * text2.C (setCursor): do not anchor to cursor row for the time being
6527
6528 2003-04-02  John Levon  <levon@movementarian.org>
6529
6530         * LyXAction.C:
6531         * lfuns.h:
6532         * lyx_main.C:
6533         * lyxtext.h:
6534         * text.C:
6535         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6536
6537 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * paragraph.h: make ParagraphList and ParagraphList::iterator
6540         friends of Paragraph.
6541
6542         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6543
6544         * ParagraphList.C: Use the private next_ and previous_ from
6545         Paragraph.
6546
6547 2003-04-01  John Levon  <levon@movementarian.org>
6548
6549         * ToolbarBackend.h:
6550         * ToolbarBackend.C:
6551         * Makefile.am: rename, remove defaults gunk
6552
6553         * MenuBackend.h:
6554         * MenuBackend.C: remove defaults gunk
6555
6556         * Languages.h:
6557         * Languages.C: remove defaults gunk
6558
6559         * lyx_main.h:
6560         * lyx_main.C: error out if files couldn't be found.
6561
6562 2003-04-02  John Levon  <levon@movementarian.org>
6563
6564         * text2.C: make incDepth() use parlist
6565
6566 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6567
6568         * undo_funcs.C (firstUndoParagraph): adjust
6569
6570         * text3.C (gotoInset): adjust
6571         (dispatch): adjust, and rewrite loop.
6572
6573         * text2.C (init): adjust, and rewrite loop.
6574         (redoParagraphs): adjust
6575         (updateInset): adjust, and rewrite loop.
6576         (deleteEmptyParagraphMechanism): adjust
6577
6578         * tabular.C (LyXTabular): adjust
6579         (SetMultiColumn): adjust
6580         (TeXRow): adjust
6581
6582         * lyxtext.[Ch] (ownerParagraph): delete function
6583         (ownerParagraphs): new function returns a ParagraphList.
6584
6585         * BufferView.C (removeAutoInsets): adjust
6586         (insertErrors): adjust
6587         (setCursorFromRow): adjust
6588
6589 2003-04-01  Angus Leeming  <leeming@lyx.org>
6590
6591         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6592         in the frontends.
6593
6594 2003-04-02  John Levon  <levon@movementarian.org>
6595
6596         * lyxtext.h:
6597         * text.C:
6598         * Makefile.am:
6599         * text_funcs.h:
6600         * text_funcs.C: make transposeChars a free function
6601
6602         * lyxrow_funcs.C: remove wrong comment
6603
6604 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6605
6606         * lyxtext.h: adjust
6607         * rowpainter.C: adjust
6608         * text.C: adjust
6609         * text2.C: adjust
6610         * text3.C: adjust
6611
6612         * lyxrow_funcs. [Ch]: new files
6613
6614         * lyxrow.[Ch]: remove next and previous pointers
6615         (next,previous): remove accessor functions
6616         (isParEnd): move to lyxrow_funcs
6617         (lastPos): move to lyxrow_funcs
6618         (nextRowIsAllInset): move to lyxrow_funcs
6619         (lastPrintablePos): move to lyxrow_funcs
6620         (numberOfSeparators): move to lyxrow_funcs
6621         (numberOfHfills): move to lyxrow_funcs
6622         (numberOfLabelHfills): move to lyxrow_funcs
6623         (hfillExpansion): move to lyxrow_funcs
6624
6625         * lyxfunc.C: adjust
6626
6627         * bufferview_funcs.C (toggleAndShow): adjust
6628
6629         * RowList.h: Remove class RowList from file leave just a
6630         std::list<Row>.
6631
6632         * RowList.C: delete file
6633
6634         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6635         and lyxrow_funcs.h
6636
6637 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6638
6639         * text3.C (cursorPrevious): adjust
6640         (cursorNext): adjust
6641         (dispatch): adjust
6642
6643         * text2.C (redoHeightOfParagraph): adjust
6644         (redoDrawingOfParagraph): adjust
6645         (setCursor): adjust
6646
6647         * text.C (breakParagraph): adjust
6648         (insertChar): adjust
6649         (backspace): adjust
6650
6651         * rowpainter.C (RowPainter): adjust
6652         (leftMargin): simplify and adjust
6653         (most rowpainter functions): adjust.
6654
6655         * rowpainter.h: store the row as RowList::iterator not as Row*
6656
6657         * lyxcursor.C (row): taka RowList::iterator as arg
6658         (irow): ditto
6659
6660         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6661         of Row*.
6662
6663 2003-04-01  Angus Leeming  <leeming@lyx.org>
6664
6665         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6666         stuff like bool Bool.
6667
6668 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6669
6670         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6671         rewrite a loop
6672
6673 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6674
6675         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6676         RowList::iterator.
6677
6678         * lyxtext.h (rows): drop one version and leve a const variant that
6679         returns a RowList::iterator.
6680
6681 2003-03-31  Angus Leeming  <leeming@lyx.org>
6682
6683         * text.C (fill): ensure that the signature is the same as that in the
6684         header file.
6685
6686 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * text2.C (redoParagraphs): adjust
6689         (updateCounters): adjust
6690         (checkParagraph): adjust
6691         (getColumnNearX): adjust and reformat a bit.
6692
6693         * text.C (top_y): adjust
6694         (workWidth): adjust
6695         (leftMargin): adjust
6696         (prepareToPrint): adjust
6697         (getRow): adjust
6698         (getRowNearY): adjust
6699
6700         * lyxtext.h: make rowlist_ mutable.
6701
6702         * RowList.h: add const_iterator
6703         * RowList.C: adjust for RowList::const_iterator.
6704
6705         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6706         adjust.
6707
6708 2003-03-31  John Levon  <levon@movementarian.org>
6709
6710         * lyxrc.h:
6711         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6712
6713         * lyx_main.C: set default fonts from using lyx_gui funcs
6714
6715         * exporter.C: pdf_mode moved from lyxrc
6716
6717         * lyx_cb.C:
6718         * lyxfunc.C: changes from above
6719
6720 2003-03-31  John Levon  <levon@movementarian.org>
6721
6722         * lyx_main.C: fix to the last fix
6723
6724 2003-03-31  John Levon  <levon@movementarian.org>
6725
6726         * bufferlist.C: "Load original" -> "Load Original"
6727
6728         * converter.C:
6729         * exporter.C:
6730         * importer.C:
6731         * lyx_main.C:
6732         * format.C: more Alert cleanups
6733
6734 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6735
6736         * text2.C (removeParagraph): make it take a RowList::iterator as
6737         arg, adjust.
6738         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6739         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6740
6741         * text.C (anchor_row): make it take a RowList::iterator as arg,
6742         adjust.
6743         (computeBidiTables): make it take a const reference to Row instead
6744         of Row pointer, adjust.
6745         (leftMargin): make it take a RowList::iterator as arg, adjust.
6746         (rowBreakPoint): adjust
6747         (breakAgainOneRow): make it take a RowList::iterator as arg,
6748         adjust.
6749         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6750
6751         * bufferview_funcs.C (toggleAndShow): adjust
6752
6753 2003-03-30  John Levon  <levon@movementarian.org>
6754
6755         * Makefile.am:
6756         * BoostFormat.h:
6757         * boost-inst.C: moved to support
6758
6759         * several files: changes as a result
6760
6761 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6762
6763         * text2.C (LyXText): adjust.
6764         (init): adjust
6765         (removeRow): make it take a RowList::iterator as arg, adjust.
6766         (fullRebreak): adjust
6767         (deleteEmptyParagraphMechanism): adjust
6768         (clearPaint): adjust
6769         (postPaint): adjust
6770
6771         * text.C (top_y): adjust
6772         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6773         (breakAgain): make it take a RowList::iterator as arg, adjust.
6774         (breakParagraph): adjust
6775         (insertChar): adjust
6776         (backspace): adjust
6777
6778         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6779         need_break_row, and refresh_row.
6780
6781         * text3.C (dispatch): adjust
6782
6783         * text2.C (checkParagraph): adjust
6784         (setCursor): adjust
6785         (setCursorFromCoordinates): adjust
6786
6787         * text.C (top_y): adjust
6788         (workWidth): adjust
6789         (getRow): make it return a RowList::iterator, adjust
6790         (getRowNearY): make it return a RowList::iterator, adjust
6791
6792         * text2.C (init): adjust
6793         (insertRow): remove function
6794         (insertParagraph): adjust
6795         (redoParagraphs): adjust
6796         (fullRebreak): adjust
6797         (updateCounters): adjust
6798
6799         * text.C (top_y): rewrite to use RowList iterators.
6800         (top_y): adjust
6801         (setHeightOfRow): rewrite to sue RowList iterators.
6802         (appendParagraph): adjust
6803         (breakAgain): adjust
6804         (breakAgainOneRow): adjust
6805         (breakParagraph): adjust
6806         (getRow): adjust
6807         (getRowNearY): adjust, and remove commented code.
6808
6809         * lyxtext.h (firstRow): delete function
6810         (lastRow): delete function
6811         (rows): new function (const and non-const versions.)
6812         (insertRow): delete function
6813
6814         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6815
6816 2003-03-29  John Levon  <levon@movementarian.org>
6817
6818         * BufferView_pimpl.C: always update scrollbar top
6819         because pasting text when we're anchored could mean we
6820         miss an update altogether
6821
6822 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6823
6824         * text2.C (init): use rowlist_.end() and not 0.
6825         (insertRow): change to take a RowList::iterator as arg, adjust
6826         for this.
6827         (insertParagraph): change to take a RowList::iterator as arg,
6828         adjust for this.
6829         (redoParagraphs): remove some debug msgs.
6830
6831         * text.C (appendParagraph): change to take a RowList::iterator
6832         arg, adjust for this.
6833         (breakAgain): add an assert
6834         (breakAgainOneRow): ditto
6835
6836 2003-03-29  John Levon  <levon@movementarian.org>
6837
6838         * text2.C: do not clear selection after inc/decDepth
6839         (bug 550)
6840
6841 2003-03-29  John Levon  <levon@movementarian.org>
6842
6843         * BufferView.C:
6844         * buffer.C: fix broken strerrors according to Lars
6845
6846 2003-03-29  John Levon  <levon@movementarian.org>
6847
6848         * converters.C: more Alert cleanups
6849
6850 2003-03-29  John Levon  <levon@movementarian.org>
6851
6852         * bufferview_funcs.C: remove pointless Alert
6853
6854         * buffer.C: fix confusing error message when
6855         a template is chmoded 000
6856
6857 2003-03-29  John Levon  <levon@movementarian.org>
6858
6859         * BufferView.C:
6860         * BufferView.h:
6861         * BufferView_pimpl.C: Alert fixes
6862
6863         * Makefile.am:
6864         * tabular.C:
6865         * tabular-old.C: remove unused table compat reading
6866
6867 2003-03-29  John Levon  <levon@movementarian.org>
6868
6869         * BufferView.C:
6870         * buffer.C:
6871         * lyx_cb.h:
6872         * lyx_cb.C: more Alert cleanups
6873
6874         * lyxfunc.C: don't allow chktex if not latex document
6875
6876 2003-03-29  John Levon  <levon@movementarian.org>
6877
6878         * lyx_cb.C:
6879         * BufferView.C:
6880         * buffer.C: warnings pushed down from support/,
6881         kill err_alert
6882
6883 2003-03-29  John Levon  <levon@movementarian.org>
6884
6885         * lyxfunc.C: safety check for C-r (revert)
6886
6887 2003-03-29  John Levon  <levon@movementarian.org>
6888
6889         * bufferlist.h:
6890         * bufferlist.C: several UI fixes using Alert::prompt.
6891         Fix the pointless looping quit code. Fix stupid revert
6892         behaviour (bug 938)
6893
6894         * lyxvc.h:
6895         * lyxvc.C:
6896         * lyx_cb.C: use Alert::prompt
6897
6898         * lyx_main.C: remove a silly question
6899
6900         * lyxfunc.C: remove a couple of silly questions,
6901         use Alert::prompt
6902
6903 2003-03-28  John Levon  <levon@movementarian.org>
6904
6905         * text2.C: fix bug 974 (End on empty par)
6906
6907 2003-03-28  John Levon  <levon@movementarian.org>
6908
6909         * BufferView_pimpl.C:
6910         * LyXAction.C:
6911         * lfuns.h: remove do-nothing math greek lfuns
6912
6913 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6914
6915         * lyxgluelength.h (isValidGlueLength): add default arg on
6916         parameter 2. Remove default arg from friend in class.
6917
6918         * lyxlength.h (isValidLength): add default arg on parameter 2.
6919         Remove default arg from friend in class.
6920
6921         * text2.C (LyXText): adjust, initialize refresh_row.
6922         (init): adjust
6923         (removeRow): adjust
6924         (insertRow): adjust
6925         (insertParagraph): adjst
6926         (redoParagraphs): adjust
6927         (fullRebreak): adjust
6928         (updateCounters): adjust
6929         (deleteEmptyParagraphMechanism): first attempt at fixing a
6930         crashing bug.
6931
6932         * text.C (top_y): adjust
6933         (setHeightOfRow): adjust
6934         (getRow): adjust
6935         (getRowNearY): adjust
6936
6937         * lyxtext.h: include RowList.h
6938         (~LyXText): not needed anymore, deleted.
6939         (firstRow): modify for RowList
6940         (lastRow): new function
6941         Delete firstrow and lastrow class variables, add a Rowlist
6942         rowlist_ class variable.
6943
6944         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6945         paragraph is empty.
6946
6947         * RowList.C (insert): fix case where it == begin().
6948
6949 2003-03-26  Angus Leeming  <leeming@lyx.org>
6950
6951         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6952         the thesaurus dialog.
6953
6954 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6955
6956         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6957
6958         * RowList.[Ch]: new files
6959
6960         * ParagraphList.C (erase): handle the case where it == begin
6961         correctly.
6962
6963 2003-03-25  John Levon  <levon@movementarian.org>
6964
6965         * Makefile.am:
6966         * aspell_local.h:
6967         * aspell.C: add new aspell support
6968
6969         * lyxrc.h:
6970         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6971         have it accessible.
6972
6973 2003-03-25  Angus Leeming  <leeming@lyx.org>
6974
6975         * lfuns.h:
6976         * LyXAction.C (init): new LFUN_INSET_INSERT.
6977
6978         * BufferView_pimpl.C (dispatch): split out part of the
6979         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6980
6981         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6982         LFUN_INSET_APPLY.
6983
6984 2003-03-25  Angus Leeming  <leeming@lyx.org>
6985
6986         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6987
6988 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6989
6990         * text2.C:
6991         * text3.C: remove useless row->height(0)
6992
6993 2003-03-25  John Levon  <levon@movementarian.org>
6994
6995         * lyxtext.h:
6996         * text2.C:
6997         * text3.C: rename the refreshing stuff to better names
6998
6999 2003-03-24  John Levon  <levon@movementarian.org>
7000
7001         * BufferView_pimpl.h:
7002         * BufferView_pimpl.C: update layout choice on a mouse
7003         press/release
7004
7005 2003-03-23  John Levon  <levon@movementarian.org>
7006
7007         * Makefile.am: fix commandtags.h reference
7008
7009 2003-03-22  John Levon  <levon@movementarian.org>
7010
7011         * BufferView_pimpl.C:
7012         * lyxtext.h:
7013         * rowpainter.C:
7014         * rowpainter.h:
7015         * text.C:
7016         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7017
7018 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7019
7020         * lyxtext.h:
7021         * text.C: take the rtl methods out of line
7022
7023 2003-03-21 André Pönitz <poenitz@gmx.net>
7024
7025         * metricsinfo.[Ch]: new files containing structures to be passed around
7026         during the two-phase-drawing...
7027
7028 2003-03-21 André Pönitz <poenitz@gmx.net>
7029
7030         * lyxtextclass.C: read 'environment' tag.
7031
7032 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7033
7034         * text2.C (removeRow): fix bug 964
7035
7036 2003-03-20  John Levon  <levon@movementarian.org>
7037
7038         * rowpainter.C:
7039         * text.C:
7040         * text2.C: paint cleanups. Inset::update() dropped font
7041         parameter
7042
7043 2003-03-19  John Levon  <levon@movementarian.org>
7044
7045         * lyxfunc.C: only fitcursor/markDirty if available()
7046
7047 2003-03-19  John Levon  <levon@movementarian.org>
7048
7049         * commandtags.h: rename to ...
7050
7051         * lfuns.h: ... this, and renumber / cleanup
7052
7053 2003-03-19  John Levon  <levon@movementarian.org>
7054
7055         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7056         fit the cursor after an lfun
7057
7058         * BufferView.h:
7059         * BufferView.C:
7060         * BufferView_pimpl.h:
7061         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7062
7063         * LyXAction.C: layout-character should have ReadOnly
7064
7065         * ParagraphParameters.C:
7066         * buffer.C:
7067         * bufferview_funcs.C:
7068         * lyx_cb.C:
7069         * lyxfind.C:
7070         * lyxtext.h:
7071         * text.C:
7072         * text2.C:
7073         * text3.C:
7074         * undo_funcs.C: changes from above
7075
7076 2003-03-18  John Levon  <levon@movementarian.org>
7077
7078         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7079         remove it from update()
7080
7081         * lyxfunc.C: update layout choice after an lfun
7082
7083         * text3.C: remove extra updateLayoutChoice()s
7084
7085 2003-03-18  John Levon  <levon@movementarian.org>
7086
7087         * text.C: top_y change means full repaint, fix
7088         a drawing bug with cursor movement
7089
7090 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7091
7092         * lyxtext.h:
7093         * text.C:
7094         * text2.C: anchor row on setCursor
7095
7096 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7097
7098         * lyxtext.h: remove almost all mutable keywords
7099         * text.C:
7100         * text2.C:
7101         * text3.C: remove const keywords accordingly
7102
7103 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7104
7105         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7106         anon namespace
7107         (TeXEnvironment): ditto
7108         (TeXOnePar): ditto
7109
7110 2003-03-17  John Levon  <levon@movementarian.org>
7111
7112         * text.C (rowBreakPoint): remove attempt to fix displayed
7113         math insets inside a manual label
7114
7115 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7116
7117         * lyxtext.h: remove BufferView* as first arg from almost all class
7118         functions.
7119         * other files: adjust.
7120
7121 2003-03-17  John Levon  <levon@movementarian.org>
7122
7123         * lyxtext.h:
7124         * undo_funcs.C:
7125         * text2.C: more paint cleanups
7126
7127         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7128
7129         * rowpainter.h:
7130         * rowpainter.C: remove "smart" background painting code
7131
7132 2003-03-16  John Levon  <levon@movementarian.org>
7133
7134         * lyxtext.h:
7135         * text.C:
7136         * text2.C:
7137         * text3.C: add helper functions for setting refresh_row/y
7138
7139 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7140
7141         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7142         newline inset which *can* get inserted in the pass_thru layouts.
7143         This is primarily for literate documents.
7144
7145 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7146
7147         * buffer.C: increment LYX_FORMAT to 223
7148
7149 2003-03-14 André Pönitz <poenitz@gmx.net>
7150
7151         * textclass.h: prepare for environment handling, ws changes
7152         * lyxlayout.C: read latexheader and latexfooter tags
7153
7154 2003-03-14  John Levon  <levon@movementarian.org>
7155
7156         * text2.C: rewrite ::status() a bit
7157
7158 2003-03-13  John Levon  <levon@movementarian.org>
7159
7160         * lyxtext.h: add some docs
7161
7162 2003-03-13  John Levon  <levon@movementarian.org>
7163
7164         * lyxtext.h:
7165         * text.C:
7166         * text2.C:
7167         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7168
7169 2003-03-13  John Levon  <levon@movementarian.org>
7170
7171         * text3.C: fix appendix redrawing
7172
7173 2003-03-13  John Levon  <levon@movementarian.org>
7174
7175         * text.C (setHeightOfRow):
7176         * rowpainter.h:
7177         * rowpainter.C: make appendix mark have the text
7178           "Appendix" so the user knows what it is
7179
7180         * LColor.h:
7181         * LColor.C: s/appendixline/appendix/ from above
7182
7183 2003-03-13  John Levon  <levon@movementarian.org>
7184
7185         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7186
7187         * text.C: fix a getChar(pos) bug properly
7188
7189 2003-03-13  Angus Leeming  <leeming@lyx.org>
7190
7191         * commandtags.h:
7192         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7193         Probably only temporary. Let's see how things pan out.
7194
7195         * BufferView.C (unlockInset):
7196         * BufferView_pimpl.C (fitCursor):
7197         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7198
7199         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7200         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7201
7202         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7203         new functions that convert ParagraphParameters to and from a string.
7204
7205         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7206         BufferView::Pimpl's dispatch.
7207         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7208
7209 2003-03-13 André Pönitz <poenitz@gmx.net>
7210
7211         * lyxfunc.C:
7212         * text3.C:
7213         * factory.C: make it aware of InsetEnv
7214
7215 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7216
7217         * text2.C (setCursor): never ask for one past last
7218         (setCursor): add some debugging messages.
7219
7220         * text.C (singleWidth): never ask for one past last
7221         (singleWidth): ditto
7222         (leftMargin): ditto
7223         (rightMargin): ditto
7224         (rowBreakPoint): ditto
7225         (setHeightOfRow): ditto
7226         (prepareToPrint): ditto
7227
7228         * rowpainter.C (paintBackground): never ask for one past last
7229         (paintText): never ask for one past last
7230
7231         * paragraph_pimpl.C (getChar): make the assert stricter, never
7232         allow the one past last pos to be taken
7233
7234         * paragraph.C (getChar): ws changes only
7235
7236         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7237         (numberOfSeparators): ditto
7238         (numberOfHfills): ditto
7239
7240 2003-03-12  John Levon  <levon@movementarian.org>
7241
7242         * author.h:
7243         * author.C:
7244         * bufferparams.h:
7245         * bufferparams.C:
7246         * paragraph_funcs.C: fix per-buffer authorlists
7247
7248 2003-03-12  John Levon  <levon@movementarian.org>
7249
7250         * text.C: fix newline in right address
7251
7252 2003-03-12  Angus Leeming  <leeming@lyx.org>
7253
7254         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7255         duplicate those in LyXFunc::dispatch.
7256
7257         * commandtags.h:
7258         * LyXAction.C:
7259         * ToolbarDefaults.C:
7260         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7261         Add LFUN_FONTFREE_UPDATE.
7262
7263         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7264         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7265
7266         * bufferview_func.[Ch]: several new functions to facilliate
7267         transfer of data to and from the character dialog.
7268
7269 2003-03-12  John Levon  <levon@movementarian.org>
7270
7271         * buffer.C:
7272         * paragraph.h:
7273         * paragraph.C:
7274         * paragraph_funcs.C:
7275         * paragraph_pimpl.C:
7276         * sgml.C:
7277         * tabular.C:
7278         * text.C:
7279         * text3.C: remove META_NEWLINE in favour of an inset
7280
7281         * rowpainter.h:
7282         * rowpainter.C: remove paintNewline (done by inset)
7283
7284 2003-03-12  John Levon  <levon@movementarian.org>
7285
7286         * paragraph_pimpl.C: complain about bad getChar()s
7287         for a while at least
7288
7289 2003-03-12  John Levon  <levon@movementarian.org>
7290
7291         * buffer.h:
7292         * buffer.C: move paragraph read into a separate function,
7293         a little renaming to reflect that.
7294
7295         * bufferparams.h:
7296         * bufferparams.C: remove the author_ids map, not necessary now
7297
7298         * factory.h:
7299         * factory.C: moved Buffer::readInset to here
7300
7301         * paragraph_funcs.h:
7302         * paragraph_funcs.C: readParagraph free function moved from
7303         buffer.C
7304
7305         * tabular.C: name change
7306
7307 2003-03-12  John Levon  <levon@movementarian.org>
7308
7309         * buffer.C:
7310         * ParagraphParameters.C: move par params input to
7311         a read() method
7312
7313         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7314         behave like a normal read from the stream wrt reading
7315         a line vs. a \\token
7316
7317 2003-03-12  John Levon  <levon@movementarian.org>
7318
7319         * paragraph.C:
7320         * ParagraphParameters.h:
7321         * ParagraphParameters.C: move output code to a
7322         ::write() method
7323
7324 2003-03-12  John Levon  <levon@movementarian.org>
7325
7326         * BufferView.C (insertLyXFile):
7327         * buffer.h:
7328         * buffer.C:
7329         * tabular.C: use a parlist iterator for creating the
7330           document.
7331
7332 2003-03-12  John Levon  <levon@movementarian.org>
7333
7334         * buffer.C: make current_change static local not
7335           static file-scope
7336
7337 2003-03-12  John Levon  <levon@movementarian.org>
7338
7339         * buffer.C: fix insertStringAsLines for change tracking
7340
7341 2003-03-12  John Levon  <levon@movementarian.org>
7342
7343         * BufferView.C:
7344         * tabular.C:
7345         * buffer.h:
7346         * buffer.C:
7347         * bufferparams.h:
7348         * bufferparams.C: move author list into params. Rename some
7349           functions. Move the header reading into a separate token
7350           loop. Move the header token reading into BufferParams.
7351
7352 2003-03-12  John Levon  <levon@movementarian.org>
7353
7354         * changes.C: put debug inside lyxerr.debugging() checks
7355
7356 2003-03-11 André Pönitz <poenitz@gmx.net>
7357
7358         * factory.C: make it aware of InsetHFill
7359
7360 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7361
7362         * buffer.C (latexParagraphs): move function from here...
7363         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7364         args.
7365
7366 2003-03-10  Angus Leeming  <leeming@lyx.org>
7367
7368         * LyXAction.C (init): fix bug in poplating array with multiple entries
7369         with the same LFUN (spotted by JMarc).
7370
7371 2003-03-10  John Levon  <levon@movementarian.org>
7372
7373         * text.C:
7374         * text2.C: move getColumnNearX() near its
7375         only call site
7376
7377 2003-03-10  John Levon  <levon@movementarian.org>
7378
7379         * text.C: fix break before a minipage
7380
7381 2003-03-10  John Levon  <levon@movementarian.org>
7382
7383         * text.C: fix the last commit
7384
7385 2003-03-09  John Levon  <levon@movementarian.org>
7386
7387         * lyxtext.h:
7388         * text.C:
7389         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7390         bug 365 (don't break before insets unless needed). Don't
7391         return a value > last under any circumstances.
7392
7393 2003-03-09  Angus Leeming  <leeming@lyx.org>
7394
7395         * BufferView_pimpl.C (trackChanges, dispatch): call
7396         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7397
7398 2003-03-09  Angus Leeming  <leeming@lyx.org>
7399
7400         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7401         than Dialogs::showAboutlyx().
7402
7403 2003-03-09  Angus Leeming  <leeming@lyx.org>
7404
7405         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7406         than Dialogs::showTabularCreate().
7407
7408 2003-03-09  John Levon  <levon@movementarian.org>
7409
7410         * lyxtext.h:
7411         * text.C:
7412         * text2.C: 3rd arg to nextBreakPoint was always the same.
7413           Use references.
7414
7415 2003-03-08  John Levon  <levon@movementarian.org>
7416
7417         * lyxrow.C:
7418         * paragraph.C:
7419         * paragraph.h:
7420         * rowpainter.C:
7421         * text.C:
7422         * text2.C: Remove the "main" bit from the "main body"
7423           notion.
7424
7425 2003-03-08  John Levon  <levon@movementarian.org>
7426
7427         * text.C (leftMargin): The left margin of an empty
7428         manual label paragraph should not include the label width
7429         string length.
7430
7431         * text.C (prepareToPrint): don't attempt to measure hfills
7432         for empty manual label paragraphs - the answer should be 0
7433
7434 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7435
7436         * CutAndPaste.C: remove commented code and reindent.
7437
7438 2003-03-08  John Levon  <levon@movementarian.org>
7439
7440         * lyxfunc.h:
7441         * lyxfunc.C: move reloadBuffer()
7442
7443         * BufferView.h:
7444         * BufferView.C: to here
7445
7446         * lyxvc.C: add comment
7447
7448         * vc-backend.h:
7449         * vc-backend.C: call bv->reload() to avoid
7450           getStatus() check on MENURELOAD
7451
7452 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7453
7454         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7455         to an old format .dep file.
7456
7457 2003-03-07  Angus Leeming  <leeming@lyx.org>
7458
7459         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7460         when the LFUN_MOUSE_RELEASE should have been handled by
7461         inset->localDispatch.
7462
7463 2003-03-07  Angus Leeming  <leeming@lyx.org>
7464
7465         * BufferView_pimpl.C (dispatch):
7466         * LyXAction.C (init):
7467         * ToolbarDefaults.C (init):
7468         * commandtags.h:
7469         * lyxfunc.C (getStatus):
7470         remove LFUN_INSET_GRAPHICS.
7471
7472         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7473
7474 2003-03-07  Angus Leeming  <leeming@lyx.org>
7475
7476         * commandtags.h:
7477         * LyXAction.C (init):
7478         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7479
7480         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7481
7482         * commandtags.h:
7483         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7484
7485         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7486         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7487
7488 2003-03-07  Angus Leeming  <leeming@lyx.org>
7489
7490         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7491         remove "ert".
7492
7493 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7494
7495         * ParagraphList.C (front): new function
7496         (back): implement
7497
7498 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7499
7500         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7501         and top_row_offset_. removed var first_y.
7502         * text.C (top_y):
7503         * text2.C (LyXText, removeRow):
7504         * text3.C:
7505         * BufferView_pimpl.C:
7506         use these methods instead of using first_y
7507
7508 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7509
7510         * text2.C (pasteSelection): adjust for checkPastePossible
7511
7512         * CutAndPaste.C: remove Paragraph * buf and replace with
7513         ParagraphList paragraphs.
7514         (DeleteBuffer): delete
7515         (cutSelection): change the tc type to textclass_type
7516         (copySelection): change the tc type to textclass_type
7517         (copySelection): adjust for ParagraphList
7518         (pasteSelection): change the tc type to textclass_type
7519         (pasteSelection): adjust for Paragraphlist
7520         (nrOfParagraphs): simplify for ParagraphList
7521         (checkPastePossible): simplify for ParagraphList
7522         (checkPastePossible): remove unused arg
7523
7524         * ParagraphList.C (insert): handle the case where there are no
7525         paragraphs yet.
7526
7527         * CutAndPaste.h: make CutAndPaste a namespace.
7528
7529         * text3.C (dispatch): adjust
7530
7531         * text.C (breakParagraph): add a ParagraphList as arg
7532
7533         * paragraph_funcs.C (breakParagraph): change to take a
7534         BufferParams and a ParagraphList as args.
7535         (breakParagraphConservative): ditto
7536         (mergeParagraph): ditto
7537         (TeXDeeper): add a ParagraphList arg
7538         (TeXEnvironment): ditto
7539         (TeXOnePar): ditto
7540
7541         * buffer.C (readLyXformat2): adjust
7542         (insertStringAsLines): adjust
7543         (latexParagraphs): adjust
7544
7545         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7546         (cutSelection): adjust
7547         (pasteSelection): adjust
7548
7549         * BufferView_pimpl.C (insertInset): adjust
7550
7551 2003-03-05  Angus Leeming  <leeming@lyx.org>
7552
7553         * commandtags.h:
7554         * LyXAction.C (init):
7555         * BufferView_pimpl.C (dispatch):
7556         * lyxfunc.C (getStatus):
7557         remove LFUN_CHILD_INSERT.
7558
7559         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7560
7561 2003-03-05  Angus Leeming  <leeming@lyx.org>
7562
7563         * commandtags.h:
7564         * LyXAction.C (init):
7565         * src/factory.C (createInset):
7566         * lyxfunc.C (getStatus):
7567         * text3.C (dispatch):
7568         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7569
7570         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7571
7572 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * ParagraphList.C (insert): handle insert right before end()
7575         (erase): fix cases where it can be first or last paragraph.
7576
7577 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7578
7579         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7580         Paragraph::next and Paragraph::previous
7581         (TeXOnePar): ditto
7582
7583         * text.C (breakParagraph): adjust
7584
7585         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7586         BufferParams& as arg.
7587         (breakParagraph): use ParagraphList::insert
7588         (breakParagraphConservative): take a Buffer* instead of a
7589         BufferParams& as arg.
7590         (breakParagraphConservative): use ParagraphList::insert.
7591
7592         * buffer.C (insertStringAsLines): un-const it
7593         (insertStringAsLines): adjust
7594
7595         * ParagraphList.C (insert): new function
7596
7597         * CutAndPaste.C (pasteSelection): adjust
7598
7599         * text.C (backspace): adjust
7600
7601         * tabular.C (SetMultiColumn): adjust
7602
7603         * CutAndPaste.C (cutSelection): adjust
7604         (pasteSelection): adjust
7605
7606         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7607         Buffer const * as arg
7608
7609         * ParagraphList.C (erase): new function
7610         * paragraph_funcs.C (mergeParagraph): use it
7611         (mergeParagraph): make it take a Buffer* instead of a
7612         BufferParams* as arg
7613
7614         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7615         as arg
7616         (breakParagraphConservative): ditto
7617
7618         * paragraph.h: remove the breakParagraph friend
7619
7620         * paragraph.C (eraseIntern): new function
7621         (setChange): new function
7622
7623         * paragraph_funcs.C (mergeParagraph): make it take a
7624         ParagraphList::iterator instead of a Paragraph *, adjust
7625         accordingly.
7626
7627         * paragraph.h: move an #endif so that the change tracking stuff
7628         also works in the NO_NEXT case.
7629
7630 2003-03-04  Angus Leeming  <leeming@lyx.org>
7631
7632         * commandtags.h:
7633         * LyXAction.C: new LFUN_INSET_MODIFY.
7634
7635         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7636         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7637
7638 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7639
7640         * several files: ws changes only
7641
7642         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7643         (TeXEnvironment): ditto
7644         (TeXDeeper): ditto
7645
7646         * buffer.C (makeLaTeXFile): adjust
7647         (latexParagraphs): make it take ParagraphList::iterator as args
7648
7649 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7650
7651         * buffer.C (latexParagraphs): adjust
7652
7653         * paragraph.C (TeXOnePar): move function...
7654         (optArgInset): move function...
7655         (TeXEnvironment): move function...
7656         * paragraph_pimpl.C (TeXDeeper): move function...
7657         * paragraph_funcs.C: ...here
7658
7659         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7660
7661 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7662
7663         * buffer.C (readInset): remove compability code for old Figure and
7664         InsetInfo insets
7665
7666 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * buffer.C: ws changes
7669         (readInset):
7670
7671         * BufferView_pimpl.C: ditto
7672         * author.C: ditto
7673         * buffer.h: ditto
7674         * bufferlist.h: ditto
7675         * changes.h: ditto
7676         * lyxfunc.C: ditto
7677
7678 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7679
7680         * converter.[Ch]: split into itself +
7681         * graph.[Ch]
7682         * format.[Ch]
7683         * Makefile.am: += graph.[Ch] + format.[Ch]
7684         * MenuBackend.C
7685         * buffer.C
7686         * exporter.C
7687         * importer.C
7688         * lyx_main.C
7689         * lyxfunc.C
7690         * lyxrc.C: added #include "format.h"
7691
7692 2003-02-27  Angus Leeming  <leeming@lyx.org>
7693
7694         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7695           a label.
7696
7697         * factory.C (createInset): add "label" to the factory.
7698
7699         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7700           string and do no more.
7701
7702 2003-02-27  Angus Leeming  <leeming@lyx.org>
7703
7704         * commandtags.h:
7705         * LyXAction.C (init):
7706         * factory.C (createInset):
7707         * BufferView_pimpl.C (dispatch):
7708           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7709
7710         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7711
7712         * lyxfunc.C (dispatch):
7713         * text3.C (dispatch): pass name to params2string.
7714
7715 2003-02-26  Angus Leeming  <leeming@lyx.org>
7716
7717         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7718           blocks together.
7719           Rearrange the ~includes. Strip out the unnecessary ones.
7720
7721         * factory.C (createInset): reformat.
7722           create new insets for the various LFUN_XYZ_APPLY lfuns.
7723
7724 2003-02-26  John Levon  <levon@movementarian.org>
7725
7726         * lyxrow.h:
7727         * lyxrow.C: add isParStart,isParEnd helpers
7728
7729         * paragraph.h: make isInserted/DeletedText take refs
7730
7731         * paragraph_funcs.h:
7732         * paragraph_funcs.C: remove #if 0'd code
7733
7734         * lyxtext.h:
7735         * text3.C:
7736         * text2.C:
7737         * text.C: use lyxrow helpers above.
7738           Move draw and paint routines to RowPainter.
7739           Make several methods use refs not pointers.
7740           Make backgroundColor() const.
7741           Add markChangeInDraw(), isInInset().
7742           Merge changeRegionCase into changeCase.
7743           Make workWidth() shouldn't-happen code into an Assert.
7744
7745         * rowpainter.h:
7746         * rowpainter.C: new class for painting a row.
7747
7748         * vspace.h:
7749         * vspace.C: make inPixels take a ref
7750
7751 2003-02-26  Angus Leeming  <leeming@lyx.org>
7752
7753         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7754         LFUN_REF_APPLY.
7755
7756 2003-02-25  John Levon  <levon@movementarian.org>
7757
7758         * ispell.C: give the forked command a more accurate name
7759
7760 2003-02-22  John Levon  <levon@movementarian.org>
7761
7762         * toc.h:
7763         * toc.C: make TocItem store an id not a Paragraph *
7764           (bug #913)
7765
7766 2003-02-21  Angus Leeming  <leeming@lyx.org>
7767
7768         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7769           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7770           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7771           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7772           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7773           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7774
7775         * BufferView_pimpl.C (dispatch):
7776         * LyXAction.C (init):
7777         * factory.C (createInset):
7778         * lyxfunc.C (getStatus, dispatch):
7779         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7780
7781 2003-02-21  Angus Leeming  <leeming@lyx.org>
7782
7783         * BufferView_pimpl.C (MenuInsertLyXFile):
7784         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7785         * lyxfunc.C (menuNew, open, doImport):
7786           no longer pass a LyXView & to fileDlg.
7787
7788 2003-02-21  Angus Leeming  <leeming@lyx.org>
7789
7790         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7791         * LyXAction.C: change, BIBKEY to BIBITEM.
7792         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7793         Change InsetBibKey to InsetBibitem.
7794         Change BIBKEY_CODE to BIBITEM_CODE.
7795         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7796         * factory.C: replace insetbib.h with insetbibitem.h.
7797         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7798         * paragraph.C: replace insetbib.h with insetbibitem.h.
7799         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7800         Change bibkey() to bibitem().
7801         * text.C: remove insetbib.h.
7802         * text2.C: replace insetbib.h with insetbibitem.h.
7803         change bibkey() to bibitem().
7804         * text3.C: remove insetbib.h.
7805         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7806
7807 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7808
7809         * lyxrc.C (output): enclose user email in quotes (in case there are
7810         several words)
7811
7812 2003-02-18  John Levon  <levon@movementarian.org>
7813
7814         * buffer.h: add std::
7815
7816 2003-02-17  John Levon  <levon@movementarian.org>
7817
7818         * SpellBase.h:
7819         * ispell.h:
7820         * ispell.C:
7821         * pspell.h:
7822         * pspell.C: reworking. Especially in ispell, a large
7823           number of clean ups and bug fixes.
7824
7825         * lyxfunc.C: fix revert to behave sensibly
7826
7827 2003-02-17 André Pönitz <poenitz@gmx.net>
7828
7829         * LyXAction.C:
7830         * commandtags.h: new LFUN_INSERT_BIBKEY
7831
7832         * layout.h:
7833         * lyxlayout.C:
7834         * buffer.C:
7835         * factory.C:
7836         * text.C:
7837         * text2.C:
7838         * text3.C:
7839         * paragraph.[Ch]:
7840         * paragraph_func.C: remove special bibkey handling
7841
7842 2003-02-17  John Levon  <levon@movementarian.org>
7843
7844         * text.C (Delete): fix case where delete at the end of
7845           the very first paragraph would not merge the pars
7846
7847 2003-02-17  John Levon  <levon@movementarian.org>
7848
7849         * lyxrow.C: fix lastPrintablePos()
7850
7851 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7852
7853         * bufferparams.C (writeLaTeX): add a std:here
7854
7855         * buffer.C: and remove a using directive there
7856
7857 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7858
7859         * buffer.C (makeLaTeXFile): move the code that generates the
7860           preamble...
7861
7862         * bufferparams.C (writeLaTeX): ... in this new method
7863
7864         * LaTeXFeatures.C (getEncodingSet): make const
7865           (getLanguages): make const
7866
7867         * MenuBackend.C (binding): returns the binding associated to this
7868           action
7869           (add): sets the status of each item by calling getStatus. Adds
7870           some intelligence.
7871           (read): add support for OptSubMenu
7872           (expand): remove extra separator at the end of expanded menu
7873
7874 2003-02-15  John Levon  <levon@movementarian.org>
7875
7876         * BufferView.C:
7877         * BufferView_pimpl.C:
7878         * bufferlist.h:
7879         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7880           inset code that had no actual effect. Remove unneeded status
7881           code.
7882
7883 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7884
7885         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7886           in preamble
7887
7888 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7889
7890         * text.C (drawLengthMarker): also draw an arrow marker for
7891           symbolic lengths (medskip...)
7892
7893 2003-02-14  John Levon  <levon@movementarian.org>
7894
7895         * tabular.h:
7896         * tabular.C: better method names
7897
7898 2003-02-14  John Levon  <levon@movementarian.org>
7899
7900         * BufferView_pimpl.C:
7901         * bufferlist.C:
7902         * buffer.C:
7903         * converter.C:
7904         * lyx_cb.C:
7905         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7906           it's a more accurate name. Remove some pointless uses.
7907
7908 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7909
7910         * text2.C (LyXText): change order of initilizers to shut off
7911           warnings
7912
7913 2003-02-14  John Levon  <levon@movementarian.org>
7914
7915         * buffer.C: use ParIterator for getParFromID()
7916
7917         * paragraph.h:
7918         * paragraph.C:
7919         * paragraph_pimpl.h:
7920         * paragraph_pimpl.C: remove unused getParFromID()
7921
7922 2003-02-14  John Levon  <levon@movementarian.org>
7923
7924         * buffer.C: remove some very old #if 0'd parse code
7925
7926 2003-02-13  John Levon  <levon@movementarian.org>
7927
7928         * text.h:
7929         * text.C:
7930         * text2.C: move hfillExpansion(), numberOfSeparators(),
7931           rowLast(), rowLastPrintable(), numberofHfills(),
7932           numberOfLabelHfills() ...
7933
7934         * lyxrow.h:
7935         * lyxrow.C: ... to member functions here.
7936
7937         * paragraph.h:
7938         * paragraph.C:
7939         * lyxtext.h:
7940         * text.C: remove LyXText::beginningOfMainBody(), and call
7941           p->beginningOfMainBody() directly. Move the check for
7942           LABEL_MANUAL into the latter.
7943
7944         * text.h:
7945         * text.C:
7946         * text2.C:
7947         * vspace.C:
7948         * BufferView.h:
7949         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7950
7951         * text.h:
7952         * text.C:
7953         * text2.C:
7954         * text3.C:
7955         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7956           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7957
7958 2003-02-13  John Levon  <levon@movementarian.org>
7959
7960         * CutAndPaste.C: remove debug
7961
7962 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7963
7964         * paragraph.C (asString): remove two unused variables
7965
7966         * lyxtextclass.C (readTitleType):
7967           (Read):
7968           (LyXTextClass): handle new members titletype_ and titlename_
7969
7970         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7971
7972 2003-02-09  John Levon  <levon@movementarian.org>
7973
7974         * buffer.h:
7975         * buffer.C: replace hand-coded list with a map for the dep clean
7976
7977 2003-02-08  John Levon  <levon@movementarian.org>
7978
7979         * LaTeX.C: consolidate code into showRunMessage() helper
7980
7981 2003-02-08  John Levon  <levon@movementarian.org>
7982
7983         * lyxfind.C:
7984         * lyxtext.h:
7985         * text2.C:
7986         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7987           and pass the size in explicitly
7988
7989         * BufferView_pimpl.h:
7990         * BufferView_pimpl.C:
7991         * BufferView.h:
7992         * BufferView.C: add getCurrentChange()
7993
7994         * BufferView_pimpl.h:
7995         * BufferView_pimpl.C: handle change lfuns
7996
7997         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7998           for changes. Mark pasted paragraphs as new.
7999
8000         * support/lyxtime.h:
8001         * support/lyxtime.C:
8002         * DepTable.C: abstract time_t as lyx::time_type
8003
8004         * LColor.h:
8005         * LColor.C: add colours for new text, deleted text, changebars
8006
8007         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8008           package use "usenames" option.
8009
8010         * commandtags.h:
8011         * lyxfunc.C:
8012         * LyXAction.C: add change lfuns
8013
8014         * Makefile.am:
8015         * author.h:
8016         * author.C: author handling
8017
8018         * buffer.h:
8019         * buffer.C: add a per-buffer author list, with first entry as
8020           current author. Handle new .lyx tokens for change tracking. Output
8021           author list to .lyx file. Output dvipost stuff to .tex preamble.
8022           Bump lyx format to 222.
8023
8024         * bufferlist.h:
8025         * bufferlist.C: add setCurrentAuthor() to reset current author details
8026           in all buffers.
8027
8028         * bufferparams.h:
8029         * bufferparams.C: add param for tracking
8030
8031         * bufferview_funcs.C: output change info in minibuffer
8032
8033         * Makefile.am:
8034         * changes.h:
8035         * changes.C: add change-tracking structure
8036
8037         * debug.h:
8038         * debug.C: add CHANGES debug flag
8039
8040         * lyxfind.h:
8041         * lyxfind.C: add code for finding the next change piece
8042
8043         * lyxrc.h:
8044         * lyxrc.C: add user_name and user_email
8045
8046         * lyxrow.h:
8047         * lyxrow.C: add a metric for the top of the text line
8048
8049         * lyxtext.h:
8050         * text.C: implement accept/rejectChange()
8051
8052         * lyxtext.h:
8053         * text.C: paint changebars. Paint new/deleted text in the chosen
8054         colours. Strike through deleted text.
8055
8056         * paragraph.h:
8057         * paragraph.C:
8058         * paragraph_pimpl.h:
8059         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8060           in the current change to the insert functions. Rework erase to
8061           mark text as deleted, adding an eraseIntern() and a range-based
8062           erase(). Implement per-paragraph change lookup and
8063           accept/reject.
8064
8065         * paragraph_funcs.C: Fixup paste for change tracking.
8066
8067         * tabular.C: mark added row/columns as new.
8068
8069         * text.C: fix rowLast() to never return -1. Don't allow
8070           spellchecking of deleted text. Track transpose changes. Don't
8071           allow paragraph break or merge where appropriate.
8072
8073         * text2.C: leave cursor at end of selection after a cut.
8074
8075 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8076
8077         * text.C (getLengthMarkerHeight):
8078         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8079         visible on screen too.
8080
8081 2003-02-07  John Levon  <levon@movementarian.org>
8082
8083         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8084
8085 2003-02-05  Angus Leeming  <leeming@lyx.org>
8086
8087         * lyxserver.C (read_ready): revert my patch of 11 September last year
8088         as it sends PC cpu through the roof. Presumably this means that
8089         the lyxserver will no longer run on an Alpha...
8090
8091 2003-01-30  Angus Leeming  <leeming@lyx.org>
8092
8093         * factory.C (createInset): create an InsetCommandParam of type "index"
8094         and use it to 'do the right thing'.
8095
8096         * text2.C (getStringToIndex): ensure that cursor position is always
8097         reset to the reset_cursor position.
8098
8099 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8100
8101         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8102         disabled.
8103
8104 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8105
8106         * bufferview.C:
8107         * lyxcb.C:
8108         * lyxfunc.C: Output messages with identical spelling, punctuation,
8109         and spaces
8110
8111 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8112
8113         * MenuBackend.C (expandFormats): List only viewable export formats
8114         in "View" menu
8115
8116         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8117         message
8118
8119         * lyxfunc.C (getStatus): Make sure that formats other than
8120         "fax" can also be disabled
8121
8122 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8123
8124         * text3.C (dispatch): put the lfuns that insert insets in 3
8125         groups, and call doInsertInset with appropriate arguments.
8126         (doInsertInset): new function, that creates an inset and inserts
8127         it according to some boolean parameters.
8128
8129 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8130
8131         * buffer.C (readFile): remember to pass on 'par' when calling
8132         readFile recursively.
8133
8134 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8135
8136         * MenuBackend.C (expandFormats): add "..." to import formats.
8137
8138 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8139
8140         * paragraph.C (asString): Remove XForms RTL hacks.
8141
8142 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8143         * buffer.C: fix typo
8144
8145 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8146
8147         * Makefile.am (LIBS): delete var
8148         (lyx_LDADD): add @LIBS@ here instead.
8149
8150 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8151
8152         * Clarify the meaning of "wheel mouse jump"
8153
8154 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8155
8156         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8157         tabular in a float
8158
8159 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8160
8161         * importer.C (Loaders): do not preallocate 3 elements in the
8162         vector, since one ends up with 6 elements otherwise
8163
8164 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8165
8166         * DepTable.C (write): write the file name as last element of the
8167         .dep file (because it may contain spaces)
8168         (read): read info in the right order
8169
8170 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8171
8172         * paragraph_pimpl.C (simpleTeXBlanks):
8173         (simpleTeXSpecialChars):
8174         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8175
8176         * tabular.C (latex): add some missing case statements. Reindent.
8177
8178         * MenuBackend.C (expandToc): remove unused variable.
8179
8180 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8181
8182         * LColor.C:
8183         * LaTeX.C:
8184         * LyXAction.C:
8185         * MenuBackend.C:
8186         * buffer.C:
8187         * exporter.C:
8188         * lyxfunc.C:
8189         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8190         and the like.
8191
8192 2003-01-05  John Levon  <levon@movementarian.org>
8193
8194         * BufferView.h:
8195         * BufferView.C: add getEncoding()
8196
8197         * kbsequence.h:
8198         * kbsequence.C: do not store last keypress
8199
8200         * lyxfunc.h:
8201         * lyxfunc.C: store last keypress here instead. Pass encoding
8202           to getISOEncoded()
8203
8204 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8205
8206         * lyx_main.C (init): remove annoying error message when following
8207         symbolic links (bug #780)
8208
8209 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8210
8211         * text.C (insertChar):
8212         * lyxrc.C (getDescription): remove extra spaces
8213
8214 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8215
8216         * lyxrc.C (getDescription): remove extra spaces
8217
8218 2002-12-20  John Levon  <levon@movementarian.org>
8219
8220         * text3.C: hack fix for page up/down across tall rows
8221
8222 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8223
8224         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8225         not been invoked
8226
8227 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8228
8229         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8230         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8231         thesaurus is not compiled in
8232
8233 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8234
8235         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8236
8237 2002-12-16  Angus Leeming  <leeming@lyx.org>
8238
8239         * lyxrc.[Ch]:
8240         * lyx_main.C (init): remove override_x_deadkeys stuff.
8241
8242 2002-12-12  John Levon  <levon@movementarian.org>
8243
8244         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8245           insert. Only remove shift modifier under strict
8246           circumstances.
8247
8248 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8249
8250         * MenuBackend.C (expandToc): fix crash.
8251
8252 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8253
8254         * MenuBackend.C (expandToc): gettext on float names.
8255
8256 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8257
8258         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8259         implement bool empty() [bug 490]
8260
8261 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8262
8263         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8264
8265 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8266
8267         * several files: ws changes
8268
8269 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8270
8271         * text2.C (setCounter): clean up a bit, use boost.format.
8272         (updateCounters): initialize par upon declaration.
8273
8274         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8275         if the layout exists. We do not just store the layout any more.
8276         (SwitchLayoutsBetweenClasses): use boost.format
8277
8278 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8279
8280         * converter.C (convert): if from and to files are the same, use a
8281         temporary files as intermediary
8282
8283 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8284
8285         * commandtags.h:
8286         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8287
8288 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8289
8290         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8291
8292 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8293
8294         * tabular.C (asciiPrintCell): use string(size, char) instead of
8295         explicit loop.
8296
8297         * sgml.C (openTag): fix order of arguments to string constructor
8298         (closeTag): ditto
8299
8300         * lyxfunc.C (dispatch): use boost.format
8301
8302         * lots of files: change "c" -> 'c'
8303
8304 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8305
8306         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8307
8308 2002-11-25  Angus Leeming  <leeming@lyx.org>
8309
8310         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8311
8312         * lyx_main.C (init): compile fix.
8313
8314 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8315
8316         * lyx_cb.C (start): boost.formatify
8317         do not include <iostream>
8318
8319         * lengthcommon.C: ws only
8320
8321         * boost-inst.C,BoostFormat.h: add more explict instantations
8322
8323 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * lots of files: handle USE_BOOST_FORMAT
8326
8327 2002-11-21  John Levon  <levon@movementarian.org>
8328
8329         * pspell.C: fix compile
8330
8331 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8332
8333         * lyxfunc.C (dispatch): use boost::format
8334         (open): ditto
8335         (doImport): ditto
8336
8337         * lyxfont.C (stateText): use boost::format
8338
8339         * lyx_main.C (LyX): use boost::format
8340         (init): ditto
8341         (queryUserLyXDir): ditto
8342         (readRcFile): ditto
8343         (parse_dbg): ditto
8344         (typedef boost::function): use the recommened syntax.
8345
8346         * importer.C (Import): use boost::format
8347
8348         * debug.C (showLevel): use boost::format
8349
8350         * converter.C (view): use boost::format
8351         (convert): ditto
8352         (move): ditto
8353         (scanLog): ditto
8354
8355         * bufferview_funcs.C (currentState): use boost::format
8356
8357         * bufferlist.C (emergencyWrite): use boost::format
8358
8359         * buffer.C (readLyXformat2): use boost::format
8360         (parseSingleLyXformat2Token): ditto
8361
8362         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8363
8364         * LaTeX.C (run): use boost::format
8365
8366         * Chktex.C (scanLogFile): use boost::format
8367
8368         * BufferView_pimpl.C (savePosition): use boost::format
8369         (restorePosition): ditto
8370         (MenuInsertLyXFile): ditto
8371
8372         * BoostFormat.h: help file for explicit instation.
8373
8374 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8375
8376         * tabular.C (latex): Support for block alignment in fixed width
8377         columns.
8378
8379 2002-11-17  John Levon  <levon@movementarian.org>
8380
8381         * BufferView_pimpl.C:
8382         * lyx_cb.C:
8383         * lyxfunc.C: split filedialog into open/save
8384
8385 2002-11-08  Juergen Vigna  <jug@sad.it>
8386
8387         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8388         by my last patch (hopefully).
8389
8390 2002-11-08  John Levon  <levon@movementarian.org>
8391
8392         * iterators.h:
8393         * iterators.C:
8394         * buffer.h:
8395         * buffer.C:
8396         * paragraph.h:
8397         * paragraph.C:
8398         * toc.h:
8399         * toc.C: ParConstIterator, and use it (from Lars)
8400
8401 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8402
8403         * lyxtextclass.[Ch]: revise and add doxygen comments
8404
8405 2002-11-07  John Levon  <levon@movementarian.org>
8406
8407         * text.C: fix progress value for spellchecker
8408
8409         * toc.C: fix navigate menu for insetwrap inside minipage
8410
8411         * paragraph_funcs.C: added FIXME for suspect code
8412
8413 2002-11-07  John Levon  <levon@movementarian.org>
8414
8415         * BufferView_pimpl.C: fix redrawing of insets
8416           on buffer switch
8417
8418 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8419
8420         * text2.C (updateCounters): fix bug 668
8421
8422 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8423
8424         * text3.C (dispatch): Do not make the buffer dirty when moving the
8425         cursor.
8426
8427 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8428
8429         * vc-backend.C: STRCONV
8430         (scanMaster): ditto
8431
8432         * text2.C (setCounter): STRCONV
8433
8434         * paragraph.C (asString): STRCONV
8435
8436         * lyxlength.C (asString): STRCONV
8437         (asLatexString): ditto
8438
8439         * lyxgluelength.C (asString): STRCONV
8440         (asLatexString): ditto
8441
8442         * lyxfunc.C (dispatch): STRCONV
8443         (open): ditto
8444
8445         * lyxfont.C (stateText): STRCONV
8446
8447         * importer.C (Import): STRCONV
8448
8449         * counters.C (labelItem): STRCONV
8450         (numberLabel): ditto
8451         (numberLabel): remove unused ostringstream o
8452
8453         * chset.C: STRCONV
8454         (loadFile): ditto
8455
8456         * bufferview_funcs.C (currentState): STRCONV
8457
8458         * buffer.C (readFile): STRCONV
8459         (asciiParagraph): ditto
8460         (makeLaTeXFile): ditto
8461
8462         * Spacing.C (writeEnvirBegin): STRCONV
8463
8464         * LaTeXFeatures.C (getLanguages): STRCONV
8465         (getPackages): ditto
8466         (getMacros): ditto
8467         (getBabelOptions): ditto
8468         (getTClassPreamble): ditto
8469         (getLyXSGMLEntities): ditto
8470         (getIncludedFiles): ditto
8471
8472         * LaTeX.C: STRCONV
8473         (run): ditto
8474         (scanAuxFile): ditto
8475         (deplog): ditto
8476
8477         * LString.h: add the STRCONV macros
8478
8479         * BufferView_pimpl.C (savePosition): STRCONV
8480         (restorePosition): ditto
8481         (MenuInsertLyXFile): ditto
8482
8483         * vc-backend.C (scanMaster): change from submatch[...] to
8484         submatch.str(...)
8485
8486         * funcrequest.C: include config.h
8487
8488         * factory.C: include config.h
8489
8490         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8491
8492         * box.C: include config.h
8493
8494         * LaTeX.C (scanAuxFile): change from submatch[...] to
8495         submatch.str(...)
8496         (deplog): ditto
8497
8498 2002-10-25  Angus Leeming  <leeming@lyx.org>
8499
8500         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8501
8502         * ispell.[Ch] (setError): new method.
8503         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8504         Use setError() insetead of goto END.
8505
8506         * lyx_cb.C (AutoSave): move out child process into new class
8507         AutoSaveBuffer.
8508
8509 2002-10-30  John Levon  <levon@movementarian.org>
8510
8511         * text3.C: make start appendix undoable
8512
8513 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8514
8515         * lyxlength.C (inPixels): Fix returned value.
8516
8517         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8518         environment.
8519
8520 2002-10-24  Angus Leeming  <leeming@lyx.org>
8521
8522         * lyxgluelength.h: no need to forward declare BufferParams
8523         or BufferView, so don't.
8524
8525 2002-10-21  John Levon  <levon@movementarian.org>
8526
8527         * BufferView.C: menuUndo ->undo, redo
8528
8529         * BufferView.h: document, remove dead, make some methods private
8530
8531         * paragraph_funcs.h:
8532         * paragraph_funcs.C:
8533         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8534
8535         * buffer.h:
8536         * buffer.C:
8537         * sgml.h:
8538         * sgml.C: move sgml open/close tag into sgml.C
8539
8540         * bufferview_funcs.h: unused prototype
8541
8542         * lyxfunc.h:
8543         * lyxfunc.C: remove unused
8544
8545         * lyxtext.h:
8546         * text.C: remove unused
8547
8548 2002-10-21  John Levon  <levon@movementarian.org>
8549
8550         * BufferView.h:
8551         * BufferView.C:
8552         * BufferView_pimpl.h:
8553         * BufferView_pimpl.C: fix mouse wheel handling based on
8554           patch from Darren Freeman
8555
8556 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8557
8558         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8559
8560 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8561
8562         * lyxlength.C (inPixels): Fix hanfling of negative length.
8563         Fix LyXLength::MU case.
8564
8565 2002-10-16  John Levon  <levon@movementarian.org>
8566
8567         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8568
8569 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8570
8571         * converter.C (view): add support for $$i (file name) and $$p
8572         (file path) for the viewer command. If $$i is not specified, then
8573         it is appended to the command (for compatibility with old syntax)
8574
8575 2002-10-14  Juergen Vigna  <jug@sad.it>
8576
8577         * undo_funcs.C (textHandleUndo): alter the order in which the
8578         new undopar is added to the LyXText, as we have to set first
8579         the right prev/next and then add it as otherwise the rebuild of
8580         LyXText is not correct. Also reset the cursor to the right paragraph,
8581         with this IMO we could remove the hack in "redoParagraphs()".
8582
8583 2002-10-09  Angus Leeming  <leeming@lyx.org>
8584
8585         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8586         to turn off an optimisation if a new inset is to be inserted.
8587
8588 2002-10-11 André Pönitz <poenitz@gmx.net>
8589
8590         * lyxtext.h: make some functions public to allow access
8591         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8592
8593 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8594
8595         * text3.C (dispatch): when changing layout, avoid an infinite loop
8596         [bug #652]
8597
8598 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8599
8600         * lyxrc.C (read): treat a viewer or converter command of "none" as
8601         if it were empty.
8602
8603         * MenuBackend.C (expandFormats): for an update, also allow the
8604         formats that are not viewable
8605
8606         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8607         script if it is newer than the lyxrc.defaults in user directory
8608
8609 2002-10-07 André Pönitz <poenitz@gmx.net>
8610
8611         * text.C: Vitaly Lipatov's small i18n fix
8612
8613 2002-09-25  Angus Leeming  <leeming@lyx.org>
8614
8615         * ispell.h: doxygen fix.
8616
8617 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8618
8619         * buffer.h (readFile): Add a new argument to the method, to allow
8620         reading of old-format templates.
8621
8622 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8623
8624         * toc.C (getTocList): Get TOC from InsetWrap.
8625
8626 2002-09-16  John Levon  <levon@movementarian.org>
8627
8628         * lyxfunc.C: check tabular for cut/copy too
8629
8630 2002-09-12  John Levon  <levon@movementarian.org>
8631
8632         * LyXAction.C: tidy
8633
8634         * factory.h:
8635         * factory.C: add header
8636
8637         * paragraph_funcs.h:
8638         * paragraph_funcs.C: cleanup
8639
8640 2002-09-11  John Levon  <levon@movementarian.org>
8641
8642         * PrinterParams.h: odd/even default to true
8643
8644 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8645
8646         * PrinterParams.h: update printer parameters for new xforms dialog
8647
8648 2002-09-11  Angus Leeming  <leeming@lyx.org>
8649
8650         * lyxserver.C (read_ready): re-write to make it more transparent
8651         and to make it work in coherent fashion under Tru64 Unix.
8652
8653 2002-09-11  André Pönitz <poenitz@gmx.net>
8654
8655         * commandtags.h:
8656         * LyXAction.C:
8657         * text3.C: implement LFUN_WORDSEL
8658
8659 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8662         make floatlist_ a boost::shared_ptr<FloatList>
8663
8664         * lyxtextclass.C: include FloatList.h
8665         (LyXTextClass): initialize floatlist_
8666         (TextClassTags): add TC_NOFLOAT
8667         (Read): match "nofloat" to TC_NOFLOAT and use it.
8668         (readFloat): modify call to floatlist_
8669         (floats): ditto
8670         (floats): ditto
8671
8672         * FloatList.[Ch] (FloatList): remove commented out float
8673         initialization.
8674         (erase): new function
8675
8676 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8677
8678         * MenuBackend.C (expandToc): fix crash when there is no document
8679         open
8680
8681 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8682
8683         * many files: Add insetwrap.
8684
8685 2002-09-09  John Levon  <levon@movementarian.org>
8686
8687         * text2.C: remove confusing and awkward depth wraparound
8688
8689 2002-09-09  John Levon  <levon@movementarian.org>
8690
8691         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8692
8693         * buffer.h:
8694         * buffer.C: remove getIncludeonlyList()
8695
8696         * paragraph.C:
8697         * lyxfunc.C: remove headers
8698
8699 2002-09-09  Juergen Vigna  <jug@sad.it>
8700
8701         * text.C (getColumnNearX): fix form Michael this is most
8702         probably a cut&paste bug.
8703
8704 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8705
8706         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8707
8708         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8709         references, ws changes.
8710
8711         * text2.C (init): update counters after init
8712         (insertParagraph): no need to set counter on idividual paragraphs.
8713         (setCounter): access the counters object in the textclass object
8714         on in the buffer object.
8715         (updateCounters): ditto
8716
8717         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8718         shared_ptr<Counters> to avoid loading counters.h in all
8719         compilation units.
8720         (LyXTextClass): initialize ctrs_
8721         (TextClassTags): add TC_COUNTER, and ...
8722         (Read): use it here.
8723         (CounterTags): new tags
8724         (readCounter): new function
8725         (counters): new funtion
8726         (defaultLayoutName): return a const reference
8727
8728         * counters.C (Counters): remove contructor
8729         (newCounter): remove a couple of unneeded statements.
8730         (newCounter): simplify a bit.
8731         (numberLabel): some small formatting changes.
8732
8733         * buffer.[Ch]: remove all traces of counters, move the Counters
8734         object to the LyXTextClass.
8735
8736 2002-09-06  Alain Castera  <castera@in2p3.fr>
8737
8738         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8739         package to set the horizontal alignment on fixed width columns.
8740
8741         * lyx_sty.C:
8742         * lyx_sty.h: added tabularnewline macro def.
8743
8744         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8745
8746 2002-09-06  John Levon  <levon@movementarian.org>
8747
8748         * LyXAction.C: tooltips for sub/superscript
8749
8750         * MenuBackend.C: a bit more verbose
8751
8752         * lyxfunc.C: tiny clean
8753
8754         * undo_funcs.C: document undo_frozen
8755
8756 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8757
8758         * counters.C (Counters): add missing algorithm counter.
8759
8760         * text2.C (setCounter): lookup the counter with layouts latexname
8761         instead of by section number.
8762         (setCounter): use a hackish way to lookup the correct enum
8763         counter.
8764         a float name->type change
8765         reset enum couners with counter name directly instead of depth value.
8766
8767         * counters.C (Counters): remove the push_backs, change to use the
8768         float type not the float name.
8769         (labelItem): remove unused string, float name->type change
8770
8771         * counters.h: don't include vector, loose the enums and sects vectors
8772
8773 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8774
8775         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8776         (Read): add float->TC_FLOAT to textclassTags
8777         (Read): and handle it in the switch
8778         (readFloat): new function
8779
8780         * FloatList.C (FloatList): comment out the hardcoded float
8781         definitions.
8782
8783         * lyxlayout.h: ws change.
8784
8785 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8786
8787         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8788
8789 2002-09-03  Angus Leeming  <leeming@lyx.org>
8790
8791         * BufferView_pimpl.h: qualified name is not allowed in member
8792         declaration: WorkArea & Pimpl::workarea() const;
8793
8794         * factory.C: added using std::endl directive.
8795
8796         * text3.C: added using std::find and std::vector directives.
8797
8798 2002-08-29  André Pönitz <poenitz@gmx.net>
8799
8800         * lyxtext.h:
8801         * text2.C: remove unused member number_of_rows
8802
8803         * Makefile.am:
8804         * BufferView2.C: remove file, move contents to...
8805         * BufferView.C: ... here
8806
8807         * BufferView_pimpl.C:
8808         * factory.C: move more inset creation to factory
8809
8810         * vspace.C: avoid direct usage of LyXText, ws changes
8811
8812         * BufferView.[Ch]:
8813                 don't provide direct access to WorkArea, use two simple
8814                 acessors haveSelction() and workHeight() instead
8815
8816
8817 2002-08-29  John Levon  <levon@movementarian.org>
8818
8819         * BufferView_pimpl.C (dispatch): do not continue when
8820           no buffer
8821
8822 2002-08-28  André Pönitz <poenitz@gmx.net>
8823
8824         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8825
8826         * BufferView.h:
8827         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8828
8829 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8830
8831         * buffer.C: increment LYX_FORMAT to 221
8832
8833         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8834         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8835
8836         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8837
8838         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8839
8840 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8841
8842         * factory.C (createInset): use LyXTextClass::floats
8843
8844         * MenuBackend.C (expandFloatListInsert):
8845         (expandFloatInsert):
8846         (expandToc):
8847
8848         * text2.C (setCounter):
8849
8850         * LaTeXFeatures.C (useFloat):
8851         (getFloatDefinitions):
8852
8853         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8854
8855         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8856         floatlist_, with accessor floats().
8857
8858         * FloatList.h: remove global FloatList
8859
8860 2002-08-26  André Pönitz <poenitz@gmx.net>
8861
8862         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8863
8864         * BufferView.h:
8865         * BufferView2.C:
8866         * BufferView_pimpl.C:
8867         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8868
8869 2002-08-25  John Levon  <levon@movementarian.org>
8870
8871         * LyXAction.C: fix margin note description
8872
8873 2002-08-24  John Levon  <levon@movementarian.org>
8874
8875         * buffer.C:
8876         * bufferlist.C:
8877         * bufferview_funcs.C:
8878         * lyxfont.C:
8879         * undo_funcs.C: cleanups
8880
8881         * lyxfunc.C: disable CUT/COPY when no selection
8882
8883 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8884
8885         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8886         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8887
8888         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8889         Add backward compatibility to "mono", "gray" and "no".
8890
8891 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8892
8893         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8894         (and file_format >= 200).
8895
8896 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8897
8898         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8899
8900 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8901
8902         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8903
8904 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8905
8906         * BufferView_pimpl.C:
8907         * LyXAction.C:
8908         * buffer.C:
8909         * commandtags.h:
8910         * lyxfunc.C:
8911         * paragraph.[Ch]:
8912         * text2.C:
8913         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8914         inset and code to make it  work with the paragraph code. The inset
8915         can be anywhere in the paragraph, but will only do the expected
8916         thing in LaTeX if the layout file contains the parameter line
8917                         OptionalArgs    1
8918         (or more generally, a nonzero value) for that layout.
8919
8920 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8921
8922         * paragraph.h: remove the declaration of undefined counters class
8923         function.
8924
8925 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8926
8927         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8928         Dr. Richard Hawkins.
8929
8930 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8931
8932         * paragraph_funcs.h: remove some unneeded includes
8933
8934         * text.C (backspace): pasteParagraph now in global scipe
8935
8936         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8937         (pasteSelection): ditto
8938
8939         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8940         * paragraph_funcs.C (pasteParagraph): ... here
8941
8942 2002-08-20  André Pönitz <poenitz@gmx.net>
8943
8944         * commandtags.h: new LFUNs for swapping/copying table row/colums
8945
8946         * LyXAction.C:
8947         * lyxfunc.C: support for new lfuns
8948
8949 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8950
8951         * tabular.C:
8952         * buffer.[Ch]: remove NO_COMPABILITY stuff
8953
8954 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8955
8956         * boost.C (throw_exception): new file, with helper function for
8957         boost compiled without exceptions.
8958
8959         * paragraph.h:
8960         * lyxlength.C:
8961         * buffer.C:
8962         * ParameterStruct.h:
8963         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8964
8965         * bufferlist.C (emergencyWriteAll): use boost bind
8966
8967         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8968
8969         * text.C: include paragraph_funcs.h
8970         (breakParagraph): breakParagraph is now in global scope
8971
8972         * paragraph_funcs.[Ch]: new files
8973
8974         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8975         global scope
8976
8977         * buffer.C: include paragraph_funcs.h
8978         (insertStringAsLines): breakParagraph is now in global scope
8979
8980         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8981         paragraph_funcs.C
8982
8983         * CutAndPaste.C: include paragraph_funcs.h
8984         (cutSelection): breakParagraphConservative is now in global scope
8985         (pasteSelection): ditto
8986
8987         * buffer.h: declare oprator== and operator!= for
8988         Buffer::inset_iterator
8989
8990         * bufferlist.C (emergencyWrite): don't use fmt(...)
8991
8992         * text3.C: add using std::endl
8993
8994         * BufferView.C (moveCursorUpdate): remove default arg
8995
8996 2002-08-20  André Pönitz <poenitz@gmx.net>
8997
8998         * buffer.[Ch]: move inline functions to .C
8999
9000         * BufferView2.C:
9001         * BufferView_pimpl.C:
9002         * text.C:
9003         * buffer.[Ch]: use improved inset_iterator
9004
9005         * buffer.C:
9006         * paragraph.[Ch]: write one paragraph at a time
9007
9008 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9009
9010         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9011         style if style is not specified.
9012
9013 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9014
9015         * text2.C (setCounter): when searching for right label for a
9016         caption, make sure to recurse to parent insets (so that a caption
9017         in a minipage in a figure float works) (bug #568)
9018
9019 2002-08-20  André Pönitz <poenitz@gmx.net>
9020
9021         * text3.C: new file for LyXText::dispatch() and helpers
9022
9023         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9024
9025         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9026
9027 2002-08-19  André Pönitz <poenitz@gmx.net>
9028
9029         * lyxtext.h:
9030         * text.C: new LyXText::dispatch()
9031
9032         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9033
9034 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9035
9036         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9037
9038         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9039         Hebrew text.
9040
9041 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9042
9043         * Makefile.am: use $(variables) instead of @substitutions@
9044
9045 2002-08-15  André Pönitz <poenitz@gmx.net>
9046
9047         * lyxfunc.C:
9048         * BufferView_pimpl.C: streamlining mathed <-> outer world
9049         interaction
9050
9051         * commandtags.h:
9052         * LyXAction.C: remove unused LFUN_MATH
9053
9054 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9055
9056         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9057
9058 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9059
9060         * paragraph.C (Paragraph): reformat a bit
9061         (cutIntoMinibuffer): use builtin InsetList function instad of
9062         doing it manually.
9063         (getInset): ditto
9064
9065         * buffer.C: include boost/bind.hpp, add using std::for_each
9066         (writeFileAscii): use ParagraphList iterators
9067         (validate): use for_each for validate traversal of paragraphs
9068         (getBibkeyList): use ParagraphList iterators
9069         (resizeInsets): use for_each to resizeInsetsLyXText for all
9070         paragraphs.
9071         (getParFromID): use ParagraphList iterators
9072
9073         * BufferView2.C (lockInset): use paragraph list and iterators
9074
9075 2002-08-14  John Levon  <levon@movementarian.org>
9076
9077         * lyxserver.C: remove spurious xforms include
9078
9079 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9080
9081         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9082
9083 2002-08-13  André Pönitz <poenitz@gmx.net>
9084
9085         * LyXAction.[Ch]:
9086         * lyxfunc.C: further cleaning
9087
9088 2002-08-13  André Pönitz <poenitz@gmx.net>
9089
9090         * funcrequest.h: new constructor
9091
9092         * funcrequest.C: move stuff here from .h
9093
9094         * Makefile.am:
9095         * BufferView_pimpl.C:
9096         * LyXAction.C:
9097         * toc.C:
9098         * lyxfunc.C: subsequent changes
9099
9100         * lyxfunc.h: new view() member function
9101
9102         * lyxfunc.C: subsequent changes
9103
9104 2002-08-13  Angus Leeming  <leeming@lyx.org>
9105
9106         * BufferView2.C:
9107         * BufferView_pimpl.C:
9108         * buffer.C:
9109         * converter.C:
9110         * importer.C:
9111         * lyxfunc.C:
9112         * lyxvc.C:
9113         * toc.C:
9114         * vc-backend.C:
9115         changes due to the changed LyXView interface that now returns references
9116         to member variables not pointers.
9117
9118 2002-08-13  Angus Leeming  <leeming@lyx.org>
9119
9120         * WordLangTuple (word, lang_code): return references to strings,
9121         not strings.
9122
9123         * BufferView.h:
9124         * SpellBase.h:
9125         * lyxtext.h: forward-declare WordLangTuple.
9126
9127         * BufferView2.C:
9128         * ispell.C:
9129         * pspell.C:
9130         * text.C: #include "WordLangTuple.h".
9131
9132         * lyxtext.h:
9133         * text.C: (selectNextWordToSpellcheck): constify return type.
9134
9135 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9136
9137         * buffer.C:
9138         * buffer.h:
9139         * lyxtext.h:
9140         * paragraph.C:
9141         * paragraph_pimpl.h:
9142         * text.C:
9143         * text2.C:
9144         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9145         suggested by Angus.
9146         Made updateCounter always count from start of buffer, and removed
9147         second argument (par).
9148         Reverted floats number display to '#'. Perhaps I'll try again when the
9149         code base is sanitized a bit.
9150
9151 2002-08-12  Angus Leeming  <leeming@lyx.org>
9152
9153         * buffer.[Ch] (getLabelList): constify.
9154
9155 2002-08-07  André Pönitz <poenitz@gmx.net>
9156
9157         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9158
9159         * funcrequest.h: extension to keep mouse (x,y) position
9160
9161 2002-08-12  Juergen Vigna  <jug@sad.it>
9162
9163         * BufferView2.C (insertErrors): forbid undo when inserting error
9164         insets.
9165
9166         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9167
9168 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9169
9170         * ParagraphList.[Ch]: new files
9171
9172         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9173
9174         * BufferView2.C (lockInset): ParagraphList changes
9175         * toc.C: ditto
9176         * text2.C: ditto
9177         * bufferlist.C: ditto
9178         * buffer.h: ditto
9179         * buffer.C: ditto
9180
9181 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9182
9183         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9184         unused class variable counter_,
9185
9186         * paragraph.[Ch] (getFirstCounter): delete unused function
9187
9188         * counters.C: include LAssert.h
9189         (reset): add a new function with no arg, change other version to
9190         not have def. arg and to not allow empty arg.
9191
9192         * text2.C (setCounter): remove empty arg from call to Counters::reset
9193
9194 2002-08-11  John Levon  <levon@movementarian.org>
9195
9196         * Makefile.am: add WordLangTuple.h
9197
9198 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9199
9200         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9201         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9202
9203         * insets/insettext.C: InsetList changes
9204
9205         * graphics/GraphicsSupport.C (operator()): InsetList changes
9206
9207         * toc.C (getTocList): InsetList changes
9208
9209         * paragraph_pimpl.[Ch]: InsetList changes
9210
9211         * paragraph.[Ch]: InsetList changes
9212
9213         * buffer.C (inset_iterator): InsetList changes
9214         (setParagraph): ditto
9215         * buffer.h (inset_iterator): ditto
9216         * iterators.C (operator++): ditto
9217         * iterators.h: ditto
9218
9219         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9220
9221         * InsetList.[Ch]: new files, most InsetList handling moved out of
9222         paragraph.C.
9223
9224         * BufferView2.C (removeAutoInsets): InsetList changes
9225         (lockInset): ditto
9226         (ChangeInsets): ditto
9227
9228 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9229
9230         * paragraph_pimpl.h (empty): new function
9231
9232         * paragraph.[Ch] (empty): new function
9233
9234         * other files: use the new Paragraph::empty function
9235
9236 2002-08-09  John Levon  <levon@movementarian.org>
9237
9238         * lyxtext.h: remove unused refresh_height
9239
9240 2002-08-09  John Levon  <levon@movementarian.org>
9241
9242         * Makefile.am:
9243         * sgml.h:
9244         * sgml.C:
9245         * buffer.C:
9246         * paragraph.h:
9247         * paragraph.C: move sgml char escaping out of paragraph
9248
9249         * paragraph.h:
9250         * paragraph.C: remove id setter
9251
9252         * buffer.C:
9253         * paragraph.C:
9254         * paragraph_pimpl.C: remove dead tex_code_break_column
9255
9256         * bufferview_funcs.C: small cleanup
9257
9258         * lyxfunc.C: remove dead proto
9259
9260         * lyxtext.h: make some stuff private. Remove some dead stuff.
9261
9262         * lyxgluelength.C: make as[LyX]String() readable
9263
9264 2002-08-08  John Levon  <levon@movementarian.org>
9265
9266         * LyXAction.h:
9267         * LyXAction.C:
9268         * MenuBackend.C:
9269         * ToolbarDefaults.C:
9270         * lyxfunc.C:
9271         * lyxrc.C:
9272         * toc.C: lyxaction cleanup
9273
9274 2002-08-08  John Levon  <levon@movementarian.org>
9275
9276         * BufferView2.C: small cleanup
9277
9278         * lyxfind.h:
9279         * lyxfind.C: move unnecessary header into the .C
9280
9281 2002-08-08  John Levon  <levon@movementarian.org>
9282
9283         * funcrequest.h: just tedious nonsense
9284
9285         * lyx_main.h:
9286         * lyx_main.C: cleanups
9287
9288         * buffer.C:
9289         * vspace.C: remove dead header lyx_main.h
9290
9291 2002-08-07  Angus Leeming  <leeming@lyx.org>
9292
9293         * Paragraph.[Ch]:
9294         * paragraph_pimpl.h:
9295         Forward declare class Counters in paragraph.h by moving the ctrs member
9296         variable into Paragraph::Pimpl.
9297         (counters): new method, returning a reference to pimpl_->ctrs.
9298
9299         * text2.C: ensuing changes.
9300
9301 2002-08-07  John Levon  <levon@movementarian.org>
9302
9303         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9304
9305         * BufferView_pimpl.C: announce X selection on double/triple
9306           click
9307
9308         * lyx_main.C: use correct bool in batch dispatch
9309
9310         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9311
9312 2002-08-07  André Pönitz <poenitz@gmx.net>
9313
9314         * funcrequest.h: new class to wrap a kb_action and its argument
9315
9316         * BufferView.[Ch]:
9317         * BufferView_pimpl[Ch]:
9318         * LaTeX.C:
9319         * LyXAction.[Ch]:
9320         * lyxfunc.[Ch]:
9321         * lyxrc.C: subsequent changes
9322
9323
9324 2002-08-07  John Levon  <levon@movementarian.org>
9325
9326         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9327           document options change.
9328
9329 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9330
9331         * counters.[Ch]
9332         * text2.C
9333         * paragraph.[Ch]
9334         * makefile.am: move counters functionality over from
9335         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9336
9337 2002-08-06  John Levon  <levon@movementarian.org>
9338
9339         * WordLangTuple.h: new file for word + language code tuple
9340
9341         * SpellBase.h:
9342         * pspell.h:
9343         * pspell.C:
9344         * ispell.h:
9345         * ispell.C:
9346         * lyxtext.h:
9347         * text.C:
9348         * text2.C:
9349         * BufferView.h:
9350         * BufferView2.C: use WordLangTuple
9351
9352         * layout.h:
9353         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9354
9355 2002-08-06  John Levon  <levon@movementarian.org>
9356
9357         * lyx_main.C: fix cmdline batch handling
9358
9359 2002-08-06  André Pönitz <poenitz@gmx.net>
9360
9361         * lyxrc.C: set default for show_banner to true
9362
9363 2002-08-06  John Levon  <levon@movementarian.org>
9364
9365         * pspell.C: fix a crash, and allow new aspell to work
9366
9367 2002-08-06  John Levon  <levon@movementarian.org>
9368
9369         * lyxfunc.C:
9370         * kbmap.C: small cleanup
9371
9372         * vspace.h:
9373         * vspace.C: add const
9374
9375 2002-08-05  John Levon  <levon@movementarian.org>
9376
9377         * LyXAction.C: back to tabular-insert
9378
9379 2002-08-04  John Levon  <levon@movementarian.org>
9380
9381         * BufferView.h:
9382         * BufferView.C: cosmetic change
9383
9384         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9385
9386         * bufferlist.C:
9387         * buffer.h:
9388         * buffer.C:
9389         * lyxcb.h:
9390         * lyxcb.C:
9391         * lyxserver.C:
9392         * lyxvc.C:
9393         * vc-backend.C:
9394         * BufferView2.C: purge all "Lyx" not "LyX" strings
9395
9396         * lyxcursor.h:
9397         * lyxcursor.C: attempt to add some documentation
9398
9399         * lyxfunc.C:
9400         * commandtags.h:
9401         * LyXAction.C:
9402         * ToolbarDefaults.C:
9403         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9404           merge with LFUN_TABULAR_INSERT
9405
9406         * Makefile.am:
9407         * SpellBase.h:
9408         * ispell.h:
9409         * ispell.C:
9410         * pspell.h:
9411         * pspell.C: split up i/pspell implementations into separate
9412           files, many cleanups
9413
9414         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9415
9416         * text2.C: some cleanup
9417
9418         * lyxfunc.C: don't check for isp_command == "none" any more, it
9419           didn't make any sense
9420
9421 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9422
9423         * counters.[Ch]
9424         * text2.C
9425         * paragraph.[Ch]
9426         * makefile.am: move counters functionality over
9427         from text2.C/paragraph.[Ch] to counters.[Ch], and
9428         make proper C++.
9429 2002-08-02  John Levon  <levon@movementarian.org>
9430
9431         * buffer.C: s/lyxconvert/lyx2lyx/
9432
9433 2002-08-02  Angus Leeming  <leeming@lyx.org>
9434
9435         * lyxlex.C: revert John's change as it breaks reading of the user
9436         preamble.
9437
9438 2002-08-02  Angus Leeming  <leeming@lyx.org>
9439
9440         * importer.C (Import):
9441         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9442         changes due to LyXView::view() now returning a boost::shared_ptr.
9443
9444 2002-08-02  John Levon  <levon@movementarian.org>
9445
9446         * lyxlex.C: small cleanup
9447
9448 2002-08-02  John Levon  <levon@movementarian.org>
9449
9450         * text2.C (status): small cleanup, no logic change
9451
9452 2002-08-01  John Levon  <levon@movementarian.org>
9453
9454         * buffer.h:
9455         * buffer.C (writeFile): don't output alerts, caller
9456           handles this
9457
9458         * bufferlist.C:
9459         * lyx_cb.C: from above
9460
9461         * lyxfunc.C: allow to open non-existent files
9462
9463 2002-07-31  John Levon  <levon@movementarian.org>
9464
9465         * lyxserver.C: don't let incidental errors get
9466           in the way (errno)
9467
9468 2002-07-30  John Levon  <levon@movementarian.org>
9469
9470         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9471
9472 2002-07-30  John Levon  <levon@movementarian.org>
9473
9474         * lyxserver.h:
9475         * lyxserver.C: remove I/O callback too
9476
9477 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9478
9479         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9480         log.
9481
9482 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9483
9484         * many files: strip,frontStrip -> trim,ltrim,rtrim
9485
9486 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9487
9488         * PrinterParams.h: remove extern containsOnly, and include
9489         support/lstrings.h instead.
9490
9491         * LaTeX.C (scanAuxFile): modify because of strip changes
9492         (deplog): ditto
9493         * buffer.C (makeLaTeXFile): ditto
9494         * bufferparams.C (writeFile): ditt
9495         * lyxfont.C (stateText): ditto
9496         * lyxserver.C (read_ready): ditto
9497         * vc-backend.C (scanMaster): ditto
9498
9499         * BufferView_pimpl.h: ws changes
9500
9501         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9502
9503 2002-07-26  André Pönitz <poenitz@gmx.net>
9504
9505         * kb_sequence.C: remove unnedred usings
9506
9507 2002-07-26  Juergen Vigna  <jug@sad.it>
9508
9509         * lyxfind.C (LyXReplace): we have to check better if the returned
9510         text is not of theLockingInset()->getLockingInset().
9511
9512 2002-07-25  Juergen Vigna  <jug@sad.it>
9513
9514         * lyxfind.C (LyXReplace): don't replace if we don't get the
9515         right LyXText.
9516
9517         * undo_funcs.C (createUndo): remove debugging code.
9518
9519 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9520
9521         * buffer.C (parseSingleLyXformat2Token): Use default placement
9522         when reading old floats.
9523
9524         * FloatList.C (FloatList): Change the default placement of figure
9525         and tables to "tbp".
9526
9527 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * MenuBackend.C: using std::max
9530
9531 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9532
9533         * MenuBackend.C (expandToc):
9534         (expandToc2): code moved from xforms menu frontend. It is now
9535         generic and TOCs are transparent to menu frontends.
9536
9537 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9538
9539         * toc.C (getTocList): protect against buf=0
9540
9541         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9542         Menu as first parameter. Now, this calls itself recursively to
9543         expand a whole tree (this will be useful for TOC handling)
9544         (expandFloatInsert): remove 'wide' version of floats
9545
9546         * MenuBackend.h (submenuname): returns the name of the submenu.
9547         (submenu): returns the submenu itself, provided it has been
9548         created by MenuBackend::expand
9549
9550 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9551
9552         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9553         insets which have noFontChange == true. (bug #172)
9554
9555 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9556
9557         * BufferView_pimpl.C: add connection objects and use them...
9558         (Pimpl): here.
9559
9560 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9561
9562         * MenuBackend.C (expandLastfiles):
9563         (expandDocuments):
9564         (expandFormats):
9565         (expandFloatListInsert):
9566         (expandFloatInsert):
9567         (expand): split expand in parts
9568
9569 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9570
9571         * lyx_gui.C: use lyx_gui::exit()
9572
9573 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9574
9575         * LyXAction.C: show the failing pseudo action
9576
9577 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9578
9579         * buffer.C (readFile): Run the lyxconvert script in order to read
9580         old files.
9581
9582 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9583
9584         * LyXAction.C:
9585         * commandtags.h:
9586         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9587
9588 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9589
9590         * LyXAction.C:
9591         * commandtags.h:
9592         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9593
9594 2002-07-22  Herbert Voss  <voss@lyx.org>
9595
9596         * lengthcommon.C:
9597         * lyxlength.[Ch]: add support for the vertical lengths
9598
9599 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9600
9601         * toc.[Ch]: std:: fixes
9602
9603 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9604
9605         * lyxrc.C: do not include lyx_main.h
9606
9607         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9608         for layouts
9609
9610         * lyxrc.C:
9611         * encoding.C:
9612         * bufferlist.C:
9613         * BufferView2.C: include "lyxlex.h"
9614
9615         * tabular.h:
9616         * bufferparams.h: do not #include "lyxlex.h"
9617
9618         * lyxtextclasslist.C (Add): remove method
9619         (classlist): renamed to classlist_
9620
9621         * paragraph_pimpl.C:
9622         * paragraph.C:
9623         * text2.C:
9624         * CutAndPaste.C:
9625         * bufferview_funcs.C:
9626         * bufferlist.C:
9627         * text.C:
9628         * LaTeXFeatures.C:
9629         * buffer.C:
9630         * toc.C (getTocList): use BufferParams::getLyXTextClass
9631
9632         * toc.C (getTocList): use InsetFloat::addToToc
9633
9634         * toc.[Ch]: new files, containing helper functions to handle table
9635         of contents
9636
9637         * lyxfunc.C (dispatch): no need to remove spaces around command
9638         given as a string
9639         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9640         first command of the sequence; it is not very clever, but I do not
9641         have a better idea, actually
9642
9643         * LyXAction.C (LookupFunc): make sure to remove space at the
9644         beginning and end of the command
9645
9646 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9647
9648         * MenuBackend.C (getMenubar): new method: return the menubar of
9649         this menu set
9650         (read): treat differently reading of menu and menubar (in
9651         particular, the menubar has no name now)
9652         (Menu::menubar): remove
9653
9654         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9655         saving is finished
9656
9657 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9658
9659         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9660         a bibitem inset in a RTL paragraph.
9661
9662 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9663
9664         * paragraph_pimpl.C: constify
9665
9666         * BufferView_pimpl.C:
9667         * LaTeX.C:
9668         * lyxfunc.C: fix dispatch in a nicer way
9669
9670 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9671
9672         * lyxfunc.C (dispatch):
9673         * BufferView_pimpl.C:
9674         * BufferView_pimpl.h:
9675         * BufferView.C:
9676         * BufferView.h: rename Dispatch() to dispatch()
9677
9678         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9679
9680         * lyxlayout.C (Read): honor DependsOn tag
9681
9682         * lyxlayout.[Ch] (depends_on): new method
9683
9684         * version.C.in: update lyx_docversion
9685
9686         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9687
9688         * paragraph.C (validate): remove from here...
9689         * paragraph_pimpl.C (validate): ... and move here
9690         (isTextAt): make it const
9691
9692         * buffer.C (getLists): ws cleanup
9693
9694 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9695
9696         * language.C (read): Use iso8859-1 encoding in latex_lang
9697         (this prevents LyX from crashing when using iso10646-1 encoding).
9698
9699 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9700
9701         * text2.C (toggleInset): if cursor is inside an inset, close the
9702         inset and leave cursor _after_ it
9703
9704 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9705
9706         * lyxfunc.C: move minibuffer completion handling out of here
9707
9708 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9709
9710         * BufferView_pimpl.C:
9711         * LaTeX.C: fix dispatch calls
9712
9713 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9714
9715         * text.C (drawChars): Fix Arabic text rendering.
9716
9717 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9718
9719         * LyXAction.C:
9720         * commandtags.h:
9721         * lyxfunc.C: remove message-push/pop
9722
9723         * lyxserver.C:
9724         * lyxfunc.h:
9725         * lyxfunc.C: rationalise some code by removing verboseDispatch
9726           in favour of a bool argument to dispatch()
9727
9728 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9729
9730         * lyx_main.C (init): make sure to read symlinks as absolute paths
9731
9732 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9733
9734         * lyxfunc.h:
9735         * lyxfunc.C: no need for commandshortcut to be a member
9736
9737 2002-07-15  André Pönitz <poenitz@gmx.net>
9738
9739         * converter.C: add support for $$s (scripts from lib/scripts dir)
9740         * lyx_main.C: white space
9741
9742 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * bufferlist.C:
9745         * lyxrc.h:
9746         * lyxrc.C: remove second exit confirmation
9747
9748 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9749
9750         * BufferView.h:
9751         * BufferView.C:
9752         * BufferView2.C:
9753         * BufferView_pimpl.h:
9754         * BufferView_pimpl.C:
9755         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9756
9757 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9758
9759         * MenuBackend.C (expand): add numeric shortcuts to document menu
9760
9761         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9762
9763 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9764
9765         * lyxfont.C (setLyXFamily):
9766         (setLyXSeries):
9767         (setLyXShape):
9768         (setLyXSize):
9769         (setLyXMisc):
9770         (lyxRead):
9771         * debug.C (value):
9772         * buffer.C (asciiParagraph): use ascii_lowercase
9773
9774 2002-07-15  Mike Fabian  <mfabian@suse.de>
9775
9776         * lyxlex_pimpl.C (search_kw):
9777         * lyxlex.C (getLongString):
9778         * converter.h (operator<):
9779         * converter.C (operator<):
9780         * buffer.C (parseSingleLyXformat2Token):
9781         (asciiParagraph):
9782         * ToolbarDefaults.C (read):
9783         * MenuBackend.C (checkShortcuts):
9784         (read):
9785         * LColor.C (getFromGUIName):
9786         (getFromLyXName): use the compare_ascii_no_case instead of
9787         compare_no_case, because in turkish, 'i' is not the lowercase
9788         version of 'I', and thus turkish locale breaks parsing of tags.
9789
9790 2002-07-16  Angus Leeming  <leeming@lyx.org>
9791
9792         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9793         now takes a Buffer const & argument.
9794
9795 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * BufferView.C (resize): check there's a buffer to resize
9798
9799 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9800
9801         * lyxfunc.C: remove dead code
9802
9803         * lyxserver.h:
9804         * lyxserver.C: use lyx_guii::set_read_callback
9805
9806 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9807
9808         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9809         an inset in a RTL paragraph.
9810
9811 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9812
9813         * lyxfunc.C: repaint after a font size update
9814
9815 2002-07-15  André Pönitz <poenitz@gmx.net>
9816
9817         * lyxlength.C: inBP should be able to return negative values
9818
9819 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9820
9821         * lyxfunc.C: use lyx_gui::update_fonts()
9822
9823 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9824
9825         * lyxfunc.C: use lyx_gui::update_color()
9826
9827 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9828
9829         * bufferlist.C:
9830         * lyxfunc.h:
9831         * lyxfunc.C:
9832         * lyxrc.h:
9833         * lyxrc.C: remove file->new asks for name option, and let
9834           buffer-new take an argument
9835
9836 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9837
9838         * BufferView_pimpl.C: remove unneeded extra repaint()
9839
9840 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9841
9842         * LyXAction.C: allow command-sequence with NoBuffer
9843
9844         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9845
9846 2002-07-10  Angus Leeming  <leeming@lyx.org>
9847
9848         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9849
9850 2002-07-09  Angus Leeming  <leeming@lyx.org>
9851
9852         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9853
9854 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9855
9856         * lengthcommon.h: whitespace
9857
9858         * lyxfunc.C: update scrollbar after goto paragraph
9859
9860         * lyxtext.h: factor out page break drawing, and fix it so
9861           page break/added space paints as selected nicely
9862
9863 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9864
9865         * BufferView_pimpl.C: add FIXMEs, clean up a little
9866
9867 2002-07-09  André Pönitz <poenitz@gmx.net>
9868
9869         * lyxfont.[Ch]: support for wasy symbols
9870
9871 2002-07-08  André Pönitz <poenitz@gmx.net>
9872
9873         * BufferView_pimpl.C: apply John's patch for #93.
9874
9875 2002-07-05  Angus Leeming  <leeming@lyx.org>
9876
9877         * BufferView_pimpl.C (buffer): generate previews if desired.
9878
9879         * LColor.h: add "preview" to the color enum.
9880
9881         * LColor.C (LColor): add a corresponding entry to the items array.
9882
9883         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9884         with this buffer.
9885
9886 2002-07-05  Angus Leeming  <leeming@lyx.org>
9887
9888         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9889         The body of the code is now in the method that is passed an ostream &
9890         rather than a file name.
9891         Pass an additional only_preamble parameter, useful for the forthcoming
9892         preview stuff.
9893
9894 2002-07-03  André Pönitz <poenitz@gmx.net>
9895
9896         * lyxfunc.C: simplify getStatus() a bit for math stuff
9897
9898 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9899
9900         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9901
9902 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9903
9904         * text.C (changeRegionCase): do not change case of all the
9905         document when region ends at paragraph end (bug #461)
9906
9907 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9908
9909         * paragraph.C (startTeXParParams):
9910         (endTeXParParams): add \protect when necessary
9911
9912 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9913
9914         * BufferView_pimpl.C (workAreaExpose): remove warning
9915
9916 2002-06-27  Angus Leeming  <leeming@lyx.org>
9917
9918         * Makefile.am: add lyxlayout_ptr_fwd.h.
9919
9920 2002-06-26  André Pönitz <poenitz@gmx.net>
9921
9922         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9923
9924 2002-06-25  Angus Leeming  <leeming@lyx.org>
9925
9926         * lyxfunc.C (dispatch): Comment out the call to
9927         grfx::GCache::changeDisplay. The method no longer exists now that the
9928         pixmap generation part of the graphics loader has been moved into
9929         InsetGraphics.
9930
9931 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9932
9933         * text2.C: layout as layout
9934
9935         * text.C: layout as layout
9936
9937         * tabular.C (OldFormatRead): layout as layout
9938
9939         * paragraph_pimpl.C (TeXDeeper): layout as layout
9940         (realizeFont): layout as layout
9941
9942         * paragraph.C (writeFile): layout as layout
9943         (validate): layout as layout
9944         (getFont): layout as layout
9945         (getLabelFont): layout as layout
9946         (getLayoutFont): layout as layout
9947         (breakParagraph): layout as layout
9948         (stripLeadingSpaces): layout as layout
9949         (getEndLabel): layout as layout
9950         (getMaxDepthAfter): layout as layout
9951         (applyLayout): layout as layout
9952         (TeXOnePar): layout as layout
9953         (simpleTeXOnePar): layout as layout
9954         (TeXEnvironment): layout as layout
9955         (layout): layout as layout
9956         (layout): layout as layout
9957
9958         * lyxtextclass.C (compare_name): new functor to work with
9959         shared_ptr, layout as layout
9960         (Read): layout as layout
9961         (hasLayout): layout as layout
9962         (operator): layout as layout
9963         (delete_layout): layout as layout
9964         (defaultLayout): layout as layout
9965
9966         * lyxlayout_ptr_fwd.h: new file
9967
9968         * lyxlayout.C (Read): layout as layout
9969
9970         * lyx_cb.C (MenuInsertLabel): layout as layout
9971
9972         * bufferlist.C (newFile): layout as layout
9973
9974         * buffer.C (readLyXformat2): layout as layout
9975         (parseSingleLyXformat2Token): layout as layout
9976         (insertStringAsLines): layout as layout
9977         (asciiParagraph): layout as layout
9978         (latexParagraphs): layout as layout
9979         (makeLinuxDocFile): layout as layout
9980         (simpleLinuxDocOnePar): layout as layout
9981         (makeDocBookFile): layout as layout
9982         (simpleDocBookOnePar): layout as layout
9983         (getLists): layout as layout
9984
9985         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9986
9987         * CutAndPaste.C (cutSelection): layout as layout
9988         (pasteSelection): layout as layout
9989         (SwitchLayoutsBetweenClasses): layout as layout
9990
9991         * BufferView_pimpl.C (Dispatch): layout as layout
9992         (smartQuote): layout as layout
9993
9994         * BufferView2.C (unlockInset): layout as layout
9995
9996 2002-06-24  André Pönitz <poenitz@gmx.net>
9997
9998         * lyxfunc.C: fix #487
9999
10000 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10001
10002         * lyxrc.h:
10003         * lyxrc.C:
10004         * lyxfunc.C: remove display_shortcuts, show_banner
10005
10006 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10007
10008         * Buffer_pimpl.C: oops, update on resize
10009
10010 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10011
10012         * buffer.C:
10013         * converter.C:
10014         * exporter.C:
10015         * lyxfunc.C:
10016         * BufferView.h:
10017         * BufferView.C: use repaint()
10018
10019         * BufferView_pimpl.h:
10020         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10021           as it's a clearer description. Remove superfluous
10022           redraws.
10023
10024 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10025
10026         * text.C: fix bug 488. Not ideal, but getting
10027           getWord() to work properly for the insets that
10028           matter is more difficult ...
10029
10030 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10031
10032         * BufferView_pimpl.C:
10033         * LyXAction.C:
10034         * commandtags.h:
10035         * lyxfunc.C: remove the six million index lyxfuncs to just
10036           one, and DTRT (bug 458)
10037
10038 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10039
10040         * BufferView.h:
10041         * BufferView.C:
10042         * BufferView_pimpl.h:
10043         * BufferView_pimpl.C: clean up resize() stuff,
10044           and unnecessary updateScreen()s
10045
10046 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10047
10048         * BufferView.h:
10049         * BufferView.C:
10050         * BufferView_pimpl.h:
10051         * BufferView_pimpl.C:
10052         * lyxfind.h:
10053         * lyxfind.C:
10054         * minibuffer.C: remove focus management of workarea,
10055           not needed. Use screen's greyOut()
10056
10057 2002-06-17  Herbert Voss  <voss@lyx.org>
10058
10059         * converter.C: (convert) do not post a message, when converting
10060         fails, let the calling function decide what to do in this case
10061
10062 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * lyxfunc.C: tidy up a little
10065
10066 2002-06-16    <alstrup@diku.dk>
10067
10068         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10069         Got rid of FORMS_H_LOCATION include. Now we are
10070         GUII.
10071
10072 2002-06-15  LyX Development team  <lyx@rilke>
10073
10074         * buffer.[Ch] (sgmlOpenTag):
10075         (sgmlCloseTag): Added support for avoiding pernicious mixed
10076         content. Return number of lines written.
10077
10078         (makeLinuxDocFile):
10079         (makeDocBookFile): Fixed calls to sgml*Tag.
10080         Simple white space clean.
10081
10082         (simpleDocBookOnePar): Simple white space clean.
10083
10084         * tabular.[Ch] (docBook): Renamed to docbook and got another
10085         argument to related with the pernicious mixed content.
10086
10087         (docbookRow): Fixed calls for docbook inset method.
10088
10089 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10090
10091         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10092         so it's X11 independent.
10093
10094         * kb*.[Ch]: ditto.
10095
10096         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10097
10098 2002-06-15  Lyx Development team  <lyx@electronia>
10099
10100         * intl.h: Renamed getTrans to getTransManager.
10101
10102 2002-06-14  Angus Leeming  <leeming@lyx.org>
10103
10104         * Makefile.am: nuke forgotten stl_string_fwd.h.
10105
10106 2002-06-12  Angus Leeming  <leeming@lyx.org>
10107
10108         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10109
10110 2002-06-13  Angus Leeming  <leeming@lyx.org>
10111
10112         * LaTeX.C:
10113         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10114
10115 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10116
10117         * kbmap.C (getiso): add support for cyrillic and greek
10118
10119 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10120
10121         * BufferView.h:
10122         * BufferView.C:
10123         * BufferView_pimpl.h:
10124         * BufferView_pimpl.C: move bogus scrolling logic
10125           to xforms
10126
10127 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10128
10129         * lyxfunc.C:
10130         * BufferView_pimpl.C: view->resize() change
10131
10132 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10133
10134         * BufferView_pimpl.C: topCursorVisible
10135           prototype change
10136
10137 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * Makefile.am:
10140         * lyx_gui.h:
10141         * lyx_gui.C: move to frontends/
10142
10143         * main.C:
10144         * lyx_main.h:
10145         * lyx_main.C: changes from above
10146
10147 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10148
10149         * intl.C:
10150         * intl.h:
10151         * kbmap.C:
10152         * kbsequence.C:
10153         * lyx_cb.C:
10154         * lyx_main.C: minor tidy
10155
10156 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10157
10158         * BufferView_pimpl.h:
10159         * BufferView_pimpl.C:
10160         * BufferView.h:
10161         * BufferView.C: make painter() const,
10162           remove dead code
10163
10164         * BufferView2.C: use screen() accessor
10165
10166         * lyx_main.h:
10167         * lyx_main.C: some minor cleanup
10168
10169 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * BufferView_pimpl.h:
10172         * BufferView_pimpl.C: remove enter/leaveView,
10173           use workHeight()
10174
10175 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10176
10177         * BufferView.h:
10178         * BufferView.C:
10179         * BufferView2.C:
10180         * BufferView_pimpl.h:
10181         * BufferView_pimpl.C: only construct screen once,
10182           rename
10183
10184         * lyxrc.C: remove pointless comment
10185
10186 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10187
10188         * BufferView.h:
10189         * BufferView.C: remove active() and belowMouse()
10190
10191         * BufferView_pimpl.h:
10192         * BufferView_pimpl.C: use workarea() not workarea_,
10193           and make it use a scoped_ptr instead
10194
10195 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10196
10197         * lyx_gui.C: add debug message on BadWindow
10198
10199 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10200
10201         * sp_spell.C: fdopen is not part of the C++ standard.
10202
10203         * paragraph.C (InsetIterator): use >= instead of ==
10204
10205 2002-06-07  Angus Leeming  <leeming@lyx.org>
10206
10207         Fixes needed to compile with Compaq cxx 6.5.
10208         * BufferView_pimpl.C:
10209         * DepTable.C:
10210         * buffer.C:
10211         * converter.C:
10212         * encoding.C:
10213         * lyx_gui.C:
10214         * lyx_main.C:
10215         * lyxtextclasslist.C:
10216         * minibuffer.C:
10217         * sp_spell.C:
10218         * tabular_funcs.C:
10219         * vc-backend.C:
10220         all c-library variables have been moved into namespace std. Wrap
10221         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10222
10223         * lyxlength.C:
10224         * tabular-old.C:
10225         * tabular.C:
10226         Add a using std::abs declaration.
10227
10228         * kbmap.h (modifier_pair):
10229         * paragraph.h (InsetTable, InsetList):
10230         * lyxfont.h (FontBits):
10231         type definition made public.
10232
10233         * bufferlist.C (emergencyWriteAll): the compiler complains that
10234         there is more than one possible lyx::class_fun template to choose from.
10235         I re-named the void specialisation as lyx::void_class_fun.
10236
10237         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10238
10239         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10240         the compiler is is unable to find tostr in write_attribute.
10241
10242 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10243
10244         * buffer.C (sgmlError): hide #warning
10245
10246 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10247
10248         * xtl/*: get rid of xtl, which is not in use anyway
10249
10250         * LyXAction.C (init):
10251         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10252         were unimplemented xtl experimentation
10253
10254 2002-06-04  André Pönitz <poenitz@gmx.net>
10255
10256         * lyxfunc.C: disable array operation on simple formulae
10257
10258 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10259
10260         * converter.C: constify a bit
10261
10262 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10263
10264         * lyx_gui.C: check xforms version correctly
10265
10266 2002-04-30  Herbert Voss  <voss@lyx.org>
10267
10268         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10269         "keep" option
10270
10271 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10272
10273         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10274           attempt to register it with a VCS)
10275
10276 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10277
10278         * lyx_main.C (init): honor variables LYX_DIR_13x and
10279         LYX_USERDIR_13x
10280
10281 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10282
10283         * buffer.h:
10284         * buffer.C:
10285         * lyx_main.C: fix a crash on bad command line,
10286           and give a useful exit status on error
10287
10288         * lyxfunc.C (doImport): allow -i lyx to work
10289
10290 2002-03-30  André Pönitz <poenitz@gmx.net>
10291
10292         * lyxfunc.C: mathed font changes
10293
10294 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10295
10296         * LaTeX.C:
10297         * importer.h:
10298         * importer.C:
10299         * lyx_sty.h:
10300         * lyx_sty.C:
10301         * lyxlex.C:
10302         * lyxrow.h:
10303         * lyxtext.h:
10304         * paragraph.h:
10305         * paragraph.C:
10306         * texrow.h:
10307         * texrow.C:
10308         * text.C:
10309         * trans_mgr.h: srcdocs, and some minor cleanups
10310
10311 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10312
10313         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10314         call getFont all the time)
10315
10316 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10317
10318         * switch from SigC signals to boost::signals
10319
10320 2002-05-29  André Pönitz <poenitz@gmx.net>
10321
10322         * paragraph_pimpl.C (getChar): don't call size() too often...
10323
10324 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10325
10326         * paragraph_pimpl.C (insertChar): do not try to update tables when
10327         appending (pos == size())
10328
10329         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10330         in order to reduce drastically the number of comparisons needed to
10331         parse a large document
10332
10333 2002-05-29  André Pönitz <poenitz@gmx.net>
10334
10335         * text.C:
10336         * text2.C:
10337         * lyxtextclass.C:
10338         * sp_pspell.h:
10339         * textclasslist.[Ch]:
10340         * sp_ispell.h: whitespace change
10341
10342 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10343
10344         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10345         lyxaction directly now.
10346
10347 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10348
10349         * trans.C:
10350         * lyxfont.C:
10351         * lyxvc.C: remove unused headers
10352
10353 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * Makefile.am:
10356         * buffer.h:
10357         * undostack.h:
10358         * undostack.C:
10359         * undo_funcs.h:
10360         * undo_funcs.C: some cleanups. Use shared_ptr
10361           and a template for the undo stacks.
10362
10363 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * BufferView_pimpl.h:
10366         * BufferView_pimpl.C:
10367         * kbmap.h:
10368         * kbmap.C:
10369         * kbsequence.h:
10370         * kbsequence.C:
10371         * lyxfunc.h:
10372         * lyxfunc.C:
10373         * text2.C: use key_state/mouse_state
10374
10375 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10376
10377         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10378         and LSubstring
10379
10380         * chset.C: change include order
10381         (loadFile): use boost regex and get rid of LRegex and LSubstring
10382
10383         * Makefile.am (BOOST_LIBS): new variable
10384         (lyx_LDADD): use it
10385
10386         * LaTeX.C: change include order.
10387         (scanAuxFile): use boost regex and get rid of LRegex and
10388         LSubstring
10389         (deplog): ditto
10390
10391 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10392
10393         * ColorHandler.h:
10394         * ColorHandler.C:
10395         * FontInfo.h:
10396         * FontInfo.C: moved to frontends/xforms/
10397
10398         * FontLoader.h:
10399         * FontLoader.C: moved into frontends for GUIIzation
10400
10401         * Makefile.am:
10402         * lyx_gui.C:
10403         * lyxfont.C:
10404         * lyxfunc.C: changes from above
10405
10406 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10407
10408         * LColor.C: remove spurious X include
10409
10410         * BufferView_pimpl.C:
10411         * Makefile.am:
10412         * font.h:
10413         * font.C:
10414         * text.C:
10415         * text2.C: move font metrics to frontends/
10416
10417 2002-05-24  Juergen Vigna  <jug@sad.it>
10418
10419         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10420         setting the undo_cursor.
10421
10422         * ParagraphParameters.h: include local includes first.
10423
10424 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10425
10426         * BufferView_pimpl.C:
10427         * BufferView_pimpl.h:
10428         * Makefile.am:
10429         * WorkArea.h:
10430         * WorkArea.C:
10431         * screen.C: move WorkArea into frontends/
10432
10433         * lyxscreen.h:
10434         * screen.C:
10435         * text.C:
10436         * BufferView.C:
10437         * BufferView2.C: move LyXScreen into frontends/
10438
10439         * lyxlookup.h:
10440         * lyxlookup.C:
10441         * lyx_gui.C: move lyxlookup into frontends/xforms/
10442
10443 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10444
10445         * BufferView2.C:
10446         * BufferView_pimpl.C:
10447         * FontLoader.C:
10448         * LyXView.h:
10449         * LyXView.C:
10450         * Makefile.am:
10451         * WorkArea.C:
10452         * XFormsView.h:
10453         * XFormsView.C:
10454         * buffer.C:
10455         * bufferlist.C:
10456         * bufferview_funcs.C:
10457         * converter.C:
10458         * importer.C:
10459         * lyx_cb.C:
10460         * lyx_gui.C:
10461         * lyx_main.C:
10462         * lyx_find.C:
10463         * lyxfunc.C:
10464         * lyxvc.C:
10465         * minibuffer.C:
10466         * text.C:
10467         * text2.C:
10468         * trans.C:
10469         * vc-backend.C: move LyX/XFormsView into frontends/
10470
10471 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10472
10473         * Makefile.am:
10474         * PainterBase.C:
10475         * PainterBase.h:
10476         * Painter.C:
10477         * Painter.h:
10478         * WorkArea.C:
10479         * WorkArea.h:
10480         * screen.C:
10481         * tabular.C:
10482         * text.C:
10483         * text2.C: move Painter to frontends/
10484
10485 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10486
10487         * buffer.C: comment out some some code that depend upon lyx_format
10488         < 220
10489
10490         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10491         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10492
10493         * buffer.h (NO_COMPABILITY): turn off compability
10494
10495         * ColorHandler.C: include scoped_array.hpp
10496
10497         * font.C: Use more specific smart_ptr header.
10498         * Painter.C: ditto
10499         * gettext.C: ditto
10500         * ShareContainer.h: ditto
10501         * lyx_main.h: ditto
10502         * kbmap.h: ditto
10503         * FontInfo.h: ditto
10504         * BufferView_pimpl.h: ditto
10505         * ColorHandler.h: ditto
10506
10507         * kbmap.C (defkey): change call to shared_ptr::reset
10508
10509 2002-05-21  Juergen Vigna  <jug@sad.it>
10510
10511         * buffer.C (insertErtContents): fix to insert ert asis if it is
10512         non empty. Skip it completely if it contains only whitespaces.
10513
10514 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10515
10516         * BufferView_pimpl.C:
10517         * BufferView2.C: clear selection on paste (bug 393)
10518
10519 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10520
10521         * DepTable.C: include ctime
10522
10523 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10524
10525         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10526
10527 2002-05-14  Juergen Vigna  <jug@sad.it>
10528
10529         * text.C (breakParagraph): fixed function to honor the keepempty
10530         layout in the right maner and also to permit the right breaking
10531         algorithm on empty or non empyt keepempty paragraphs.
10532
10533         * paragraph.C (breakParagraph): we have to check also if the par
10534         is really empty (!size()) for isempty otherwise we do the wrong
10535         paragraph break.
10536
10537 2002-05-10  Juergen Vigna  <jug@sad.it>
10538
10539         * buffer.[Ch] : The following are only changes to the ert
10540         compatibility read reading old LaTeX layout and font stuff and
10541         convert it to ERTInsets.
10542
10543         * buffer.h: added isErtInset().
10544
10545         * buffer.C (struct ErtComp): add a fromlayout bool to check
10546         if we're inside a LaTeX layout.
10547         (isErtInset): new helper function.
10548         (insertErtContents): look for other ert insets before this one
10549         and insert the contents there, so that we don't have subsequent
10550         ERT insets with nothing between them. This way we create only one
10551         inset with multiple paragraphs. Also check if we don't insert only
10552         spaces ' ' as they are ignored anyway afterwards in the .tex file
10553         so if we have only spaces we will ignore this latex part in the
10554         new file.
10555         (parseSingleLyXformat2Token \\layout): better compatibility when
10556         reading layout-latex stuff.
10557         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10558         language tag.
10559         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10560         stuff after reading the inset only get the information back from
10561         the stack.
10562
10563 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10564
10565         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10566
10567         * LaTeXFeatures.C (getBabelOptions): New method.
10568
10569 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10570
10571         * BufferView_pimpl.C (Dispatch): work around missing argument for
10572         'layout'
10573
10574 2002-05-08  Juergen Vigna  <jug@sad.it>
10575
10576         * text.C (leftMargin): handle paragraph leftindent.
10577
10578         * paragraph.C (writeFile): write the new \\leftindent tag.
10579         (validate): handle leftindent code.
10580         (TeXEnvironment): handle paragraphleftindent code again.
10581
10582         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10583
10584         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10585         for paragrap_extra indent code and new token \\leftindent.
10586         (latexParagraphs): handle the leftindent as environment.
10587
10588         * ParameterStruct.h: added leftindent support.
10589
10590         * ParagraphParameters.C (leftIndent): added support functions for
10591         the paragraph left indent.
10592
10593         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10594         more appropriate.
10595
10596 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10597
10598         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10599         inside insetERT.
10600
10601         * text.C (computeBidiTables): No bidi in insetERT.
10602
10603         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10604         in RTL documents.
10605
10606 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10607
10608         * version.C.in: pre 5
10609
10610 2002-05-02  José Matos  <jamatos@fep.up.pt>
10611         * buffer.C (makeDocBookFile): white space changes, add newline to
10612         command styles.
10613         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10614
10615         * tabular.C (docBook): fix typo.
10616
10617 2002-05-03  Juergen Vigna  <jug@sad.it>
10618
10619         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10620         change in LyXText as we can not be sure it was not freed.
10621         (drawOneRow): remove unused code.
10622
10623         * text.C (drawInset): redo the calculation of the need_break_row as
10624         it could have a row which was already freed.
10625         (draw): look at the return value of drawInset and return false if
10626         it also returned false.
10627         (paintRowText): look at the return value of draw and return false if
10628         it also returned false.
10629
10630         * lyxtext.h: added bool return type to drawInset() and draw() so that
10631         if we have a change in the row so that the rowbreak has to be redone
10632         we abort drawing as it will be called again.
10633
10634 2002-05-02  Juergen Vigna  <jug@sad.it>
10635
10636         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10637         a change in the maintext also if we're inside an inset.
10638         (Dispatch): set the cursor again after a break line and after the
10639         screen has been updated as it could be we're in a different row.
10640
10641         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10642         to set the cursor behind the pargraph with > size().
10643         (setCursor): check also for the same paragraph when checking where
10644         to put the cursor if we have a NFR inset.
10645
10646         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10647         parts of layout read further up as it still was in the wrong
10648         position.
10649
10650 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10651
10652         * screen.C (drawFromTo): change sine fullRebreak always return
10653         true.
10654
10655         * buffer.C (parseSingleLyXformat2Token): reindent some
10656
10657         * BufferView_pimpl.C (update): change since fullRebreak always
10658         return true.
10659         (Dispatch): git rid of the last hardcoded "Standard"s.
10660
10661 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10662
10663         * text2.[Ch] (fullRebreak): make it return void now that we always
10664         returned true.
10665
10666 2002-04-30  Juergen Vigna  <jug@sad.it>
10667
10668         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10669         ert compatibility check for "latex" layout.
10670
10671 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10672
10673         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10674         minipages: use col% instead of p%, and also use the current font.
10675         (makeLaTeXFile): Fix use babel condition.
10676         (parseSingleLyXformat2Token): Correct font when reading old floats.
10677
10678 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10679
10680         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10681         inserting list of floats.
10682
10683 2002-04-25  Herbert Voss  <voss@lyx.org>
10684
10685         * MenuBackend.C (expand): don't add the graphics extensions to the
10686         export menu
10687
10688 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10689
10690         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10691         non-existing layout, do not complain if it was the default layout
10692         of the original class (bug #342)
10693
10694 2002-04-24  Juergen Vigna  <jug@sad.it>
10695
10696         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10697         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10698
10699 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10700
10701         * buffer.C (getBibkeyList): If using \bibliography, return the
10702         option field with the reference itself. Enables us to provide natbib
10703         support when using \bibliography.
10704
10705 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10706
10707         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10708
10709         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10710         natbib is provided by the LaTeX class.
10711
10712 2002-04-23  Juergen Vigna  <jug@sad.it>
10713
10714         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10715         Wakeup functions.
10716
10717         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10718
10719 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10720
10721         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10722
10723         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10724         ensuremath around textordmasculine, textordfeminine and
10725         textdegree.
10726
10727 2002-04-19  Juergen Vigna  <jug@sad.it>
10728
10729         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10730         reinitializing the buffer otherwise row-dimensions may be wrong.
10731         (update): reset also the selection cursors if they do exits otherwise
10732         their x/y positions may be wrong.
10733
10734         * text2.C (cursorDown): don't enter the inset if we came from a row
10735         above and are one row over the inset.
10736
10737         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10738         really leaving an inset.
10739
10740 2002-04-18  Juergen Vigna  <jug@sad.it>
10741
10742         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10743         of the selected paragraph does not have the selected layout also if
10744         the last one had!
10745
10746         * text2.C (setLayout): fixed bug which did not change last selected
10747         paragraph.
10748
10749         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10750         changed the read and substituted \\end_float with \\end_inset!
10751
10752         * BufferView_pimpl.C (cursorPrevious):
10753         (cursorNext): fixed to make it work with rows heigher than the work
10754         area without moving the cursor only the draw of the row.
10755         (workAreaMotionNotify): fix jumping over high rows.
10756
10757 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10758
10759         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10760         Ressler.
10761
10762 2002-04-16  Juergen Vigna  <jug@sad.it>
10763
10764         * text2.C (setCursor): set also the irow().
10765         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10766         (cursorUp):
10767         (cursorDown): support for locking an inset if the x_fix value goes
10768         inside it. That way I can transverse insets too with cursor up/down.
10769
10770         * lyxrow.h: added irow helper function same as other (i) functions.
10771
10772         * BufferView_pimpl.C (cursorPrevious):
10773         (cursorNext): fixed for insets!
10774
10775 2002-04-15  Juergen Vigna  <jug@sad.it>
10776
10777         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10778         position otherwise it is wrong in some cases.
10779
10780         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10781         inside the inset before the call.
10782
10783 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10784
10785         * buffer.[Ch] (getBibkeyList): make it const.
10786
10787 2002-04-12  Juergen Vigna  <jug@sad.it>
10788
10789         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10790
10791         * text2.C (getCursorX): new helper function
10792         (setCursor): compute also ix_
10793         (setCursorFromCoordinates): set also ix.
10794
10795         * lyxcursor.h: added ix_ and helper functions.
10796
10797         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10798
10799         * buffer.C (insertStringAsLines): dont break paragraph if the this
10800         paragraph is inside an inset which does not permit it!
10801
10802         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10803         also with no chars on this paragraph.
10804         (paintRowText): only paint stuff if it's inside the workarea!
10805
10806         * paragraph.C (breakParagraph): honor keepempty flag and break the
10807         paragraph always below not above.
10808
10809         * BufferView2.C (unlockInset): update the paragraph layout on inset
10810         unlock as we changed paragraph in such a case.
10811
10812         * lyxfind.C (LyXFind): clear the former selection if not found!
10813
10814         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10815         again called in insertChar().
10816
10817         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10818         an inset which uses the whole row!
10819         (rightMargin): ditto.
10820         (insertChar): force a rebreak if we inserted an inset!
10821
10822 2002-03-28  Herbert Voss  <voss@lyx.org>
10823
10824         * lyxlength.[Ch]: add inBP() to get the right PS-point
10825         units (BigPoint). With inPixels we have rounding errors
10826
10827 2002-04-11  Juergen Vigna  <jug@sad.it>
10828
10829         * text2.C (setCursorFromCoordinates): set iy to the right value.
10830         (setCursor): add check if row->previous exists!
10831
10832         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10833         an old float_type as this was the case in the old code!
10834
10835         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10836
10837         * BufferView2.C (showLockedInsetCursor): use iy
10838         (fitLockedInsetCursor): ditto
10839
10840         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10841         locked insets as there we have the right value now.
10842
10843         * lyxcursor.C: added iy_ variable and iy functions to set to the
10844         baseline of cursor-y of the locked inset.
10845
10846         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10847         (setCursor): fixed for insets which need a full row.
10848
10849         * text.C (rowLastPrintable): don't ignore the last space when before
10850         an inset which needs a full row.
10851         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10852         as last character of a row when before a inset which needs a full row.
10853
10854 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10855
10856         * version.C.in: update date
10857
10858         * text2.C (fullRebreak): try to always return true and see what
10859         happens...
10860
10861 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10862
10863         * MenuBackend.C (expand): use Floating::listName
10864
10865         * FloatList.C (FloatList): add listName argument to the built-in
10866         floats
10867
10868         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10869         text associated with the float.
10870
10871 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10872
10873         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10874
10875 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10876
10877         * ShareContainer.h: add a couple of missing typenames.
10878
10879 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10880
10881         * lyxrc.C (getDescription): use _() correctly rather than N_().
10882
10883 2002-03-28  Herbert Voss  <voss@lyx.org>
10884
10885         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10886         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10887
10888 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10889
10890         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10891         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10892
10893 2002-03-29  Juergen Vigna  <jug@sad.it>
10894
10895         * lyxfunc.C (dispatch): add a missing fitCursor call.
10896
10897         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10898         it was scrolled by a cursor move, so return the bool status.
10899
10900         * BufferView.C (fitCursor): return the bool flag also to the outside
10901         world as this is needed.
10902
10903         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10904
10905         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10906         call the edit() as it is not needed (and wrong) IMO.
10907         (workAreaButtonPress): set the screen_first variable before evt.
10908         unlock the inset as this may change screen_first and then we have
10909         a wrong y position for the click!
10910
10911 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10912
10913         * MenuBackend.C (expand): another translation that I missed
10914
10915 2002-03-28  Juergen Vigna  <jug@sad.it>
10916
10917         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10918
10919         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10920
10921 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10922
10923         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10924
10925         * MenuBackend.C (expand): fix export/view/update when there is no
10926         document open.
10927
10928 2002-03-27  Herbert Voss  <voss@lyx.org>
10929
10930         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10931         and text%
10932
10933 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10934
10935         * bufferview_funcs.C (currentState): only show paragraph number
10936         for is DEVEL_VERSION is set.
10937
10938         * lyxfunc.C (dispatch): put warning in INFO channel
10939
10940         * MenuBackend.C (expand): translate the name of floats
10941
10942         * FloatList.C (FloatList): mark the float names for translation
10943
10944         * converter.C (convert): use LibScriptSearch
10945
10946 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10947
10948         * MenuBackend.C (defaults): fix default menu (we might as well get
10949         rid of it...)
10950
10951 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10952
10953         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10954         directory.
10955
10956 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10957
10958         * lyxvc.C: reorder includes.
10959
10960 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10961
10962         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10963           properly
10964
10965 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10966
10967         * CutAndPaste.C: change layouts earlier on paste
10968           to avoid crashing when calling getFont()
10969
10970 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10971
10972         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10973         irritating #error.
10974
10975 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10976
10977         * WorkArea.C: remove 'Pending' debug message.
10978
10979         * most files: ws cleanup
10980
10981         * buffer.[Ch]: ws changes
10982
10983         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10984
10985 2002-03-21  Juergen Vigna  <jug@sad.it>
10986
10987         * tabular.C (SetMultiColumn): collapse also the contents of the
10988         cells and set the last border right. Added a Buffer const * param.
10989
10990 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10991
10992         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10993         linking or not.
10994
10995 2002-03-19  Juergen Vigna  <jug@sad.it>
10996
10997         * text2.C (clearSelection): reset also xsel_cache.
10998
10999         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11000         where it needs to be called (John tells us to do so too :)
11001         (selectionLost): reset sel_cache.
11002
11003         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11004
11005 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11006
11007         * text2.C (setCursorIntern): put debuging code in INSETS channel
11008
11009 2002-03-19  André Pönitz <poenitz@gmx.net>
11010
11011         * lyxfunc.C: tiny whitespace change
11012
11013 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11014
11015         * ToolbarDefaults.C (init):
11016         * LyXAction.C (init):
11017         * commandtags.h:
11018         * BufferView_pimpl.C (Dispatch):
11019         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11020
11021 2002-03-19  Allan Rae  <rae@lyx.org>
11022
11023         * exporter.C (Export): removeAutoInsets before doing anything else.
11024         While I've just introduced a dependency on BufferView this really is
11025         the best place to clean the buffer otherwise you need to cleanup in
11026         a dozen places before calling export or cleanup in a dozen functions
11027         that export calls.
11028
11029         * converter.C (runLaTeX):
11030         (scanLog): Better handling of removeAutoInsets and screen updates.
11031
11032         * lyxfunc.C (dispatch): small whitespace changes
11033
11034 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11035
11036         * WorkArea.C (C_WorkAreaEvent): return a value.
11037         (event_cb): return 1 if we handled the event, 0 otherwise.
11038
11039         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11040
11041 2002-03-18  Juergen Vigna  <jug@sad.it>
11042
11043         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11044         (GetAdditionalWidth): ditto.
11045         (RightLine): ditto.
11046         (LeftLine): ditto.
11047
11048         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11049         inset if we're there actually (probably not used right now but this
11050         is the direction to go for unifying code).
11051         (paste): disable code to clear the selection.
11052
11053         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11054         inside an InsetText and move the check further up as it is in the
11055         wrong place.
11056
11057         * text2.C (pasteSelection): set a selection over the pasted text.
11058
11059 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11060
11061         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11062         and libgraphics to build on Cygwin.
11063
11064 2002-03-15  Juergen Vigna  <jug@sad.it>
11065
11066         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11067         inserting an Inset into the paragraph. I know this is not the best
11068         fix but we already use current_view in CutAndPaste so we will remove
11069         all of it's using at the same time.
11070
11071         * buffer.C (sgmlError): deactivated function till it is rewritten in
11072         the right mode, now it can create problems.
11073
11074         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11075         before accessing it.
11076
11077 2002-03-14  Juergen Vigna  <jug@sad.it>
11078
11079         * undo_funcs.C (textHandleUndo): do the right thing when updating
11080         the inset after the undo/redo.
11081
11082         * text2.C (setCursor): just some testcode for #44 not ready yet.
11083
11084         * undo_funcs.C (textHandleUndo): set the next() and previous()
11085         pointers of the paragraph to 0 before deleting otherwise we have
11086         problems with the Paragraph::[destructor].
11087
11088         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11089         on a paragraph insertion.
11090
11091 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11092
11093         * buffer.C (asciiParagraph): use += operator for char append to
11094         string.
11095
11096         * paragraph.C (getFontSettings): compare >= not just >
11097         (highestFontInRange): ditto
11098         (setFont): ditto
11099
11100 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11101
11102         * paragraph.C: change several algorithm to be more appripriate for
11103         the problem domain. This is lookip in FontList and in the InsetList.
11104
11105 2002-03-13  André Pönitz <poenitz@gmx.net>
11106
11107         * commandtags.h:
11108         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11109
11110 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * commandtags.h:
11113         * LyXAction.C:
11114         * lyxfunc.C:
11115         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11116
11117 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11118
11119         * Painter.C (display): anon helper function, adjust code for this
11120         change.
11121         (pixmap): remove function.
11122
11123         * Painter.h: remove private display variable.
11124
11125         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11126
11127 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11128
11129         * WorkArea.[Ch]: remove figinset_canvas cruft.
11130
11131 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11132
11133         * lyxtextclass.C (operator): add one item cache optimization.
11134
11135         * bufferlist.h: doxy changes
11136
11137         * bufferlist.C: ws changes
11138
11139         * DepTable.[Ch] (ext_exist): place const in the right spot.
11140
11141         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11142         call resizeInsets.
11143         (workAreaExpose): call resizeInsets when the with BufferView changes.
11144         (Dispatch): adjust for protectedBlank removal
11145         (specialChar): call updateInset if the insert went ok.
11146
11147         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11148         specialChar instead.
11149
11150         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11151
11152         * BufferView.h: doxy change
11153
11154         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11155
11156         * lyxtextclass.C (operator[]): remove non-const version
11157         (defaultLayout): remove non-const version
11158
11159 2002-03-12  Juergen Vigna  <jug@sad.it>
11160
11161         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11162         did resize the LyXText too.
11163
11164         * buffer.C (readLyXformat2): set layout information on newly allocated
11165         paragraphs.
11166
11167         * tabular.C (OldFormatRead): set layout information on the paragraph.
11168
11169 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11170
11171         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11172
11173 2002-03-11  Juergen Vigna  <jug@sad.it>
11174
11175         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11176         plainly wrong.
11177         (resizeCurrentBuffer): force also the insets to resize themselfes.
11178         (moveCursorUpdate): fixed up for InsetText.
11179
11180 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11181
11182         * commandtags.h:
11183         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11184         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11185         value of Dialogs::tooltipsEnabled().
11186         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11187
11188 2002-03-08  Juergen Vigna  <jug@sad.it>
11189
11190         * BufferView_pimpl.C (updateInset): update inset inside inset also
11191         if it isn't inside theLockingInset().
11192
11193 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11194
11195         * buffer.C (asciiParagraph): redo some of the word and line length
11196         handling.
11197         (getLists): look for Caption instead of caption.
11198
11199 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11200
11201         * buffer.C (Buffer): initialize niceFile to true
11202         (makeLaTeXFile):
11203         (makeLinuxDocFile):
11204         (makeDocBookFile): make sure niceFile is true on exit
11205
11206 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11207
11208         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11209
11210 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11211
11212         * LyXSendto.C: remove.
11213         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11214         * lyx_gui.C: remove now-redundant comment.
11215         * ColorHandler.h: remove forward declaration of class WorkArea.
11216         * lyxfunc.C: remove #include "WorkArea.h".
11217
11218 2002-03-07  Juergen Vigna  <jug@sad.it>
11219
11220         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11221         got moved away with the DEPM and also set the inset_owner always
11222         right which before could have been omitted.
11223
11224 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11225
11226         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11227         wanted layout is not found.
11228
11229 2002-03-07  Juergen Vigna  <jug@sad.it>
11230
11231         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11232
11233 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11234
11235         * paragraph.C (breakParagraph): use default layout not layout of
11236         prev paragraph.
11237         (Paragraph): clear ParagraphParameters.
11238
11239 2002-03-06  Juergen Vigna  <jug@sad.it>
11240
11241         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11242         otherwise it would not be a valid lenght. Fixed a special case in
11243         the minipage compatibility read where we end the document with a
11244         minipage.
11245
11246         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11247         was set as it could be 0 for InsetTexts first entry.
11248
11249 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11250
11251         * paragraph.C (writeFile): if layout is empty write out
11252         defaultLayoutName().
11253
11254         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11255         file without named layout we set layout to defaultLayoutName().
11256
11257 2002-03-06  Juergen Vigna  <jug@sad.it>
11258
11259         * CutAndPaste.C (copySelection): set layout for new paragraph.
11260
11261         * text.C (prepareToPrint): leave ERT inset left aligned
11262         (leftMargin): don't indent paragraphs inside ERT insets
11263
11264 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11265
11266         * paragraph.C (breakParagraph): dont call clear do the work manually
11267
11268         * paragraph.[Ch] (clear): remove function
11269
11270 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11271
11272         * paragraph.C (Paragraph): dont call clear, the work has already
11273         been done.
11274
11275         * lyxtextclass.C (operator): assert if n is empty
11276
11277         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11278         work manually instead.
11279
11280 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11281
11282         * BufferView_pimpl.C: protect selectionLost against text == 0
11283
11284 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11285
11286         * text.C (breakParagraph): fix a setting layout to '0' problem.
11287
11288 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11289
11290         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11291         final location of file, for the included files, and graphics.
11292
11293 2002-03-05  Juergen Vigna  <jug@sad.it>
11294
11295         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11296
11297 2002-03-04  Juergen Vigna  <jug@sad.it>
11298
11299         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11300
11301         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11302         last column of multicolumn cells.
11303         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11304
11305 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11306
11307         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11308         file if it doesn't go to a temporary file.
11309
11310         * buffer.C (sgmlOpenTag):
11311         (sgmlCloseTag):  remove extra newline insertion.
11312
11313 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11314
11315         * text.C (getRowNearY): comment out debug msg
11316
11317 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11318
11319         * text2.C: first -> first_y
11320
11321         * text.C (getRowNearY): add some attemts at a possible
11322         optimization, not working.
11323
11324         * tabular.[Ch]: add BufferParams to several function so that newly
11325         created paragraph can be initialized to he default layotu for the
11326         buffers textclass.
11327
11328         * tabular-old.C (ReadOld): add buf->params to call of Init
11329
11330         * screen.C: rename text->first to text->first_y
11331
11332         * paragraph.C (breakParagraph): always set layout in the broken
11333         paragraph
11334
11335         * lyxtextclass.C (Read): remove lowercase
11336         (hasLayout): ditto
11337         (operator): ditto
11338         (delete_layout): ditto
11339
11340         * lyxtext.h: rename first -> first_y
11341
11342         * lyxlayout.C (Read): remove lowercase
11343         (name): ditto
11344         (setName): ditto
11345         (obsoleted_by): ditto
11346
11347         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11348
11349         * buffer.C (insertErtContents): add params are to InsetERT
11350         (parseSingleLyXformat2Token): add code to check if a paragraphs
11351         layout really exist.
11352         (parseSingleLyXformat2Token): add params to several inset
11353         constructors
11354         (asciiParagraph): remove lowercase, do the layout comparisons with
11355         no_case
11356
11357         * BufferView_pimpl.C (cursorNext): first -> first_y
11358         (resizeCurrentBuffer): first -> first_y
11359         (updateScrollbar): first -> first_y
11360         (scrollCB): first -> first_y
11361         (workAreaMotionNotify): first -> first_y
11362         (workAreaButtonPress): first -> first_y
11363         (checkInsetHit): first -> first_y
11364         (cursorPrevious): first -> first_y
11365         (cursorNext): first -> first_y
11366         (Dispatch): add buffer_->params to severl inset contructors
11367
11368 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11369
11370         * lyxlayout.C (Read): remove some debug info that I forgot.
11371
11372         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11373         clean up the code slightly.
11374         (makeLinuxDocFile): ditto
11375         (makeDocBookFile): ditto
11376
11377         * text2.C: layout as string
11378
11379         * text.C: layout as string
11380
11381         * paragraph_pimpl.C: layout as string
11382
11383         * paragraph.[Ch]: layout as string
11384
11385         * lyxtextclasslist.[Ch]: layout as string
11386
11387         * lyxtextclass.[Ch]: layout as string
11388
11389         * lyxtext.h: layout as string
11390
11391         * lyxlayout.[Ch]: layout as string
11392
11393         * lyx_cb.C: layout as string
11394
11395         * bufferview_funcs.C: layout as string
11396
11397         * bufferparams.C: layout as string
11398
11399         * buffer.C: layout as string
11400
11401         * LyXView.[Ch]: layout as string
11402
11403         * LaTeXFeatures.[Ch]: layout as string
11404
11405         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11406
11407         * BufferView_pimpl.C: change current_layout to string, remove
11408         lyx::layout_type.
11409         (Dispatch):
11410         (smartQuote):
11411         (insertInset):
11412         (workAreaButtonRelease): layout as string
11413
11414         * BufferView2.C (unlockInset): adjust
11415
11416         * vspace.C (asLatexCommand): use an explict temp variable.
11417
11418 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11419
11420         * Makefile.am: use FRONTEND_*
11421
11422 2002-03-01  Juergen Vigna  <jug@sad.it>
11423
11424         * tabular.C (SetWidthOfMulticolCell): changed to something better
11425         I hope but still work in progress.
11426         (recalculateMulticolumnsOfColumn): renamed function from
11427         recalculateMulticolCells as it is more appropriate now.
11428         (SetWidthOfCell): calculate multicols better.
11429
11430 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11431
11432         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11433
11434         * lyxfunc.C (processKeySym): print sequence also if it is
11435         `deleted' (complete)
11436
11437         * kbsequence.C (print): print sequence even if it is deleted
11438         (complete would be a better word, actually).
11439
11440         * lyxfunc.C (dispatch): print complete options after a prefix key
11441
11442         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11443
11444 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11445
11446         * text2.C (setCharFont): eliminate setCharFont code duplication.
11447
11448 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11449
11450         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11451         LFUN_TABULAR_FEATURE (bug #177)
11452
11453 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11454
11455         * Makefile.am: remove figure.h
11456
11457 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11458
11459         * Bufferview_pimpl.C:
11460         * CutAndPasteC:
11461         * LaTeX.C:
11462         * LyXSendto.C:
11463         * buffer.C:
11464         * bufferlist.C:
11465         * converter.C:
11466         * language.C:
11467         * lyxfunc.C:
11468         * lyxvc.C:
11469         * paragraph.C:
11470         * text.C:
11471         * text2.C: remove #include "lyx_gui_misc.h".
11472
11473         * LaTeX.C: added #include <cstdio>
11474
11475 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11476
11477         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11478         that the paragraph following this one can have.
11479
11480         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11481
11482         * vspace.C (asLatexCommand): fix bogus gcc warning
11483
11484         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11485
11486 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11487
11488         * text2.C (setLayout): get rid of redundant code
11489
11490 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11491
11492         * text2.C (incDepth): make sure depth cannot be increased beyond
11493         reasonable values.
11494
11495 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11496
11497         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11498         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11499
11500         * PainterBase.h (image):
11501         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11502         a LyXImage const *.
11503
11504 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11505
11506         * BufferView.C:
11507         * BufferView.h:
11508         * BufferView_pimpl.C:
11509         * BufferView_pimpl.h:
11510         * LaTeXFeatures.C:
11511         * LyXAction.C:
11512         * LyXView.C:
11513         * Makefile.am:
11514         * UpdateList.h:
11515         * UpdateList.C:
11516         * buffer.C:
11517         * figure.h:
11518         * figureForm.C:
11519         * figureForm.h:
11520         * figure_form.C:
11521         * figure_form.h:
11522         * lyx_cb.C:
11523         * lyx_gui.C:
11524         * lyx_gui_misc.C:
11525         * lyxfunc.C:
11526         * sp_base.h:
11527         * sp_ispell.h:
11528         * sp_pspell.h:
11529         * sp_spell.C: remove fig inset, and the crap house of
11530           cards that follows it
11531
11532 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11533
11534         * Makefile.am:
11535         * lyxserver.C:
11536         * os2_defines.h:
11537         * os2_errortable.h:
11538         * nt_defines.h: move .h into support/
11539
11540         * vms_defines.h: remove
11541
11542         * WorkArea.C: add space in debug output
11543
11544         * text2.C:
11545         * paragraph.C:
11546         * buffer.C: add WITH_WARNINGS
11547
11548         * vc-backend.h:
11549         * vc-backend.C:
11550         * bufferlist.C: s/retrive/retrieve/, add docs
11551
11552         * vspace.h:
11553         * vspace.C:
11554         * kbmap.h:
11555         * lyxlength.h:
11556         * lyxgluelength.h:
11557         * length_common.h:
11558         * chset.h:
11559         * chset.C: add docs
11560
11561         * lyxgui.C: add ID to X error handler
11562
11563         * lyxtestclass.c: fix typo
11564
11565 2002-02-26  Juergen Vigna  <jug@sad.it>
11566
11567         * tabular_funcs.C (write_attribute): changed so that some default
11568         attributes are not written at all.
11569         (getTokenValue): set default values before trying to read the
11570         value so we have the return value always set as default if we don't
11571         find the token we search for.
11572
11573         * tabular.C (Write): write bools as bools not as strings!
11574
11575 2002-02-22  Juergen Vigna  <jug@sad.it>
11576
11577         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11578         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11579
11580         * text.C (leftMargin): don't add an indent for paragraphs inside
11581         tabular cells (fix #208).
11582
11583 2002-02-21  José Matos  <jamatos@fep.up.pt>
11584
11585         * tabular.C (docBook): fixed support for long tables.
11586
11587 2002-02-20  Juergen Vigna  <jug@sad.it>
11588
11589         * text2.C (getFont): get the drawing font of the Inset if this
11590         paragraph is inside an inset (only important for InsetERT for now).
11591
11592         * buffer.C (insertErtContents): use new lanugage params in ERT
11593         constructor.
11594
11595         * CutAndPaste.C: commenting out seemingly uneeded code.
11596
11597 2002-02-19  Allan Rae  <rae@lyx.org>
11598
11599         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11600         Iterators might be simple to use but they also get invalidated.
11601         (removeAutoInsets): renamed saved cursor tracking variables and added
11602         some comments to clarify what everything does.
11603
11604 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11605
11606         * Chktex.C:
11607         * LaTeX.C:
11608         * LyXSendto.C:
11609         * converter.C:
11610         * lyx_cb.C:
11611         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11612         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11613
11614         * lyxfunc.C:
11615         * vc-backend.h: remove #include "support/syscall.h"
11616
11617         * LaTeX.C:
11618         * LyXSendto.C:
11619         * converter.C: rearrange #includes in Lars' approved fashion.
11620
11621         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11622         forward declare class Timeout in the header file.
11623
11624         * XFormsView.C: changes due to the above.
11625
11626         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11627         similar to LyXView.
11628
11629         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11630         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11631
11632 2002-02-18  José Matos  <jamatos@fep.up.pt>
11633
11634         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11635         insets contents.
11636
11637 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11638
11639         * a lot of small ws changes
11640         * add a lot of using std::XXX
11641         * use std construcs some places where approp.
11642         * use some exisint stuff from lyxfunctional where approp.
11643         * Make file changes to use partial linking (lets test this now...)
11644
11645 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11646
11647         * Chktex.C:
11648         * buffer.C:
11649         remove #include "support/syscontr.h" as it's redundant. Always has been.
11650
11651         * Chktex.C:
11652         * LaTeX.C:
11653         * LyXSendto.C:
11654         * converter.C:
11655         * lyx_cb.C:
11656         * vc-backend.C:
11657         change Systemcalls::System to Systemcalls::Wait and
11658         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11659         No change of functionality, just reflects the stripped down Systemcalls
11660         class.
11661
11662 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11663
11664         * debug.[Ch]: add a GRAPHICS type to the enum.
11665
11666 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11667
11668         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11669
11670         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11671         there is an inset.
11672
11673 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11674
11675         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11676         match the changes below.
11677
11678         * text2.C (toggleInset): if there is not editable inset at cursor
11679         position, try to see if cursor is _inside_ a collapsable inset
11680         and close it.
11681
11682 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11683
11684         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11685         document menu has a nice checkbox
11686
11687 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11688
11689         * lyxlength.C (asLatexString): change PW to output as percent of
11690         \textwidth.
11691
11692         * lengthcommon.C: change '%' to 't%'
11693
11694         * lyxfunc.C (dispatch): a few comments from Martin
11695
11696 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * WorkArea.h:
11699         * WorkArea.C:
11700         * BufferView_pimpl.h:
11701         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11702           the X selection.
11703
11704 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11705
11706         * vspace.C (inPixels): fix compiler warning
11707
11708 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11709
11710         * lyxfunc.C (getStatus): fix status message for disabled commands.
11711
11712 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11713
11714         * BufferView_pimpl.C: fix crash on close buffer
11715         during selection (#227)
11716
11717 2002-01-27  Herbert Voss  <voss@lyx.org>
11718
11719         * buffer.C: link old Figure to new graphic inset
11720
11721 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11722
11723         * FontLoader.C (getFontinfo): Change the latex font names in order
11724         to match the names of type1inst.
11725
11726 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11727
11728         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11729
11730         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11731         (extchanged): ditto
11732         (ext_exist): ditto
11733         (remove_files_with_extension): ditto
11734         (remove_file): ditto
11735         (write): ditto
11736
11737         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11738         document is smaller than the work area height. Do not initialize
11739         static variables to 0.
11740
11741 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11742
11743         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11744
11745         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11746         LFUN_LAYOUT_PARAGRAPHS.
11747
11748         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11749         tabular. It is possible to provide a possible cell, which will
11750         typically be the actcell from the corresponding insettabular
11751
11752         * lyxfunc.C (getStatus): small cleanup; disable
11753         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11754         true
11755
11756 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11757
11758         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11759
11760         * paragraph.C (startTeXParParams):
11761         (endTeXParParams): new methods. The LaTeX code to
11762         start/end paragraph formatting
11763         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11764         empty (fixes bug #200)
11765
11766         * vspace.C (inPixels): adapt to the change below
11767         (inPixels): [later] more cleanups (remove unused variables)
11768
11769         * lyxlength.C (inPixels): change to use a width and a height as
11770         parameter.
11771
11772 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11773
11774         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11775         Replaced with \paperwidth
11776
11777         * DepTable.C (insert): add std:: qualifier
11778
11779 2002-01-18  Allan Rae  <rae@lyx.org>
11780
11781         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11782         updated also?
11783
11784         * text.C (drawInset): Turned out I didn't know enough about how
11785         rebreaking worked.  This fixes most of the redraw problems.  I see
11786         an occasional cursor trail when a line is broken now and the cursor
11787         placement can seem out by a few pixels also after a rebreak.
11788
11789 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11790
11791         * buffer.C (parseSingleLyXformat2Token): update because minipage
11792         width is now a LyXLength
11793
11794         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11795
11796         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11797         math insets
11798
11799 2002-01-17  Juergen Vigna  <jug@sad.it>
11800
11801         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11802
11803         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11804         is set correctly and the inset is updated correctly.
11805
11806 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11807
11808         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11809         the beginning of the loop.
11810
11811 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * lyxrc.C: improve help for use_scalable_fonts
11814
11815 2002-01-17  Allan Rae  <rae@lyx.org>
11816
11817         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11818
11819 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11820
11821         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11822         make sure to set their inset_owner to the right value (bug #171)
11823
11824 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11825
11826         * DepTable.h
11827         * DepTable.C: Implement mtime checking to reduce time spent doing
11828         CRCs.
11829
11830 2002-01-16  Juergen Vigna  <jug@sad.it>
11831
11832         * tabular.C (GetAdditionalHeight): one of error fixed.
11833
11834         * lyxrc.C (output): small fix in writing use_pspell.
11835
11836 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11837
11838         * sp_base.h: #include LString.h
11839
11840 2002-01-16  Allan Rae  <rae@lyx.org>
11841
11842         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11843         Can someone check this please?
11844
11845         * text.C (drawInset): It was possible that p.row would be removed by
11846         breakAgainOneRow upsetting a few other settings.  There may be another
11847         small tweak possible by setting need_break_row = 0 when p.row has been
11848         removed but I don't know enough about the logic here.
11849
11850 2002-01-15  Allan Rae  <rae@lyx.org>
11851
11852         * text.C (insertChar): removed conditional truism.
11853
11854         * BufferView2.C (removeAutoInsets): More tweaks.
11855         cur_par_prev could be a stray pointer.  Check for trailing empty line
11856         in case last line was cur_par and only had an error inset on it.
11857
11858 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11859
11860         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11861         absolute
11862
11863         * vc-backend.C (most methods):
11864         * exporter.C (Export):
11865         * converter.C (convert):
11866         (runLaTeX):
11867         * LyXSendto.C (SendtoApplyCB):
11868         * lyxfunc.C (dispatch):
11869         (menuNew):
11870         (open):
11871         (doImport):
11872         * lyx_cb.C (AutoSave):
11873         (InsertAsciiFile):
11874         * BufferView_pimpl.C (MenuInsertLyXFile):
11875         * buffer.C (runChktex): use Buffer::filePath().
11876
11877         * buffer.h: rename filename to filename_; rename filepath to
11878         filepath_ and make it private
11879         (filePath): new method
11880
11881         * buffer.C (writeFile): use fileName()
11882         (getLatexName):
11883
11884         * lyx_main.C (init): fix starting  of LyX when the binary is a
11885         link from so,ewhere else.
11886
11887         * minibuffer.C: include <cctype> for isprint
11888
11889 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11890
11891         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11892         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11893         name clash with InsetCollapsable's width function.
11894
11895 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11896
11897         * lastfiles.C: include <iterator>
11898
11899 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11900
11901         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11902         std::count.
11903
11904         * buffer.C (makeLaTeXFile): ditto.
11905         Also make loop operation more transparent.
11906
11907 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11908
11909         * ToolbarDefaults.C: remove trailing comma closing namespace.
11910
11911         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11912
11913         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11914         as in WorkArea.
11915
11916         * trans.C (Load): comment out unused variable, allowed.
11917
11918 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11919
11920         * minibuffer.[Ch] (append_char): new method to recieve input from the
11921         drop-down completion browser. If a key was pressed, then recieve this
11922         char and append it to the existing string.
11923         (peek_event): modify the positioning data passed to the completion
11924         browser so that it can be placed above the minibuffer rather than below.
11925 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11926
11927         * LyXAction.C (init): alloe error-next for readonly documents.
11928
11929         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11930         count.
11931
11932 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11933
11934         * bufferlist.C (readFile): create the buffer _after_ checking that
11935         the file exists.
11936
11937         * lyxfunc.C (verboseDispatch): fix handling of arguments
11938
11939         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11940
11941         * lyxrc.C: use string::erase() instead of initializing to "".
11942
11943
11944 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * BufferView_pimpl.h:
11947         * BufferView_pimpl.C:
11948         * WorkArea.h:
11949         * WorkArea.C:
11950         * text2.C: tell X when we have made a selection for copying
11951
11952 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11953
11954         * BufferView_pimpl.C (MenuInsertLyXFile):
11955         * lyxfunc.C (menuNew):
11956         (open):
11957         (doImport): add shortcuts to directory buttons
11958
11959         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11960         open a float)
11961
11962         * lyxfunc.C (setStatusMessage):
11963         (getStatusMessage): new methods
11964         (getStatus):use setStatusMessage instead of setErrorMessage
11965         (dispatch): when function is disabled, set error message here
11966         [instead of in getStatus previously]
11967
11968         * BufferView_pimpl.C (workAreaButtonRelease): update
11969         toolbar/menubar here too.
11970
11971 2002-01-13  Allan Rae  <rae@lyx.org>
11972
11973         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11974         Now seems indestructible.  Remaining task is to audit all other
11975         code affected by deleteEmptyParagraphMechanism.  One small quirk
11976         left is that an empty document with an error in the preamble can
11977         be made to report an error but no error box appears.  I don't know
11978         where it goes.
11979         (removeAutoInsets): Improved comments.
11980
11981 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11982
11983         * Thesaurus.h:
11984         * Thesaurus.C: update for Aiksaurus 0.14
11985
11986 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11987
11988         * text2.C (firstParagraph): removed member function, all uses
11989         replaces with ownerParagraph
11990         (redoParagraphs): here
11991         (updateInset): here
11992         (toggleAppendix): here
11993         * BufferView2.C (insertErrors): here
11994         (setCursorFromRow): here
11995
11996 2002-01-13  Allan Rae  <rae@lyx.org>
11997
11998         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11999         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12000         There is still a way to segfault this although you may have to do this
12001         multiple times: Have an InsetERT with an unknown command in it.
12002         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12003         <down-arrow>, <Enter> again, View->DVI, BANG!
12004
12005         * text2.C (setCursor):
12006         (deleteEmptyParagraphMechanism):
12007         * lyxtext.h (setCursor):
12008         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12009         Making use of the return value may help fix other bugs.
12010
12011 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12012
12013         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12014
12015         * LyXView.C (updateMenubar): call MenuBar::update here
12016         (updateToolbar): but not here
12017         (showState): do not update toolbar/menubar
12018
12019         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12020         should need to care about that.
12021
12022         * lyxfunc.C (verboseDispatch): simplify a bit
12023         (getStatus): have a version which takes a pseudoaction, and
12024         another which requires a (kb_action,string).
12025
12026         * LyXAction.C (retrieveActionArg): make it work also when action
12027         is not a pseudo-action.
12028         (getActionName): simplify a bit
12029         (helpText):
12030
12031 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * lyxfunc.C (verboseDispatch): new families of methods with
12034         several ways to specify a command and a bool to indicate whether
12035         the command name and shortcut should be displayed in minibuffer
12036         (eventually, we could extend that to a finer bitmask like
12037         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12038         (dispatch): the pristine dispatch command which just, well,
12039         dispatchs! Note it still sets its result to minibuffer; I'm not
12040         sure we want that.
12041
12042         * lyxfunc.h: remove setHintMessage
12043
12044         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12045
12046 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12047
12048         * BufferView_pimpl.C (specialChar): delete new inset if we have
12049         not been able to insert it.
12050
12051         * kbmap.C: revert to using int instead of kb_action, since all we
12052         are dealing with is pseudo-actions.
12053
12054         * LyXAction.C (searchActionArg): change to return int instead of
12055         kb_action, since the result is a pseudoaction.
12056
12057 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12058
12059         * buffer.C (insertErtContents): Fix (partially) the font bug.
12060
12061 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12062
12063         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12064         as the other one is broken on my machine!
12065
12066 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12067
12068         * commandtags.h:
12069         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12070
12071 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12072
12073         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12074         reflect their actual use. Provide compatibility code for older lyxrc
12075         files.
12076
12077         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12078         FL_NORMAL_STYLE.
12079         change names of popup font variables in line with the changes to lyxrc.C
12080
12081 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12082
12083         * buffer.C (asciiParagraph): avoid outputing a word twice after
12084         an inset.
12085
12086         * lyxrc.C (getDescription): document that document_path and
12087         template_path can be empty.
12088
12089 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12090
12091         * LaTeXFeatures.C (getMacros):
12092         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12093
12094         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12095
12096         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12097         getPackages.
12098         (getPackages): rename feature "floats" to "float". Use an array to
12099         iterate over 'simple' features (i.e. just a \usepackage). Add
12100         handling of "amsmath" (renamed from "amsstyle").
12101
12102 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12103
12104         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12105         features list.
12106
12107 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12108
12109         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12110         FuncStaus::FuncStatus & FuncStaus::some_method().
12111
12112 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12113
12114         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12115         of the func_satus stuff. Edited and massaged in various ways by
12116         JMarc.
12117
12118         * lyxfunc.C (getStatus): use FuncStatus
12119
12120 2002-01-08  Juergen Vigna  <jug@sad.it>
12121
12122         * text.C (nextBreakPoint): use function Inset::isChar().
12123
12124         * paragraph.C (TeXOnePar): use function
12125         Inset::forceDefaultParagraphs.
12126
12127         * buffer.C (latexParagraphs): use function
12128         Inset::forceDefaultParagraphs.
12129
12130 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12131
12132         * lyx_gui.C (init): set the style of the menu popups to
12133         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12134
12135 2002-01-07  Juergen Vigna  <jug@sad.it>
12136
12137         * text.C (setHeightOfRow): small fix
12138         (prepareToPrint): don't look at alignment if we don't have the place
12139         for doing it.
12140
12141 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12142
12143         * box.C: New file. Move the Box methods and functions out of box.h,
12144         following Lars' suggestion.
12145
12146 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12147
12148         * box.h: #include "support/LOstream.h", needed for inlined function.
12149
12150         * lyxtextclass.C:
12151         * lyxtextclasslist.C: added some using std declarations.
12152
12153 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * box.h: make signed dimensions to allow insets wider than
12156           the screen (bug #162)
12157
12158         * BufferView_pimpl.C: add some insetHit debug
12159
12160 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12161
12162         * vc-backend.C: add FIXME
12163
12164 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12165
12166         * lyxfunc.C (getStatus): enable code for showing math font status
12167         in toolbar/menu.
12168
12169 2002-01-07  Juergen Vigna  <jug@sad.it>
12170
12171         * text.C (nextBreakPoint): removed debug output not needed anymore.
12172
12173 2002-01-06  Juergen Vigna  <jug@sad.it>
12174
12175         * text.C (nextBreakPoint): fixed up this function we had this bug
12176         since ever but now hopefully we break row better.
12177         (insertChar): we have to check if an inset is the next char as it
12178         could now happen that a large inset is causing a break.
12179
12180 2002-01-05  Juergen Vigna  <jug@sad.it>
12181
12182         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12183         if it doesn't like to be drawed.
12184
12185 2002-01-04  Juergen Vigna  <jug@sad.it>
12186
12187         * BufferView2.C (lockInset): forgot to set a cursor.
12188
12189         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12190
12191 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12192
12193         * FormMathsPanel.C:
12194         * FormMathsPanel.h
12195         * MathsSymbols.C:
12196         * form_maths_panel.C:
12197         * form_maths_panel.h:
12198         * form_maths_panel.fd: implemented sub- and super- buttons in math
12199         panel.
12200
12201         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12202         (or ^ space) to be used as in TeX (req'd by André).
12203
12204         * lyxfunc.C: Allow ^ and _ again to be used both as
12205         super/subscript (mathed) and as themselves (in text).
12206
12207 2002-01-03  Allan Rae  <rae@lyx.org>
12208
12209         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12210         "LyX" or the filename of the current buffer if it has one.  This is a
12211         modified form of John Levon's patch.
12212
12213         * XFormsView.C (setWindowTitle): also set icon title.
12214
12215         * LyXView.h (setWindowTitle): signature changed.
12216         * XFormsView.h (setWindowTitle): ditto.
12217
12218 2002-01-02  Juergen Vigna  <jug@sad.it>
12219
12220         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12221
12222 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * screen.C (topCursorVisible): introduce a temp var for
12225         text->cursor.row(), handle the case where this row is null. (kindo
12226         hachish)
12227
12228         * text2.C (setCursor): add a couple of asserts.
12229
12230         * paragraph.h (inset_iterator): add -> operator
12231
12232         * paragraph.[Ch] (autoDeleteInsets): remove member function
12233
12234         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12235         cursor pos correctly and handle inset deletion by itself.
12236         (insertErrors): move iterator declaration out of for expression
12237
12238         * lyxtextclass.C: add <algorithm>
12239
12240         * Makefile.am: added the new files to sources, removed layout.C
12241
12242         * layout.C: removed file
12243
12244         * layout.h: remove LYX_DUMMY_LAYOUT
12245
12246         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12247         layout.
12248
12249         * lyxlayout.[Ch]:
12250         * lyxtextclass.[Ch]:
12251         * lyxtextclasslist.[Ch]: new files
12252
12253         * include order changes to a lot of files, also changes because of
12254         the six new files.
12255
12256 2001-12-27  Juergen Vigna  <jug@sad.it>
12257
12258         * buffer.C (asciiParagraph): more fixes.
12259
12260         * tabular.C (ascii): make ascii export support export of only the
12261         data separated by a column-delimiter.
12262         (ascii): better support for ascii export.
12263
12264         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12265
12266 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12267
12268         * tabular_funcs.C: use a "using std::getline" instead of the
12269         previous fix from Angus (necessary for cxx + lyxstring)
12270
12271 2001-12-24  Juergen Vigna  <jug@sad.it>
12272
12273         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12274
12275         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12276         problems. First check a minipage also if we have some ert-contents
12277         (not only on par->size(), second set the right depth of the paragraph
12278         on the relink to the root-paragraph-list!
12279
12280         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12281         which then did not anymore update the main paragraphs on undo/redo!
12282
12283 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12284
12285         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12286         code. Support all font-changing funcs (even those which are not in
12287         menu currently). Support for reporting font settings in
12288         mathed (disabled until Andre provides a function on mathed's side).
12289
12290         * func_status.h (toggle): small helper function to set toggle
12291         state on a flag.
12292
12293 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12294
12295         * tabular_funcs.C: getline -> std::getline
12296
12297 2001-12-21  Juergen Vigna  <jug@sad.it>
12298
12299         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12300         accessed and could be 0 (I couldn't generate this but it seems
12301         Michael could!).
12302
12303 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12304
12305         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12306         * tabular_funcs.h: here and include iosfwd
12307
12308 2001-12-20  Juergen Vigna  <jug@sad.it>
12309
12310         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12311         inside inset but undo_par was.
12312
12313 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12314
12315         * Thesaurus.C: always include <config.h> in sources.
12316
12317         * Painter.h:
12318         * lyxlookup.h:
12319         * box.h: do not include <config.h> in header files
12320
12321         * text.C (paintLastRow): remove unused variable
12322
12323         * text.C (transformChar):
12324         (insertChar):
12325         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12326
12327         * Painter.C (text):
12328         * font.C (width): rewrite to use uppercase() instead of
12329         islower/toupper.
12330
12331         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12332
12333 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12334
12335         * lyxfind.C: clean up of find failure position change
12336
12337 2001-12-20  Juergen Vigna  <jug@sad.it>
12338
12339         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12340
12341         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12342         (TeXRow): added to LaTeX a single tabular row.
12343         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12344         (Latex): simplified and finally good LT-h/f support.
12345         (various_functions): just small adaptions for LT-h/f support.
12346
12347         * tabular_funcs.[hC]: added and moved here all not classfunctions
12348         of LyXTabular.
12349
12350 2001-12-19  Juergen Vigna  <jug@sad.it>
12351
12352         * tabular.[Ch]: better support for longtabular options (not finished
12353         yet!)
12354
12355 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12356
12357         * text.C (paintLastRow): use the label font instead of the font of
12358         the last character to compute the size of *_BOX. This makes more
12359         sense and avoids a crash with empty paragraphs.
12360         Use Painter::rectangle to draw EMPTY_BOX.
12361
12362 2001-12-19  Juergen Vigna  <jug@sad.it>
12363
12364         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12365         the paragraphs if the replaced paragraph is not the first one!
12366         Tried to delete not used paragraphs but does not work yet so for
12367         now it's inside #ifdef's and by default off!
12368
12369 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12370
12371         * MenuBackend.C: include "lyx_main.h" instead of declaring
12372         lastfiles (actually was declared as LastFiles* instead of a
12373         scoped_ptr).
12374
12375 2001-12-17  Juergen Vigna  <jug@sad.it>
12376
12377         * tabular.C (AppendColumn): applied John's fix
12378
12379 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12380
12381         * BufferView.h:
12382         * BufferView.C:
12383         * BufferView_pimpl.h:
12384         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12385
12386         * Makefile.am:
12387         * box.h: new start of class for above
12388
12389         * lyxfunc.C: ignore space-only minibuffer dispatches.
12390           Show the command name when it doesn't exist
12391
12392         * minibuffer.C: don't add empty lines to the history
12393
12394         * minibuffer.C: add a space on dropdown completion
12395
12396 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12397
12398         * text.C: fix line above/below drawing in insets
12399
12400 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12401
12402         * lyxlength.C (LyXLength): Initialize private variables.
12403
12404 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12405
12406         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12407         when inserting error insets.
12408
12409 2001-12-13  Juergen Vigna  <jug@sad.it>
12410
12411         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12412         actually sometimes the before-paragraph.
12413         (setUndo): don't clear the redostack if we're not actually undoing!
12414
12415 2001-12-06  Juergen Vigna  <jug@sad.it>
12416
12417         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12418         and fixed redoing of main paragraph, so we can use it now ;)
12419
12420         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12421
12422 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12423
12424         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12425         Juergen's request
12426
12427 2001-12-13  André Pönitz <poenitz@gmx.net>
12428
12429         * undostack.[Ch]:
12430         * undo_func.C: minor cleanup
12431
12432 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12433
12434         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12435         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12436         font in urw-fonts package which is marked as -urw-fontspecific and
12437         does not work (incidentally, changing the encoding in the
12438         fonts.dir of this package to -adobe-fontspecific fixes the
12439         problem).
12440
12441         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12442         is a crash when undoing first paragraph (Juergen, please take a
12443         look). THis does not mean the undo fix is wrong, just that it
12444         uncovers problems.
12445
12446         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12447         the (Paragraph*) version when needed instead of duplicating the
12448         code.
12449
12450         * text.C (workWidth): use Inset::parOwner to find out where the
12451         inset has been inserted. This is a huge performance gain for large
12452         documents with lots of insets. If Inset::parOwner is not set, fall
12453         back on the brute force method
12454
12455         * paragraph_pimpl.C (insertInset):
12456         * paragraph.C (Paragraph):
12457         (cutIntoMinibuffer): set parOwner of insets when
12458         inserting/removing them
12459
12460         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12461
12462 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12463
12464         * commandtags.h:
12465         * LyXAction.C:
12466         * lyx_main.C:
12467         * lyxfunc.C:
12468         * mathed/formulabase.C:
12469         * mathed/math_cursor.[Ch]:
12470         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12471
12472
12473 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12474
12475         * lyxlength.[Ch] (operator!=): new function
12476
12477 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12478
12479         * text.C (workWidth): use Inset::parOwner to find out where the
12480         inset has been inserted. This is a huge performance gain for large
12481         documents with lots of insets. If Inset::parOwner is not set, fall
12482         back on the brute force method
12483
12484         * paragraph_pimpl.C (insertInset):
12485         * paragraph.C (Paragraph):
12486         (cutIntoMinibuffer): set parOwner of insets when
12487         inserting/removing them
12488
12489         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12490
12491 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12492
12493         * tabular-old.C (getTokenValue):
12494         * tabular.C (getTokenValue):
12495         (write_attribute): new versions for LyXLength
12496         (everywhere): adjust the use of widths
12497
12498         * tabular.h: change the type of widths from string to LyXLength
12499
12500 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12501
12502         * paragraph.C: fixed missing line number count when exporting
12503         Environments to LaTeX file
12504
12505         * buffer.C: added informational message for checking line numbers.
12506
12507 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12508
12509         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12510         paragraph, do the 'double space' part, but not the 'empty
12511         paragraph' one.
12512
12513         * text.C (workWidth): small optimization
12514         (getLengthMarkerHeight): use minimal size for negative lengths.
12515
12516 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12517
12518         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12519
12520         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12521
12522 2001-12-11  André Pönitz <poenitz@gmx.net>
12523
12524         * FontLoader.C:
12525         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12526
12527 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12528
12529         * text2.C: keep selection on a setFont()
12530
12531 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * lyx_cb.C: another bv->text misuse, from insert label
12534
12535 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12536
12537         * kbsequence.h:
12538         * kbsequence.C: re-instate nmodifier mask
12539
12540 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12541
12542         * lyx_main.h: make lyxGUI private.
12543
12544 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12545
12546         * lyxfind.C: place the cursor correctly on failed search
12547
12548 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12549
12550         * text.C (getLengthMarkerHeight): for small heights, the arrows
12551         are not always on top/bottom of the text
12552         (drawLengthMarker): smaller arrows; take the left margin in
12553         account; draw also vfills.
12554         (paintFirstRow):
12555         (paintLastRow): remove special code for vfill and standard spaces,
12556         since everything is handled in drawLengthMarker now.
12557
12558 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12559
12560         * buffer.C (insertErtContents): try to handle font and language
12561         interaction a bit better.g
12562
12563         * ColorHandler.C (updateColor): change the hash to cover the whole
12564         LColor enum, ws cleanup
12565         (getGCLinepars): ditto
12566         (getGCLinepars): only lookup in the linecache once.
12567
12568 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12569
12570         * iterators.C (operator++): Make the iterator more robust
12571
12572         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12573         (John's patch)
12574         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12575
12576 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12577
12578         * lyxtext.h:
12579         * text.C: better added space drawing
12580
12581 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12582
12583         * LyXView.C:
12584         * BufferView2.C: fix layout combo update on inset unlock
12585
12586 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * Makefile.am: don't compile unused files
12589
12590 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12591
12592         * lyxfunc.C:
12593         * commandtags.h:
12594         * LyXAction.C: remove old LFUN_LAYOUTNO
12595
12596 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12597
12598         * paragraph_pimpl.h:
12599         * paragraph_pimpl.C: isTextAt() doesn't need font param
12600
12601 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12602
12603         * lyxlex.h:
12604         * lyxlex.C: little cleanup
12605
12606 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12607
12608         * BufferView_pimpl.C: fix insertAscii for insets
12609
12610 2001-12-05  Juergen Vigna  <jug@sad.it>
12611
12612         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12613         set the right font on the "multi" paragraph paste!
12614
12615 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12616
12617         * trans_decl.h:
12618         * trans_mgr.[Ch]:
12619         * trans.[Ch]:
12620         * lyxgluelength.C:
12621         * lyxlength.C: remove out-commented code.
12622
12623         * BufferView_pimpl:
12624         * CutAndPaste.C:
12625         * DepTable.C:
12626         * buffer.C:
12627         * chset.C:
12628         * lastfiles.C:
12629         * lyxlex.C:
12630         * lyxlex_pimpl.C:
12631         * lyxserver.C:
12632         * screen.C:
12633         * tabular-old.C:
12634         * tabular.C:
12635         * text.C:
12636         * trans_mgr.C:
12637         * vc-backend.C: change "while(" to "while ("
12638
12639         * lyxlength.[Ch]: add zero function to check if length is zero or
12640         not
12641         * lyxgluelength.C: use it
12642
12643 2001-12-05  Allan Rae  <rae@lyx.org>
12644
12645         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12646         Works for 2.95.3, from what I understand of Garst's reports this should
12647         work for other g++ versions.  We're screwed if the abs(int) definition
12648         changed between bugfix releases of gcc.
12649
12650 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12651
12652         * text.C: fix chapter label offset !
12653
12654 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12655
12656         * lyxtext.h:
12657         * text.C: fix hfill at end of line, clean up
12658
12659 2001-12-04  Juergen Vigna  <jug@sad.it>
12660
12661         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12662         that we force an update of the inset and it's owners if neccessary.
12663
12664 2001-12-03  Juergen Vigna  <jug@sad.it>
12665
12666         * text.C (rowLast): simplified code
12667
12668 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12669
12670         * lyxfunc.C: fix show options on timeout
12671
12672 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12673
12674         * screen.C (topCursorVisible): scroll half a page when the cursor
12675         reached top of bottom of screen
12676
12677 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12678
12679         * minibuffer.C: deactivate on loss of focus
12680
12681 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12682
12683         * vspace.[Ch] (operator!=): add operator.
12684
12685 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12686
12687         * BufferView_pimpl.C: refuse to open an inset when
12688         there's a selection.
12689
12690 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12691
12692         * BufferView_pimpl.C: allow to click on RHS of full row insets
12693
12694 2001-11-30  Juergen Vigna  <jug@sad.it>
12695
12696         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12697         insets for undo reasons.
12698
12699 2001-11-28  André Pönitz <poenitz@gmx.net>
12700
12701         * vspace.[Ch]: cosmetical changes
12702
12703 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12704
12705         * LyXAction.h:
12706         * LyXAction.C:
12707         * lyxfunc.h:
12708         * lyxfunc.C:
12709         * kbmap.h:
12710         * kbmap.C:
12711         * lyxrc.C:
12712         * kbsequence.h:
12713         * kbsequence.C: part re-write of old kb code
12714
12715         * Painter.C:
12716         * WorkArea.C: remove Lgb_bug_find_hack
12717
12718 2001-11-30  José Matos <jamatos@fep.up.pt>
12719
12720         * buffer.C (makeDocBookFile): add a comment to point a hack.
12721         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12722         Fixed a double write of labels.
12723
12724 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12725
12726         * LaTeX.C:
12727         * LaTeX.h Fixed bug in LaTeX class where it would not
12728         re-run latex if no depfiles were changed, but the .dvi was removed.
12729
12730 2001-11-28  André Pönitz <poenitz@gmx.net>
12731
12732         * all the files from the change on 2001/11/26:
12733         use lyx::layout_type instead of LyXTextClass::size_type
12734         use lyx::textclass_type instead of LyXTextClassList::size_type
12735
12736 2001-11-29  Juergen Vigna  <jug@sad.it>
12737
12738         * text.C: added support for paragraph::isFreeSpacing()
12739
12740         * buffer.C: same as above
12741
12742         * paragraph.h: inserted isFreeSpacing() function to enable
12743         FreeSpacing inside InsetERT.
12744
12745         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12746         of the paragraph's in the cut/copy buffer to 0!
12747
12748         * text2.C (removeRow): remove the assert as it can!
12749
12750         * lyxtext.h: added helper function firstRow returning firstrow and
12751         made firstrow private again.
12752
12753         * BufferView2.C (lockInset): don't relock if we're already locked!
12754
12755         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12756         the only paragraph.
12757         (removeRow): added Assert::(firstrow)
12758
12759         * debug.C: forgot to add INSETTEXT here.
12760
12761 2001-11-28  Juergen Vigna  <jug@sad.it>
12762
12763         * sp_spell.C (initialize): changed error text to more general
12764         spellchecker command use (not only ispell!)
12765
12766         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12767
12768         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12769
12770 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12771
12772         * vspace.C: initialise lyxgluelength on failure
12773
12774 2001-11-28  Allan Rae  <rae@lyx.org>
12775
12776         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12777         declaration & definition that looks like a function declaration.
12778
12779 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12780
12781         * BufferView2.C (copy):
12782         (copyEnvironment): do not clear the selection when doing a copy.
12783
12784         * text.C (paintFirstRow): compilation fix
12785
12786 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12787
12788         * tabular.C (Latex): correct line count when writing latex.
12789
12790 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12791
12792         * paragraph_pimpl.h:
12793         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12794           bug a bit
12795
12796 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12797
12798         * text.C:
12799         * LColor.h:
12800         * LColor.C: change vfillline->added_space
12801
12802         * text.C: add markers and text for added space
12803
12804         * vspace.C: fix comment
12805
12806 2001-11-28  André Pönitz <poenitz@gmx.net>
12807
12808         * paragraph.C: whitespace changes
12809         * all the other files from the change on 2001/11/26:
12810         change *::pos_type into lyx::pos_type
12811
12812 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12813
12814         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12815         language of the document when inserting error insets.
12816
12817 2001-11-26  André Pönitz <poenitz@gmx.net>
12818
12819         * BufferView_pimpl.[Ch]:
12820         *       CutAndPaste.C:
12821         * buffer.[Ch]:
12822         * lyxcursor.[Ch]:
12823         * lyxfind.C:
12824         * lyxfunc.C:
12825         * lyxrow.[Ch]:
12826         * paragraph.[Ch]:
12827         * paragraph_pimpl.[Ch]:
12828         * sp_spell.C:
12829         * text.C:
12830         * text2.C: reduce header dependencies, introduce type for positions
12831
12832 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12833
12834         * <various>: change to use Alert.h
12835
12836 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12837
12838         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12839         when encountering an unknown token.
12840         (readLyXformat2): Show an error message if there were unknown tokens.
12841
12842 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12843
12844         * BufferView2.C:
12845         * BufferView_pimpl.C:
12846         * buffer.C:
12847         * paragraph.h:
12848         * text.C:
12849         * text2.C: use par->isInset()
12850
12851 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12852
12853         * paragraph_pimpl.h:
12854         * paragraph_pimpl.C: cleanup
12855
12856 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12857
12858         * text2.C (removeRow):
12859         * text.C (setHeightOfRow): remove useless (and costly) call to
12860         getRow.
12861
12862 2001-11-20  Allan Rae  <rae@lyx.org>
12863
12864         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12865         Now need Inset*::checkInsertChar() to return true for appropriate
12866         cases so that the characters in the minibuffer will actually be
12867         inserted.
12868
12869 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12870
12871         * text.C: change the order of the includes.
12872         (workWidth): initialize it at once.
12873         (workWidth): make maxw unsigned
12874         (setHeightOfRow): remove unused variable (inset)
12875         (selectSelectedWord): remove unused variable (inset)
12876         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12877
12878 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12879
12880         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12881         server is not running.
12882         (openConnection):
12883         (closeConnection): add debug info when server is disabled.
12884
12885         * ColorHandler.C (getGCForeground): send debug message to GUI
12886         channel.
12887
12888         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12889
12890         * kbmap.C (bind): modify because return conventions of
12891         kb_sequence::parse have changed.
12892
12893         * kbsequence.C (parse): only ignore spaces and not any stupid
12894         control character. This avoids tests like s[i] <= ' ', which are
12895         guaranteed to fail with 8bit characters and signed chars.
12896         Change return code to string::npos when there have been no error
12897         (0 was a bad idea when error is at first character)
12898
12899 2001-11-14  José Matos  <jamatos@fep.up.pt>
12900
12901         * buffer.h:
12902         * buffer.C (simpleDocBookOnePar): removed unused argument.
12903
12904 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12905
12906         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12907         insets which are part of a word. Paragraph::isLetter takes care of
12908         that now. Use Paragraph::isInset to identify insets.
12909         (selectSelectedWord): do not test for hyphenation break.
12910
12911         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12912         that protected spaces are considered as spaces.
12913
12914         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12915         Inset::isLetter.
12916
12917 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12918
12919         * lyxserver.h:
12920         * lyxserver.C: fix it. and small cleanup.
12921
12922 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12923
12924         * BufferView_pimpl.C: use inline helpers
12925
12926         * LaTeXFeatures.h:
12927         * LaTeXFeatures.C: fix typos
12928
12929         * Spacing.h:
12930         * Spacing.C: move spacing_string into class
12931
12932         * ToolbarDefaults.C: move stuff into namespace anon
12933
12934         * layout.h: update enum
12935
12936         * lyxfunc.C: use better debug
12937
12938         * minibuffer.h: fix typo
12939
12940         * debug.h:
12941         * debug.C:
12942         * WorkArea.C: add and use Debug::WORKAREA
12943
12944         * lyxtext.h:
12945         * text.C:
12946         * text2.C: code re-organisation, inline helpers
12947
12948 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12949
12950         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12951         std::vector.empty().
12952
12953 2001-11-09  Allan Rae  <rae@lyx.org>
12954
12955         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12956         '\n's after tables.  Tabular and ERT inset work now makes this no
12957         longer necessary.
12958
12959 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12960
12961         * minibuffer.h:
12962         * minibuffer.C: fix crash, improve drop-down completion
12963
12964 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12965
12966         * lyxserver.h:
12967         * lyxserver.C: invalidate fd's when doing endPipe()
12968
12969 2001-11-08  José Matos  <jamatos@fep.up.pt>
12970
12971         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12972         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12973
12974         * paragraph.h:
12975         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12976
12977 2001-11-07  José Matos  <jamatos@fep.up.pt>
12978
12979         * buffer.h:
12980         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12981         const qualifier.
12982
12983         * buffer.C (sgmlOpenTag):
12984         * buffer.C (sgmlCloseTag): removed debug info.
12985
12986         * buffer.h (sgmlOpenTag):
12987         * buffer.h (sgmlCloseTag): made public.
12988
12989 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12990
12991         * buffer.C (saveParamsAsDefaults):
12992         * lyx_cb.C (MenuLayoutSave): remove
12993
12994         * LyXAction.C (init):
12995         * commandtags.h:
12996         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12997
12998 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12999
13000         * buffer.C (setPaperStuff): removed from here...
13001
13002         * bufferparams.C (setPaperStuff): ... and moved there.
13003
13004 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * minibuffer.h:
13007         * minibuffer.C:
13008         * XFormsView.C: add support for drop-down completion
13009
13010 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13011
13012         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13013         commands.
13014
13015 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13016
13017         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13018         disabled.
13019
13020 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * lyx_main.C: change ref to known bugs
13023
13024 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13025
13026         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13027         to work around older babel problems.
13028
13029 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13030
13031         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13032
13033 2001-10-24  Juergen Vigna  <jug@sad.it>
13034
13035         * tabular-old.C (ReadOld): below variable changes reflected.
13036
13037         * tabular.[Ch]: added ltType struct for longtable header/footer
13038         defines and changed all instances where they are used. Added
13039         future support for double top/bottom rows.
13040
13041 2001-10-24  José Matos  <jamatos@fep.up.pt>
13042
13043         * buffer.h (docbookHandleCaption):
13044         * buffer.C (docbookHandleCaption): removed unused function.
13045         (makeDocBookFile): moved docbook supported version to v4.1.
13046
13047 2001-10-24  José Matos  <jamatos@fep.up.pt>
13048
13049         * tabular.h:
13050         * tabular.C (docbookRow): new function to export docbook code of a row.
13051         (DocBook): now honors the longtable flags.
13052
13053 2001-10-23  José Matos  <jamatos@fep.up.pt>
13054
13055         * LaTeXFeatures.h:
13056         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13057         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13058
13059         * buffer.C (makeLinuxDocFile):
13060         (makeDocBookFile): reworked the preamble, more clean, and with
13061         support for lyx defined entities. Changed the document declaration
13062         to be more XML friendly.
13063
13064         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13065         if we need to output XML that should be done with a filter.
13066
13067 2001-10-22  Juergen Vigna  <jug@sad.it>
13068
13069         * sp_pspell.h (class PSpell): add alive function needed in the
13070         controller to see if the spellchecker could be started.
13071
13072 2001-10-22  Juergen Vigna  <jug@sad.it>
13073
13074         * buffer.C (insertStringAsLines): modify the font for inserting
13075         chars in certain conditions by calling checkInsertChar(font).
13076
13077 2001-10-19  Juergen Vigna  <jug@sad.it>
13078
13079         * text.C (workWidth): use getRow instead of wrong algorithm.
13080         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13081
13082 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13083
13084         * lyxserver.h:
13085         * lyxserver.C:
13086         * lyx_main.h:
13087         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13088
13089 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13090
13091         * text.C (workWidth): do not search for the exact row when
13092         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13093         optimization for big documents.
13094
13095 2001-10-18  Juergen Vigna  <jug@sad.it>
13096
13097         * text.C (workWidth): new function with added Inset * parameter.
13098
13099 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13100
13101         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13102
13103         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13104         change return type of getColumnNearX.
13105
13106
13107         * text.C (changeRegionCase): use uppercase/lowercase instead of
13108         toupper/tolower.
13109         (leftMargin):
13110         (rightMargin): simplify code by factoring out the uses of
13111         textclasslist.
13112         (labelFill):
13113         (numberOfHfills):
13114         (setHeightOfRow):
13115         (appendParagraph): use Paragraph::size_type
13116
13117 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13118
13119         * vspace.C (asLatexString): add a missing break
13120
13121 2001-10-15  Herbert Voss  <voss@perce.de>
13122
13123         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13124
13125 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13126
13127         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13128         is not available.
13129
13130 2001-10-10  André Pönitz <poenitz@gmx.net>
13131
13132         * lyxfunc.C: removed greek_kb_flag.
13133
13134 2001-10-10  Herbert Voss  <voss@perce.de>
13135
13136         * lyx_main.C: delete global string help_lyxdir.
13137
13138 2001-10-09  Herbert Voss  <voss@perce.de>
13139
13140         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13141
13142         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13143
13144         * lyx_main.C: added global string help_lyxdir.
13145
13146         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13147
13148 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13149
13150         * lyxrc.C (set_font_norm_type): support iso8859-4
13151
13152 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13153
13154         * LaTeX.C (deplog): add another regex for MikTeX
13155
13156 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13157
13158         * lyxrc.C (set_font_norm_type): support iso8859-3
13159
13160 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13163
13164         * LaTeXFeatures.C: remove special case of french and index
13165
13166         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13167         before \begin{document}). This solves several incompatibilities.
13168
13169 2001-10-03  Garst Reese  <reese@isn.net>
13170
13171         * lyx_cb.C: change CheckTex error msg.
13172
13173 2001-10-03  José Matos  <jamatos@fep.up.pt>
13174
13175         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13176
13177 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13178
13179         * .cvsignore: update
13180
13181         * lyx_main.C (commandLineVersionInfo): use new style version info.
13182
13183         * buffer.C (writeFile):
13184         (makeLaTeXFile):
13185         (makeLinuxDocFile):
13186         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13187
13188         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13189
13190         * version.h: update to use stuff in version.C
13191
13192         * version.C.in: new file. Contains version information determined
13193         at compile time. This is a merging of version.h and
13194         version_info.h.in.
13195
13196 2001-10-03  Juergen Vigna  <jug@sad.it>
13197
13198         * BufferView_pimpl.C (update): don't change "dirty" status in
13199         updateInset call.
13200
13201 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13202
13203         * WorkArea.C (c-tor): re-position version string slightly.
13204
13205 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13206
13207         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13208         revert to previous code.
13209
13210         WorkArea.[Ch]: (show, destroySplash): methods removed.
13211
13212         WorkArea.C: rework code so that it's an amalgam of the codes before and
13213         after the splash screen was moved to WorkArea.
13214
13215 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13216
13217         * lyxrc.C (read):
13218         * vspace.C (inPixels):
13219         (lyx_advance):
13220         * kbmap.C (bind):
13221         * buffer.C (insertStringAsLines):
13222         (asciiParagraph): fix types to be large enough
13223
13224         * lyxlex_pimpl.h: change member status from short to int
13225
13226         * layout.h: fix type of endlabeltype
13227
13228         * kbmap.C (bind):
13229         * kbsequence.C (parse): change return type to string::size_type
13230
13231         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13232         variable
13233
13234         * Bullet.C (bulletSize):
13235         (bulletEntry): do not use short ints as parameters
13236
13237         * BufferView2.C (insertLyXFile): change a char to an int.
13238
13239         * WorkArea.C (WorkArea): remove unneeded floats in computation
13240
13241 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13242
13243         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13244
13245         * paragraph.C (asString): Do not ignore newline/hfill chars when
13246         copying to the clipboard.
13247
13248 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13249
13250         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13251         after a multi-line inset.
13252
13253 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13254
13255         * paragraph.C (validate): Set NeedLyXFootnoteCode
13256
13257 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13258
13259         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13260         and decrease-error to decrease.
13261
13262 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13263
13264         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13265         it more readable (should be equivalent)
13266
13267 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13268
13269         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13270
13271 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13272
13273         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13274         of a cursor (row, etc.) after a character has been deleted
13275         (deleteEmptyParagraphMechanism): call the method above on _all_
13276         cursors held by the LyXText when a double space has been
13277         detected/deleted.
13278
13279 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13280
13281         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13282         pixmap.
13283         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13284
13285         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13286         background. Use greyOut() and the new show() methods to toggle between
13287         the foreground and background. Add code to remove the splash after
13288         its initial showing.
13289
13290         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13291         (create_forms): no longer call Dialogs::showSplash.
13292
13293 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13294
13295         * .cvsignore: add version_info.h
13296
13297 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13298
13299         * version_info.h.in: new file
13300
13301         * Makefile.am: add version_info.h.in
13302
13303         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13304         version_info.h instead of VERSION_INFO
13305
13306 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13307
13308         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13309         The ERT inset now returns string().
13310
13311 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13312
13313         * lyxtext.h, text.C (selectNextWord): renamed as
13314         selectNextWordToSpellcheck.
13315
13316         * text.C (selectNextWordToSpellcheck): Modified to not select
13317         words inside an ERT inset.
13318
13319 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13320
13321         * lyx_cb.C (MenuLayoutSave): change a bit the question
13322
13323         * sp_base.h: include <sys/types.h>
13324
13325 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13326
13327         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13328
13329 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13330
13331         * several files: fix typos in user-visible strings
13332
13333 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13334
13335         * text2.C (pasteSelection): do not set the selection, since it
13336         will be cleared later. Actually, the intent was to fix the way the
13337         selection was set, but I figured rmoving the code was just as good.
13338
13339 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13340
13341         * FontLoader.C (available): Check if font is available without
13342         loading the font.
13343
13344 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13345
13346         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13347
13348 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13349
13350         * lyxrc.[Ch]: added display_graphics variable and associated code.
13351
13352 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13353
13354         * bufferparams.C (hasClassDefaults): new method. Returns true if
13355         the buffer parameters correspond to known class defaults
13356
13357 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13358
13359         * XFormsView.C (show): set minimum size to the main window.
13360
13361 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13362
13363         * text2.C (copySelection):
13364         (cutSelection):
13365         * lyxfind.C (LyXReplace):
13366         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13367         LyXText::selectionAsString.
13368
13369         * paragraph.C (asString): add "label" argument to the second form
13370
13371         * text2.C (selectionAsString): add "label" argument and pass it to
13372         Paragraph::asString.
13373
13374 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13375
13376         * lyx_main.C (commandLineHelp): remove version information
13377
13378 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13379
13380         * lyx_main.C: add -version commandline option
13381
13382 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13383
13384         * paragraph.h: make the optional constructor arg required instead.
13385         some modifications to other files because of this.
13386
13387         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13388
13389         * lyxserver.C (C_LyXComm_callback): make it static
13390
13391         * lyx_main.C (error_handler): make it static
13392
13393         * lyx_gui.C (LyX_XErrHandler): make it static
13394
13395         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13396
13397         * WorkArea.C: make the extern "C" methods static.
13398
13399         * Makefile.am (lyx_LDADD): simplify
13400
13401 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13402
13403         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13404         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13405
13406         * LyXAction.C (init):
13407         * lyxfunc.C (dispatch): associated code removal.
13408
13409 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13410
13411         * lyxfont.h (isSymbolFont): shut off warning
13412
13413         * text.C (setHeightOfRow):
13414         (getVisibleRow): fix crash with empty paragraphs which have a
13415         bottom line
13416
13417 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13418
13419         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13420         code.
13421
13422 2001-09-04  José Matos  <jamatos@fep.up.pt>
13423         * buffer.C
13424         * buffer.h
13425         * tabular.C (docbook): rename docBook method to docbook.
13426
13427 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13428
13429         * Makefile.am: add dependencies to main.o.
13430
13431 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13432
13433         * FontLoader.C (available): Return false if !lyxrc.use_gui
13434
13435 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13436
13437         * FontInfo.C (query):
13438         * converter.C (view):
13439         * importer.C (Import):
13440         * exporter.C (Export): Can not -> cannot.
13441
13442 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13443
13444         * BufferView_pimpl.C: allow to create index inset even if
13445           string is empty
13446
13447 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13448
13449         * buffer.C (getLists): replace boost::tie code with an explicit pair
13450         as boost::tie can break some compilers.
13451
13452         * iterators.h: Added a std:: declaration to the return type of
13453         ParIterator::size.
13454
13455 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13456
13457         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13458           case.
13459
13460 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13461
13462         * iterators.[Ch]: New files. Provide paragraph iterators.
13463
13464         * buffer.C (changeLanguage): Use paragraph iterators.
13465         (isMultiLingual): ditto
13466
13467         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13468
13469 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13470
13471         * FontLoader.C: Support for cmr font.
13472
13473 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13474
13475         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13476         (available): New method.
13477
13478         * FontInfo.C (getFontname): Use scalable fonts even when
13479         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13480         found.
13481
13482 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13483
13484         * converter.C (Formats::view): reverted! Incorrect fix.
13485
13486 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13487
13488         * converter.C (Formats::view): only output the -paper option
13489         if the dvi viewer is xdvi, thereby fixing bug #233429.
13490
13491 2001-08-23  Herbert Voss  <voss@perce>
13492
13493         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13494
13495 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13496
13497         * Spacing.h (Spacing): Set space to Default on in the default
13498         constructor.
13499
13500 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13501
13502         * vc-backend.h (RCS::versionString): add RCS to version
13503         (CVS::versionString): add CVS to version
13504
13505         * vc-backend.C (scanMaster): do not add CVS to version.
13506         (scanMaster): do not add RCS to version
13507
13508         * lyxvc.C (versionString): new method
13509
13510         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13511
13512 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13513
13514         * Spacing.C (set): initialize fval
13515
13516 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13517
13518         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13519         " or \.
13520
13521 2001-08-16  Juergen Vigna  <jug@sad.it>
13522
13523         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13524
13525 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * BufferView_pimpl.C:
13528         * figureForm.C:
13529         * lyxtext.h:
13530         * text2.C: setParagraph takes linespacing now
13531
13532 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13533
13534         * LyxAction.C: add internal LFUN_CITATION_INSERT
13535
13536         * LyXView.C: actually apply fix
13537
13538         * bufferlist.C: fix open non-existent file
13539
13540         * lyxfind.C: fix indentation
13541
13542         * lyxfunc.C: remove unneeded assert, fix typo
13543
13544 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13545
13546         * MenuBackend.C: use "Floatname List"
13547
13548 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13549
13550         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13551         when converting LaTeX layout to insetERT.
13552         Generate a non-collapsed float when reading old float
13553
13554 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13555
13556         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13557         ERT insets.
13558
13559 2001-08-13  Juergen Vigna  <jug@sad.it>
13560
13561         * text.C (fill): return 0 instead of 20 as this seems to be the more
13562         correct value.
13563
13564 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13565
13566         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13567         lyxrc.font_norm.
13568
13569 2001-08-13  Juergen Vigna  <jug@sad.it>
13570
13571         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13572         casesensitive off.
13573         (SearchBackward): comment out the unlocking of the inset_owner this
13574         should not be needed!
13575
13576 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13577
13578         * Many files: Remove inherit_language, and add latex_language
13579
13580         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13581         collapsible insets.
13582
13583 2001-08-10  Juergen Vigna  <jug@sad.it>
13584
13585         * text.C (prepareToPrint): fixed hfill-width in draw!
13586
13587         * BufferView2.C (selectLastWord): save the selection cursor as this
13588         now is cleared in the function LyXText::clearSelection!
13589
13590 2001-08-08  Juergen Vigna  <jug@sad.it>
13591
13592         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13593         BACKSPACE type functions.
13594
13595         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13596         is only cutted from the document but not put in the cut-buffer, where
13597         still the old stuff should be.
13598
13599         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13600
13601         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13602
13603         * tabular.C (SetWidthOfCell): fixed special case where the width
13604         was not updated!
13605         (LeftLine): handle '|' in align_special.
13606         (RightLine): ditto
13607         (LeftAlreadyDrawed): ditto
13608         (SetWidthOfCell): ditto
13609
13610 2001-08-07  Juergen Vigna  <jug@sad.it>
13611
13612         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13613
13614 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13615
13616         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13617         * lyxlex.[hC]: ditto
13618
13619 2001-08-06  Juergen Vigna  <jug@sad.it>
13620
13621         * text.C (getVisibleRow): fix up row clearing a bit.
13622
13623 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13624
13625         * minibuffer.C: make sure the X server sees the changes in the input.
13626
13627 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13628
13629         * paragraph.C (getFont): split into...
13630         (getLabelFont): this
13631         (getLayoutFont): and this
13632         * paragraph_pimpl.C (realizeFont): calling this
13633
13634         * text2.C (getFont): split into...
13635         (getLayoutFont): this
13636         (getLabelFont): and this
13637         (realizeFont): all three calling this
13638
13639         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13640         files where used.
13641
13642 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13645
13646 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13647
13648         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13649         layouts from the Quote inset insertion.
13650
13651 2001-08-03  Juergen Vigna  <jug@sad.it>
13652
13653         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13654
13655         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13656         only if status not is already CHANGED_IN_DRAW (second level).
13657
13658         * text.C (draw): don't set the need_break_row when inside an
13659         InsetText LyXText.
13660
13661 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13662
13663         * buffer.C (parseSingleLyXformat2Token): handle more latex
13664         conversion cases.
13665
13666         * bufferview_funcs.[hC]: change function names to
13667         begin with small char, adjust other files.
13668
13669 2001-08-02  André Pönitz <poenitz@gmx.net>
13670
13671         * lyxfunc.C:
13672         BufferView_pimpl.C: remove broken special code for math-greek
13673
13674 2001-08-02  Juergen Vigna  <jug@sad.it>
13675
13676         * BufferView_pimpl.C (update): redone this function so that we
13677         update the text again if there was a CHANGE_IN_DRAW.
13678
13679         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13680         (drawFromTo): added a new internal bool which is used by draw() and
13681         redraw() function.
13682         (general): some cursor drawing problems fixed.
13683
13684 2001-08-01  Juergen Vigna  <jug@sad.it>
13685
13686         * lyxfind.C (LyXFind): fixed
13687         (SearchForward): ditto
13688         (SearchBackward): ditto
13689
13690         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13691         spurius drawing of the cursor in the main area.
13692
13693         * text2.C (status): small fix which could lead to a segfault!
13694         (clearSelection): remove unneeded BufferView param.
13695
13696 2001-08-01  André Pönitz <poenitz@gmx.net>
13697
13698         * lyxfunc.C: small change due to changed mathed interface
13699
13700 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13701
13702         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13703
13704 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13705
13706         * lyxfunc.c: fail gracefully if file doesn't exist
13707
13708         * LyXSendto.C:
13709         * buffer.C:
13710         * lyxfunc.C:
13711         * BufferView_pimpl.C: IsDirWriteable() proto changed
13712
13713         * LyXView.C: fix updateWindowTitle() to store the last title
13714
13715 2001-07-31  Juergen Vigna  <jug@sad.it>
13716
13717         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13718         the font (wrong since using of Paragraph::highestFontInRange).
13719
13720         * paragraph.C (highestFontInRange): added a default_size parameter.
13721
13722         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13723         (setHeightOfRow): reformat
13724
13725 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13726
13727         * converter.[hC] + affected files: move to (inital-char)lowercase
13728         function names.
13729
13730         * ParagraphParameters.C (ParagraphParameters): remove commented code
13731
13732         * PainterBase.[Ch]: remove commented code
13733
13734         * LaTeXFeatures.h: add "bool floats" for float.sty
13735
13736         * LaTeXFeatures.C (LaTeXFeatures): init floats
13737         (require): handle float
13738         (getPackages): do it with floats
13739
13740 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13741
13742         * BufferView_pimpl.C (Dispatch): improve handling of
13743         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13744
13745         * commandtags.h: #include lyxfont.h here temporarily to avoid
13746         keybinding bug.
13747
13748         * bufferlist.h: include LString.h here.
13749
13750 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13751
13752         * text2.C (getStringToIndex): new method.
13753
13754 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13755
13756         * *: Reduced header file dependencies all over.
13757
13758 2001-07-30  Baruch Even  <baruch@lyx.org>
13759
13760         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13761
13762 2001-07-29  Baruch Even  <baruch@lyx.org>
13763
13764         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13765
13766 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13767
13768         * ParameterStruct.h (endif): add a default constructor to make
13769         sure that all variables is initialized.
13770
13771         * ParagraphParameters.C (ParagraphParameters): adjust
13772
13773 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13774
13775         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13776         index; also, check that there is something to index, and that it
13777         does not span over several paragraphs.
13778         (doubleClick): use WHOLE_WORD_STRICT for double click.
13779
13780         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13781
13782         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13783         scheme.
13784
13785 2001-07-26  Baruch Even  <baruch@lyx.org>
13786
13787         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13788         an InsetFig figure, backwards compatible reading of old figure code.
13789
13790 2001-07-27  Juergen Vigna  <jug@sad.it>
13791
13792         * text2.C: font.realize function adaption.
13793
13794         * text.C (draw): add a warnings lyxerr text if needed.
13795
13796         * layout.C: font.realize function adaption.
13797
13798         * language.C: add inherit_language and implement it's handlings
13799
13800         * bufferview_funcs.C (StyleReset): remove language parameter from
13801         font creation (should be language_inherit now).
13802
13803         * bufferparams.C (writeFile): handle ignore_language.
13804
13805         * paragraph.C (getFontSettings): the language has to be resolved
13806         otherwise we have problems in LyXFont!
13807
13808         * lyxfont.C (lyxWriteChanges): added document_language parameter
13809         (update): removed unneeded language parameter
13810
13811         * paragraph.C (validate): fixed wrong output of color-package when
13812         using interface colors for certain fonts in certain environments,
13813         which should not seen as that on the final output.
13814
13815 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13816
13817         * BufferView_pimpl.C:
13818         * Thesaurus.h:
13819         * Thesaurus.C:
13820         * Makefile.am:
13821         * commandtags.h:
13822         * LyXAction.C: add thesaurus support
13823
13824         * lyxfind.h:
13825         * lyxfind.C: add "once" parameter, for thesaurus, to not
13826           move to the next match
13827
13828 2001-07-26  Juergen Vigna  <jug@sad.it>
13829
13830         * lyxfont.C (realize): honor ignore_language too!
13831         (resolved): ditto.
13832
13833         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13834
13835         * text.C (draw): one place more for ignore_language to not draw
13836         itself!
13837
13838 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13839
13840         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13841
13842 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13843
13844         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13845         the minipage conversion problem.
13846
13847 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13848
13849         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13850         insert an inset.
13851
13852 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13853
13854         * BufferView.h: don't forward declare WorkArea
13855
13856         * BufferView.C: don't include WorkArea.h
13857
13858 2001-07-25  André Pönitz <poenitz@gmx.net>
13859
13860         * commandtags.h:
13861         * LyXAction.C:
13862         * lyxfunc.C:  new LFUN 'math-space'
13863
13864         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13865
13866 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13867
13868         * text2.C (toggleInset): call open/close
13869
13870 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13871
13872         * lyxfunc.C (dispatch): add debug for the disabled case
13873
13874         * font.C (buttonText): make similar to rectText
13875
13876         * buffer.C (readInset): comment out parsing of insetlist and
13877         insttheorem
13878
13879         * PainterBase.C (rectText): small correction
13880
13881         * BufferView_pimpl.C: comment out insettheorem and insetlist
13882         * LyXAction.C: ditto
13883         * commandtags.h: ditto
13884
13885 2001-07-24  Juergen Vigna  <jug@sad.it>
13886
13887         * text.C (draw): honor the ignore_language.
13888
13889         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13890
13891 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13892
13893         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13894         char inset.
13895
13896 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13897
13898         * lyxtext.h: remove unused (and unimplemented) methods
13899
13900 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13901
13902         * text.C (getVisibleRow): honor background color
13903
13904         * PainterBase.h:
13905         * Painter.h: remove default color argument for fillRectangle
13906
13907         * text.C (backgroundColor): new method
13908
13909 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13910
13911         * text.C (getVisibleRow): adjust
13912
13913         * font.[Ch] (rectText): new method, metrics
13914         (buttonText): new method, metrics
13915
13916         * PainterBase.[hC]: make rectText and buttonText always draw and take
13917         fewer paramteres.
13918
13919 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13920
13921         * ToolbarDefaults.C (read):
13922         * MenuBackend.C (read): allow escaping in all strings
13923
13924         * BufferView_pimpl.C (insertAndEditInset): new method.
13925         (Dispatch): use insertAndEditInset whenever appropriate.
13926
13927         * BufferView_pimpl.C (insertNote): removed
13928
13929         * BufferView_pimpl.C (smartQuote): new method, moved from
13930         BufferView; if an insetquote cannot be inserted, insert a '"'
13931         character instead.
13932
13933         * BufferView2.C: remove insertCorrectQuote();
13934
13935         * lyxfunc.C (getStatus): Add support for all remaingin
13936         inset-insert lfuns.
13937
13938         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13939
13940         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13941         command (necessary to pass " as parameter of self-insert.
13942
13943         * text.C (selectWordWhenUnderCursor):
13944         (selectWord): add word_location parameter
13945         (selectWordWhenUnderCursor): same + remove special code for word
13946         boundary.
13947         (selectNextWord): use kind() to guess type of insetspecialchar,
13948         not latex().
13949
13950         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13951         (insertErtContents): create ert insets as collapsed.
13952         (readInset): better compatibility code for Info inset.
13953
13954 2001-07-20  Juergen Vigna  <jug@sad.it>
13955
13956         * lyxfunc.C (dispatch): use always LyXFind now!
13957
13958         * text2.C (init): add a reinit flag so that the LyXText can be
13959         reinited instead of deleted and reallocated (used in InsetText).
13960
13961         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13962
13963         * text.C: ditto
13964
13965         * text2.C: ditto
13966
13967 2001-07-18  Juergen Vigna  <jug@sad.it>
13968
13969         * text.C (selectNextWord): handle insets inside inset by calling
13970         always the bv->text functions so that we can go up the_locking_inset!
13971
13972         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13973         in strange locations when inside an inset!
13974
13975         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13976         handling to include insets.
13977
13978         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13979
13980 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13981
13982         * LyXAction.C (init):
13983         * commandtags.h:
13984         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13985         LIGATURE_BREAK, since the name is so stupid.
13986
13987 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13988
13989         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13990         InsetInfos.
13991
13992         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13993
13994         * sp_form.[Ch]: remove.
13995
13996         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13997
13998         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13999         InsetInfo.
14000
14001         * src/buffer.C (readInset): ditto.
14002
14003 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14004
14005         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14006         menuSeparator(), endOfSentenceDot(), ldots() and
14007         hyphenationPoint(), which are therefore removed.
14008         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14009
14010         * LyXAction.C (init):
14011         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14012
14013         * paragraph.C (getWord): removed.
14014
14015         * BufferView_pimpl.C (Dispatch): use last word or selection for
14016         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14017
14018         * lyx_main.C (queryUserLyXDir): do not ask before creating
14019         user_dir, except if it has been named explicitely.
14020
14021 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14022
14023         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14024         a document of zero size.
14025
14026 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14027
14028         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14029         approriately in the c-tor and in require().
14030         (getPackages): output the appropriate LaTeX for natbib support.
14031
14032         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14033         variables "use_natbib" and "use_numerical_citations" when reading the
14034         LyX file.
14035         (readInset): read the various natbib cite commands.
14036         (validate): white-space change.
14037
14038         * bufferparams.[Ch]: new variables "bool use_natbib" and
14039         "bool use_numerical_citations".
14040         (writeFile): output them in the LyX file.
14041
14042 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14043
14044         * lyxfunc.C (getStatus): add support for all the inset insertion
14045         commands.
14046
14047         * text2.C (insertInset):
14048         * paragraph.C (insetAllowed):
14049         * BufferView_pimpl.C (insertInset): update to take in account the
14050         renaming of insertInsetAllowed
14051
14052         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14053
14054         * text2.C (getInset): new method. returns inset at cursor position.
14055
14056         * BufferView_pimpl.C (Dispatch): changes because of this.
14057
14058         * LyXAction.C (init): rename open-stuff to inset-toggle.
14059
14060         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14061
14062         * text2.C (toggleInset): renamed from openStuff; use
14063         Inset::open().
14064
14065 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14066
14067         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14068
14069         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14070
14071 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14072
14073         * buffer.C (readLyXformat2): Add filename to the error dialog
14074
14075 2001-07-18  Juergen Vigna  <jug@sad.it>
14076
14077         * tabular.C (GetCellNumber): put an assert here instead of the check!
14078
14079 2001-07-17  Juergen Vigna  <jug@sad.it>
14080
14081         * BufferView_pimpl.C (toggleSelection): adapted too.
14082
14083         * text.C (selectNextWord): adapted for use with insets.
14084         (selectSelectedWord): ditto
14085
14086 2001-07-17  Juergen Vigna  <jug@sad.it>
14087
14088         * sp_spell.C (PSpell): fix initialitation order.
14089
14090 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14091
14092         * paragraph.C: spacing
14093
14094 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14095
14096         * sp_spell.C: repair language selection for pspell
14097
14098 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14099
14100         * lyxfunc.h: change more methods to begin with lower char.
14101
14102 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14103
14104         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14105         for unknown layouts.
14106
14107 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14108
14109         * buffer.C (readLyXformat2): Generate an error dialog if there are
14110         unknown layouts.
14111
14112 2001-07-16  Juergen Vigna  <jug@sad.it>
14113
14114         * sp_spell.C: always compile ISpell part.
14115
14116         * lyxrc.C: added use_pspell entry and it's handling.
14117
14118 2001-07-13  Juergen Vigna  <jug@sad.it>
14119
14120         * sp_spell.C: removed double includes.
14121
14122 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14123
14124         Consistent use of Lsstream.h:
14125         * Lsstream.h: added using std::stringstream for consistencies sake.
14126
14127         * buffer.C: removed using std::stringstream
14128
14129         * lyxfont.C (stateText):
14130         * paragraph.C (asString):
14131         * text.C (selectNextWord, selectSelectedWord):
14132         * text2.C (setCounter):
14133         * vspace.C (asString, asLatexString):
14134         std::ostringstream -> ostringstream.
14135
14136 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14137
14138         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14139         * commandtags.h: add LFUN_HELP_ABOUTLYX
14140         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14141
14142 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14143
14144         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14145         cursorToggle()
14146         * lyx_gui_misc.C: remove spellchecker
14147         * lyxfunc.C: showSpellchecker
14148         * sp_base.h: added
14149         * sp_ispell.h: added
14150         * sp_pspell.h: added
14151         * sp_spell.C: added
14152         * sp_form.[Ch]: removed
14153         * spellchecker.[Ch]: removed
14154
14155 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14156
14157         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14158         is set.
14159         (simpleTeXSpecialChars): Simply print the input character without
14160         any special translation if pass_thru is set.
14161
14162         * layout.h: Added bool pass_thru to layout class for being able to
14163         implement pass through of a paragraph for Literate Programming.
14164
14165         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14166         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14167         * layout.C (Read): add "passthru" to list of layout tags and add
14168         code to set the pass_thru boolean when it is read.
14169
14170 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14171
14172         * trans_decl.h: remove allowed from KmodInfo
14173
14174         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14175         remove allowed code
14176         (Load): adjust
14177
14178         * paragraph_pimpl.C (erase): use boost::prior
14179
14180         * Painter.C (text): use data() instead of c_str() when length is
14181         also provided.
14182         * WorkArea.C (putClipboard): ditto
14183         * font.h (width): ditto
14184
14185         * BufferView2.C: use it-> instead of (*it). for iterators
14186         * texrow.C: ditto
14187         * paragraph_pimpl.C: ditto
14188         * paragraph.C: ditto
14189         * minibuffer.C: ditto
14190         * language.C: ditto
14191         * kbmap.C: ditto
14192         * encoding.C: ditto
14193         * counters.C: ditto
14194         * converter.C: ditto
14195         * chset.C: ditto
14196         * Variables.C: ditto
14197         * TextCache.C: ditto
14198         * MenuBackend.C: ditto
14199         * LyXAction.C: ditto
14200         * LColor.C: ditto
14201         * FloatList.C: ditto
14202         * DepTable.C: ditto
14203         * ColorHandler.C (LyXColorHandler): ditto
14204
14205 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14206
14207         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14208
14209         * text2.C (openStuff): reintroduce this method (which had been
14210         nuked in NEW_INSETS frenzy).
14211
14212         * lyxfunc.C (Dispatch): when an action has not been handled, use
14213         its name in the error message, not its number.
14214
14215         * paragraph.C (inInset): change method name to begin with lowercase.
14216
14217         * undo_funcs.C:
14218         * text2.C: updates because of this.
14219
14220 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14221
14222         * ToolbarDefaults.C (add): add spaces in error message
14223
14224 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14225
14226         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14227         (readLyXformat2): rename return_par to first_par, use lyxlex's
14228         pushToken and remove the manual push handling.
14229         (parseSingleLyXformat2Token): add another ert comp. variable:
14230         in_tabular, rename return_par to first_par. handle newlines better
14231
14232 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14233
14234         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14235
14236 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14237
14238         * text2.C (getParFromID): removed
14239
14240         * buffer.C (getParFromID): new method moved form lyxtext.
14241         * BufferView2.C (insertErrors): adjust
14242         (setCursorFromRow): adjust
14243         * BufferView_pimpl.C (restorePosition): adjust
14244         * lyxfunc.C (Dispatch): adjust
14245         * undo_funcs.C (textUndo): adjust
14246         (textRedo): adjust
14247         (textHandleUndo): adjust
14248         (textHandleUndo): adjust
14249
14250 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14251
14252         * buffer.C: up' the LYX_FORMAT
14253
14254         * lyxfont.h: turn NO_LATEX on as default
14255
14256         * buffer.C (insertErtContents): new methods of tex style compability.
14257         (parseSingleLyXformat2Token): use it several places.
14258         * tabular.C (OldFormatRead): and here
14259
14260 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14261
14262         * text2.C: remove some commented code.
14263         reindent file.
14264
14265         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14266         * trans.C: changes because of the above.
14267
14268 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14269
14270         * text2.C (setCounter): Fix counters bug with bibliography layout.
14271
14272 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14273
14274         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14275         own member functions
14276         (simpleTeXSpecialChars): ditto
14277
14278 2001-07-06  Juergen Vigna  <jug@sad.it>
14279
14280         * a lot of files: changed the access to LyXText::status and the
14281         call of undo-functions.
14282
14283         * undo.[Ch]: added a inset_id to the undo informations.
14284
14285         * undo_funcs.[Ch]: added and moved here all undo functions.
14286
14287         * lyxtext.h: give the status enum a weight, made status_ a private
14288         variable and made accessor functions for it, removed the whole bunch
14289         of undo-functions as they are now in their own file, make some
14290         functions publically available. Added function ownerParagraph with
14291         int parameter.
14292
14293         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14294         made InInset() a const function, added getParFromID() function.
14295
14296         * buffer.[Ch]: added const version for inset_iterator functions,
14297         added getInsetFromID() function.
14298
14299         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14300         changed undo functions for new version.
14301
14302 2001-07-05  Juergen Vigna  <jug@sad.it>
14303
14304         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14305         unknow mechanism does not call the proper constructor but only this
14306         one also if I request the other!?
14307
14308 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14309
14310         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14311
14312         * text2.C (LyXText): use initialization lists.
14313
14314         * lyxtext.h (Selection): initialize set_ and mark_
14315         (init): remove method
14316
14317 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14318
14319         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14320
14321 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14322
14323         * screen.[Ch]: change method names to begin with lowercase
14324
14325         * BufferView_pimpl.C (updateScrollbar): simplify further and
14326         hopefully make it a bit faster.
14327
14328 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14329
14330         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14331         calling directly xforms functions.
14332
14333         * Painter.C (Painter):
14334         * lyx_cb.C (MenuWrite):
14335         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14336         fl_display.
14337
14338         * lyx_gui.C: remove bogus guiruntime extern declaration.
14339
14340 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14341
14342         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14343         in NEW_INSETS
14344         (redoDrawingOfParagraph): ditto
14345         (redoParagraphs): ditto
14346         (cutSelection): don't create a object for CutAndPaste use the
14347         static method directly
14348         (pasteSelection): ditto
14349
14350         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14351         LyXview (+ rename)
14352
14353 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14354
14355         * modifications to some other files because of this.
14356
14357         * Makefile.am (lyx_SOURCES): add XFormsView
14358
14359         * XFormsView.[Ch]: new files
14360
14361         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14362         the main window. Move the gui dependent stuff to XFormsView
14363
14364 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14365
14366         * tabular.C (GetCellInset): update cur_cell also in the row/col
14367         version of this function.
14368
14369         * lyxfunc.C: no need to include figure_form.h here.
14370
14371         * FontLoader.h:
14372         * lyxfunc.h:
14373         * lyxscreen.h:
14374         * text2.C:
14375         * lyxvc.C: no need to include forms.h here.
14376
14377 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14378
14379         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14380
14381         * lyxfunc.C (Dispatch):
14382         * Spacing.C (set):
14383         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14384         constructor argument.
14385
14386 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14387
14388         * paragraph.C (Paragraph): dont't clear, and just set layout.
14389         (makeSameLayout): use params's copy contructor.
14390
14391         * ParagraphParameters.[Ch] (makeSame): delete method
14392
14393 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14394
14395         * Variables.[Ch]: fix indentation, rename set to isSet
14396
14397 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14398
14399         * lyxfunc.C (Dispatch): fix typo
14400
14401 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14402
14403         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14404         upper_bound.
14405
14406         * bufferlist.C: include assert.h for emergencyWrite().
14407
14408 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14409
14410         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14411           give up at last (bug #425202) !
14412
14413 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14414
14415         * lyx_gui_misc.C:
14416         * sp_form.h:
14417         * sp_form.C:
14418         * spellchecker.h:
14419         * spellchecker.C: strip spellchecker options and bring up
14420           preferences tab instead
14421
14422 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14423
14424         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14425         the istringstream constructor
14426
14427 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14428
14429         * paragraph.C (getLayout): fix return value
14430
14431         * paragraph.h: do not declare getLayout as inline.
14432
14433         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14434
14435 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14436
14437         * lyxcursor.h (operator<): new func
14438         (operator>): new func
14439         (operator>=): new func
14440         (operator<=): new func
14441
14442         * text.C (changeCase): use selection.start and selection.end
14443         (changeRegionCase): require from to be <= to. Require par to be a
14444         valid paragraph.
14445
14446         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14447
14448 2001-06-27  Juergen Vigna  <jug@sad.it>
14449
14450         * text.C (cursorLeftOneWord): changed to return the cursor and added
14451         overlay with BufferView * parameter which calls this one.
14452         (getWord): added
14453         (selectWord): use new getWord function.
14454         (changeCase): renamed from changeWordCase as and extended to work
14455         also on selections.
14456
14457         * lyxtext.h: added enum word_location
14458
14459         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14460         changeCase as this operates now also on selections.
14461
14462 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14463
14464         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14465
14466         * many files: send debug output to Debug::INFO instead of
14467         Debug::ANY.
14468
14469         * converter.C (View):
14470         (Convert):
14471         (Move): send debug output to Debug::FILES instead of console.
14472
14473 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14474
14475         * lyxfunc.C (getStatus): use func_status
14476
14477         * func_status.h: new header, describing the results of
14478         LyXFunc::getStatus;
14479
14480         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14481         LFUN_MATH_HALIGN.
14482
14483 2001-06-25  The LyX Project  <jug@sad.it>
14484
14485         * buffer.C (sgmlOpenTag):
14486         (sgmlCloseTag):
14487         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14488
14489 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14490
14491         * text2.C: remove some dead code
14492
14493         * tabular.C (GetCellInset): store the last cell checked (gotten)
14494
14495         * tabular.h: add the helper for the speedup
14496
14497         * lyxtext.h: remove some dead code
14498
14499 2001-06-26  The LyX Project  <Asger>
14500
14501         * paragraph.C: Change export to LaTeX of alignment to
14502         \begin{center} and family for better roundtrip work with reLyX.
14503
14504         * Tune the math drawing a bit.
14505
14506 2001-06-25  The LyX Project  <Asger>
14507
14508         * LColor.C (LColor): New color for math background. New color
14509         for buttons.
14510
14511 2001-06-25  The LyX Project  <jug@sad.it>
14512
14513         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14514
14515         * lyxfunc.C (Open):
14516         * bufferlist.C (newFile): do not restrict to files ending with
14517         .lyx
14518
14519         * BufferView_pimpl.C (MenuInsertLyXFile):
14520
14521 2001-06-24  The LyX Project  <jug@sad.it>
14522
14523         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14524         of compare_no_case
14525
14526 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14527
14528         * lyxtext.h: rename most methods to begin with a small char.
14529         Lots of changes because of this.
14530
14531         * paragraph.C (Paragraph): do not call fitToSize
14532         (erase): call Pimpl::erase
14533         (insertChar): call Pimpl::insertChar
14534         (insertInset): call Pipl::insertInset
14535         (breakParagraph): do not call fitToSize
14536         (breakParagraphConservative): do not call fitToSize
14537         (fitToSize): remove method
14538
14539         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14540
14541 2001-06-24  The LyX Project  <Asger>
14542
14543         * Fix Qt compilation^2
14544
14545 2001-06-24  The LyX Project  <jug@sad.it>
14546
14547         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14548         depthHook(getDepth()-1).
14549
14550         * paragraph.h:
14551         * ParagraphParameters.h:
14552         * ParameterStruct.h: change type of depth to unsigned int ==
14553         depth_type. Many adaptations to other files before of that.
14554
14555 2001-06-24  The LyX Project  <Asger>
14556
14557         * Fix Qt compilation.
14558
14559 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14560
14561         * paragraph.h: renamed several methods to begin with small letter.
14562         several changes to many parts of the code because of this.
14563
14564 2001-06-23  The LyX Project  <jug@sad.it>
14565
14566         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14567         rewritten to discard all double spaces when KeepEmpty is off
14568         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14569         to only handle newlines but not fiddle with spaces and friends.
14570
14571         * lyxfunc.C (MenuNew): when doing 'new from template', use
14572         template_path as default directory
14573
14574 2001-06-23  The LyX Project  <Asger>
14575
14576         * Clean-up of header file includes all over
14577         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14578
14579 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14580
14581         * paragraph.h: renamed from lyxparagraph.h
14582
14583 2001-06-23  Asger  <lyx@violet.home.sad.it>
14584
14585         * Buffer.h: Removed Buffer::resize
14586         * BufferList.h: Removed BufferList::resize
14587         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14588         the document lazily when we change the width, or the font settings.
14589
14590 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14591
14592         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14593
14594 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14595
14596         * buffer.h: remove out of date comment
14597
14598 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14599
14600         * lyxscreen.h:
14601         * screen.C: fix "theoretical" GC leak
14602
14603 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14604
14605         * LaTeX.C (scanAuxFile):
14606         (deplog): remove trailing \r when reading stream (useful under
14607         win32)
14608
14609 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14610
14611         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14612         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14613         and BufferView::theLockingInset(Inset*), so should use them and not
14614         access bv_->text->the_locking_inset directly.
14615
14616         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14617
14618 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14619
14620         * Makefile.am:
14621         * tex-defs.h: remove old unused file
14622
14623 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14624
14625         * BufferView_pimpl.C: fix typo, remove minibuffer message
14626           when buffer has loaded
14627
14628 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14629
14630         * lyxfunc.C (Dispatch): use stringstream
14631         (MenuNew): use stringstream
14632         (Open): use stringstream
14633
14634         * importer.C (Import): use stringstream
14635
14636         * bufferview_funcs.C (CurrentState): use stringstream
14637
14638         * LaTeX.C (run): use stringstream
14639
14640         * BufferView_pimpl.C (savePosition): use stringstream
14641         (restorePosition): use stringstream
14642         (MenuInsertLyXFile): use stringstream
14643
14644 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14645
14646         * BufferView.C:
14647         * Bullet.C:
14648         * ColorHandler.C:
14649         * FontInfo.C:
14650         * FontLoader.C:
14651         * LColor.C:
14652         * LaTeXFeatures.C:
14653         * Painter.C:
14654         * gettext.C:
14655         * lyx_gui_misc.C:
14656         * lyxserver.C:
14657         * vspace.C: removed // -*- C++ -*- as first line.
14658
14659         * lyxfind.h:
14660         * version.h: added // -*- C++ -*- as first line.
14661
14662 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14663
14664         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14665
14666         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14667         of string
14668
14669 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14670
14671         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14672         of floats.
14673
14674 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14675
14676         * gettext.C: include LString.h even when --disable-nls is on.
14677
14678 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14679
14680         * converter.h (Get): changed argument type from int to
14681         FormatList::size_type to avoid unnecessary conversion.
14682
14683         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14684         before using it.
14685
14686 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14687
14688         * gettext.h: include LString.h even when --disable-nls is on.
14689
14690 2001-06-07  Juergen Vigna  <jug@sad.it>
14691
14692         * text.C (BreakAgain): subst spaces with tabs.
14693
14694         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14695         (resizeInsetsLyXText): set force on resizeLyXText.
14696
14697 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14698
14699         * gettext.h (gettext_init):
14700         (locale_init): use a real definition instead of a macro
14701
14702 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14703
14704         * Bufferview_pimpl.C:
14705         * LColor.h:
14706         * LColor.C: further lcolor tidies
14707
14708 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14709
14710         * BufferView_pimpl.C (updateScrollbar): simplify.
14711
14712         * BufferView2.C: don't include insets/insetinfo.h, change
14713         prototype for insertInset and call the Pimpl version. let
14714         updateInset call Pimpl version.
14715
14716         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14717         gotoInset to BufferView::Pimpl
14718
14719 2001-06-01  Juergen Vigna  <jug@sad.it>
14720
14721         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14722         inside a LockingInset (is the update needed at all?).
14723
14724 2001-05-31  Juergen Vigna  <jug@sad.it>
14725
14726         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14727         here not the old one otherwise how should we compare it afterwards
14728         if it's the same!
14729
14730 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14731
14732         * lyxfont.C:
14733         * tabular.C:
14734         * tabular-old.C:
14735         * FontInfo.C: bring C functions into global namespace when
14736         necessary
14737
14738 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14739
14740         * LString.h: make sure config.h has been loaded before LString.h.
14741
14742         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14743         (one for each char read by EatLine!).
14744
14745         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14746         variables.
14747
14748 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14749
14750         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14751         to the same as the par we break from
14752
14753 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14754
14755         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14756
14757         * MenuBackend.C (expand): also create menu entries for wide
14758         versions of the floats.
14759
14760         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14761
14762         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14763
14764         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14765         frontends/Makefile.am
14766
14767         * text2.C: adjust
14768         * text.C: adjust
14769
14770
14771         * tabular.C (getTokenValue): add std::
14772
14773         * tabular-old.C (getTokenValue): add std::
14774         (getTokenValue): ditto
14775         (getTokenValue): ditto
14776
14777         * screen.C (ToggleSelection): adjust
14778
14779         * lyxtext.h: put selection cursors inside a Selection struct.
14780
14781         * lyxfunc.C (moveCursorUpdate): adjust
14782
14783         * lyxfont.C (latexWriteStartChanges): add std::
14784
14785         * lyxfind.C: adjust
14786
14787         * font.h: delete with(char const *, LyXFont const &)
14788
14789         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14790
14791         * FontInfo.C (getFontname): add std::
14792
14793         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14794         (workAreaButtonPress): adjust
14795         (tripleClick): adjust
14796         (update): adjust
14797         (moveCursorUpdate): adjust
14798         (Dispatch): adjust
14799
14800         * BufferView2.C (gotoInset): adjust
14801
14802 2001-05-30  Juergen Vigna  <jug@sad.it>
14803
14804         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14805         to check pspell I add this as default as I now have new pspell
14806         libraries and they seem to use this.
14807
14808 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14809
14810         * text2.C (CutSelection): make the cursor valid before the call to
14811         ClearSelection.
14812
14813 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14814
14815         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14816         relied on 0 terminated strings and other horrors. Bug found due to
14817         the new assert in lyxstring!
14818
14819         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14820         KP_ keys.
14821
14822 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14823
14824         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14825         to latinkeys.bind.
14826
14827         * lyxfunc.C (processKeySym): change method of getting to the
14828         self-insert char.
14829
14830         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14831         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14832         * BufferView_pimpl.[Ch]: here as private methods.
14833
14834 2001-05-28  Juergen Vigna  <jug@sad.it>
14835
14836         * text.C (SetHeightOfRow): added the update() call again as it is
14837         needed to initialize inset dimensions!
14838
14839 2001-05-16  Juergen Vigna  <jug@sad.it>
14840
14841         * text2.C (SetCharFont): Add new function with BufferView * and
14842         bool toggleall parameters for setting insets internal fonts.
14843         (SetFont): Freeze the undo as we may change fonts in Insets and
14844         all this change should be inside only one Undo!
14845
14846         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14847         setting font's in insets as for them we have the SetFont function!
14848
14849 2001-05-15  Juergen Vigna  <jug@sad.it>
14850
14851         * text2.C (ClearSelection): to be sure we REALLY don't have any
14852         selection anymore!
14853
14854         * tabular.C (TeXCellPreamble): fixed the left border problem for
14855         multicolumn cells.
14856
14857 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14858
14859         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14860         dependancy file
14861
14862 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14863
14864         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14865         LFUN_BREAKPARAGRAPH.
14866
14867         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14868         help test to "internal only", similar for LFUN_INSERT_URL
14869
14870         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14871         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14872         auto_region_delete and deadkeys.
14873
14874 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14875
14876         * LColor.h:
14877         * LColor.C: remove some dead entries, tidy a little
14878
14879 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14880
14881         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14882         commented code.
14883         (Dispatch): implement LFUN_ESCAPE
14884
14885         * commandtags.h: add LFUN_ESCAPE
14886
14887         * LyXAction.C (init): add entry for LFUN_ESCAPE
14888
14889         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14890         Remove commented code.
14891         (insertNote): moved here
14892         (open_new_inset): moved here
14893
14894         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14895         BufferView_pimpl
14896
14897 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14898
14899         * kbmap.C (findbinding): clean it up and make it work correctly.
14900
14901         * lyx_main.C (init): do not pass argc and argv as parameters
14902
14903 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14904
14905         * buffer.C: fix path for OS/2 & Win32
14906
14907         * lyx_gui.C:
14908         * lyx_main:
14909         * lyx_main.C: Added os:: class.
14910
14911         * os2_defines.h: update
14912
14913 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14914
14915         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14916         better by trying again with reduced state.
14917
14918 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14919
14920         * lyxrc.C (read): print error about invalid key sequence only when
14921         debugging (because not all latinX keysyms are known to some X
14922         servers)
14923
14924         * kbsequence.C (getiso): add a few std:: qualifiers
14925         (getiso): comment out extra return statement.
14926
14927 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14928
14929         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14930         handling.
14931         (Dispatch): enhance the accent inset a bit. (not perfect)
14932
14933 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14934
14935         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14936
14937 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14938
14939         * bufferlist.C (emergencyWrite): fix assert() call
14940
14941 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14942
14943         * text.C (InsertChar): Added trivial patch to only send the "you
14944         can not do multiple spaces this way" message once during a
14945         session.
14946
14947 2001-05-08  Baruch Even  <baruch@lyx.org>
14948
14949         * Makefile.am: Changed order of libraries to get LyX to link properly
14950         with the gnome frontend.
14951
14952 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14953
14954         * LaTeXFeatures.h: add a std:: qualifier
14955
14956 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14957
14958         * paragraph.C (String): use stringstream
14959
14960 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14961
14962         * paragraph.C (writeFile): remove footflag arg
14963
14964         * buffer.C (makeLaTeXFile): use stringstream
14965         (latexParagraphs): remove footnot gurba
14966
14967         * LaTeXFeatures.C (getPackages): use stringstream
14968         (getMacros): likewise
14969         (getTClassPreamble): likewise
14970         (getFloatDefinitions): new method
14971
14972         * paragraph.C (writeFile): reindent
14973         (Erase): reindent
14974
14975         * WorkArea.h: revert the xpos + etc changes.
14976
14977         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14978
14979         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14980
14981         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14982         (pasteSelection): likewise
14983         * text2.C (CreateUndo): likewise
14984
14985 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14986
14987         * minibuffer.C (peek_event): temporarily reduce the functionality
14988         of the minibuffer (to allow args on lfuns)
14989
14990         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14991         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14992
14993         * buffer.C (readInset): add compability reading of old float
14994         lists, add reading of new style float list.
14995         (readInset): avoid reevaluation of inscmd.getCmdName()
14996         (getLists): reindent
14997
14998         * MenuBackend.C (MenuItem): implement parsing of
14999         md_floatlistinsert and md_floatinsert.
15000         (expand::LastFiles): move initalizaton of iterators out of loop,
15001         avoid reevaluation.
15002         (expand::Documents): introduce typdedef vector<string> Strings,
15003         and use it.
15004         (expand::ExportFormats): introduce typedef vector<Format const *>
15005         Formats, and use it.
15006         (expand): implement FloatListInsert and FloatInsert.
15007
15008         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15009         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15010         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15011
15012         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15013         handling.
15014         (Dispatch::LFUN_FLOAT_LIST): implement
15015
15016 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15017
15018         * LaTeX.C (run): Fix problem with --export code.
15019
15020 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15021
15022         * BufferView.[Ch] (workarea): removed.
15023         (getClipboard) new method; wrapper for workarea()->getClipboard()
15024
15025         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15026         bug.
15027
15028         * WorkArea.h (width, height, xpos, ypos): These methods all
15029         returned the dimensions of the work_area sub-area of WorkArea,
15030         resulting in a position error if the WorkArea were resized. Now
15031         return the dimensions of the entire WorkArea.
15032
15033         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15034
15035 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15036
15037         * LaTeX.C (deplog): correct the syntax of regex reg1
15038
15039 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15040
15041         * undo.C: remove !NEW_INSETS cruft
15042
15043 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15044
15045         * text2.C: remove !NEW_INSETS cruft
15046
15047         * text.C: remove !NEW_INSETS cruft
15048
15049         * tabular.C: remove !NEW_INSETS cruft
15050
15051         * spellchecker.C: remove !NEW_INSETS cruft
15052
15053         * lyxtext.h: remove !NEW_INSETS cruft
15054
15055         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15056
15057         * lyxfunc.C: remove !NEW_INSETS cruft
15058
15059         * lyxfind.C: remove !NEW_INSETS cruft
15060
15061         * lyx_cb.C: remove !NEW_INSETS cruft
15062
15063         * figureForm.C: remove  !NEW_INSETS cruft
15064
15065         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15066
15067         * buffer.[Ch]: remove !NEW_INSETS cruft
15068
15069         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15070
15071         * CutAndPaste.C: remove !NEW_INSETS cruft
15072
15073         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15074
15075         * BufferView2.C: remove !NEW_INSETS cruft
15076
15077         * BufferView.h: remove !NEW_INSETS cruft
15078
15079 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15080
15081         * Lsstream.h: include LString.h before the sstream headers to
15082         fix problem with gcc 2.95.3 and lyxstring
15083
15084 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15085
15086         * lyx_main.C: add using directives when needed for C functions
15087         declared in std:: namespace.
15088
15089 2001-04-27  Juergen Vigna  <jug@sad.it>
15090
15091         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15092         (SetHeightOfRow): comment out the update call should not be needed!
15093
15094 2001-04-13  Juergen Vigna  <jug@sad.it>
15095
15096         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15097         (LyXTabular): tried to minimize operator= operations (and realized
15098         hopfully Lars wish).
15099
15100 2001-04-27  Juergen Vigna  <jug@sad.it>
15101
15102         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15103
15104 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15105
15106         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15107
15108         * buffer.C (readInset): hack to make listof algorithm work
15109
15110         * BufferView_pimpl.C: hack to make listof algorithm work
15111
15112 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15113
15114         * LyXAction.C: removed all !NEW_INSETS cruft
15115         (init): moved lfun_item in method
15116
15117         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15118
15119 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15120
15121         * BufferView2.C (theLockingInset): white space.
15122
15123 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15124
15125         * minibuffer.C: include <iostream>
15126
15127         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15128
15129         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15130
15131         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15132
15133         * text.[Ch] (TransposeChars): new method
15134
15135 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15136
15137         * call message directly through LyXView instead of through LyXFunc
15138         * BufferView2.C: adjust
15139         * BufferView_pimpl.C: adjust
15140         * FontLoader.C: adjust
15141         * buffer.C: adjust
15142         * bufferview_funcs.C: adjust
15143         * converter.C: adjust
15144         * figureForm.C: adjust
15145         * importer.C: adjust
15146         * lyx_cb.C: adjust
15147         * lyx_gui_misc.C: adjust
15148         * lyxfunc.C: adjust
15149         * lyxvc.C: adjust
15150         * text2.C: adjust
15151         + more files in subdirs
15152
15153         * lyxparagraph.h (size): move up int file
15154         (GetLayout): ditto
15155
15156         * adjust all uses of Assert to lyx::Assert.
15157
15158         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15159         lyxfunctional in namespace lyx
15160         * layout.C (hasLayout): ditto
15161         (GetLayout): ditto
15162         (GetLayout): ditto
15163         (delete_layout): ditto
15164         (NumberOfClass): ditto
15165         * converter.C (GetFormat): ditto
15166         (GetNumber): ditto
15167         (Add): ditto
15168         (Delete): ditto
15169         (SetViewer): ditto
15170         * bufferlist.C (getFileNames): ditto
15171         (emergencyWriteAll): ditto
15172         (exists): ditto
15173         (getBuffer): ditto
15174         * MenuBackend.C (hasSubmenu): ditto
15175         (hasMenu): ditto
15176         (getMenu): ditto
15177         * BufferView_pimpl.C (getInsetByCode): ditto
15178
15179 2001-04-18  Juergen Vigna  <jug@sad.it>
15180
15181         * vspace.C (asLatexString): fixed the 100% problem.
15182
15183 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15184
15185         * lyxfunc.C (Dispatch):
15186         * minibuffer.C:
15187         * minibuffer.h: add a few std:: qualifiers
15188
15189 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15190
15191         * minibuffer.[Ch]: reimplement so that commands is initiated and
15192         run from lyxfunc, simplified som handling, and made the completion
15193         and history code for complete. wip.
15194
15195         * lyxfunc.C (processKeySym): call message
15196         (miniDispatch): new temporary method
15197         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15198         (LFUN_MESSAGE): implement
15199         (LFUN_MESSAGE_PUSH): implement
15200         (LFUN_MESSAGE_POP): implement
15201         (initMiniBuffer): the initial/defualt minibuffer message.
15202
15203         * lyxfont.[Ch]: inline some more getters
15204
15205         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15206
15207         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15208
15209         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15210         (AutoSave): use LFUN_MESSAGE
15211         (Reconfigure): ditto
15212
15213         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15214
15215         * figureForm.C: use LFUN_MESSAGE
15216
15217         * converter.C (runLaTeX): use LFUN_MESSAGE
15218
15219         * bufferview_funcs.C: use LFUN_MESSAGE
15220         (Melt): ditto
15221         (changeDepth): ditto
15222
15223         * bufferparams.h: use boost::
15224
15225         * bufferlist.h: inherit privately from noncopyable
15226
15227         * bufferlist.C (loadLyXFile): remove some commented code.
15228
15229         * buffer.C (runChktex): use LFUN_MESSAGE
15230
15231         * ShareContainer.h: inherit privately from noncopyable
15232
15233         * ParagraphParameters.[hC] (depth): inline it.
15234
15235         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15236         methods.
15237         (message): new method
15238         (messagePush): ditto
15239         (messagePop): ditto
15240         (show): init minibuffer
15241         (showState): direct call
15242
15243         * LaTeX.[Ch]: inherit privately from noncopyable
15244         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15245         instead of WriteStatus.
15246
15247         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15248
15249         * BufferView_pimpl.C (buffer): don't init minibuffer
15250         (workAreaButtonPress): use LFUN_MESSAGE
15251         (workAreaButtonRelease): ditto
15252         (savePosition): ditto
15253         (restorePosition): ditto
15254         (MenuInsertLyXFile): ditto
15255         (workAreaExpose): don't init minibuffer
15256         (update): remove commented code, simplify
15257
15258         * BufferView2.C (openStuff): use LFUN_MESSAGE
15259         (toggleFloat): ditto
15260         (menuUndo): ditto
15261         (menuRedo): ditto
15262         (copyEnvironment): ditto
15263         (pasteEnvironment): ditto
15264         (copy): ditto
15265         (cut): ditto
15266         (paste): ditto
15267         (gotoInset): ditto
15268         (updateInset): remove some commented code
15269
15270         * lastfiles.h: inherit privately from noncopyable
15271         * layout.h: ditto
15272         * lyx_gui.h: ditto
15273         * lyx_main.h: ditto
15274         * lyxlex.h: ditto
15275         * lyxlex_pimpl.h: ditto
15276
15277         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15278         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15279         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15280
15281         * LyXAction.h: inherit privately from noncopyable, add methods
15282         func_begin, func_end, returning iterators to the func map.
15283
15284         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15285         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15286         (func_begin): new method
15287         (func_end): new method
15288
15289         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15290         and not)
15291         (copySelection): ditto
15292         (pasteSelection): ditto
15293
15294         * BufferView.C: whitespace change
15295         * BufferView.h: inherit privately from noncopyable
15296
15297 2001-04-16  Allan Rae  <rae@lyx.org>
15298
15299         * tabular-old.C (l_getline):
15300         * spellchecker.C (sc_check_word):
15301         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15302         an unrecognised preprocessor directive.  So ensure they're wrapped.
15303
15304 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15305
15306         * src/exporter.C (Export): Give an error message when path to file
15307         contains spaces.
15308
15309 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15310
15311         * LaTeX.C (deplog): Always check that foundfile exists.
15312
15313 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15314
15315         * lyx_main.h:
15316         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15317
15318 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15319
15320         * tabular.[Ch] (getLabelList): implement new method
15321
15322         * minibuffer.h: comment ouf setTiimer
15323
15324         * minibuffer.C (ExecutingCB): constify res
15325         (peek_event): constify s
15326         (Set): constify ntext
15327         (Init): constify nicename
15328
15329         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15330
15331         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15332         (savePosition): use two params to Minibuffer::Set
15333         (restorePosition): ditto
15334
15335 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15336
15337         * lyx_main.C: include language.h
15338
15339         * Makefile.am (lyx_main.o): add language.h
15340
15341 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15342
15343         * exporter.C:
15344         * paragraph.C:
15345         * screen.C:
15346         * tabular.C:
15347         * CutAndPaste.C: include gettext.h
15348
15349         * lyxfont.h: remove old hack with ON and OFF.
15350
15351         * lyxparagraph.h:
15352         * lyxfont.h: do not include language.h...
15353
15354         * BufferView2.C:
15355         * LaTeXFeatures.C:
15356         * Painter.C:
15357         * bufferview_funcs.C:
15358         * font.C:
15359         * lyxfont.C:
15360         * text.C:
15361         * text2.C:
15362         * trans_mgr.C:
15363         * paragraph.C: ... but do it here instead
15364
15365 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15366
15367         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15368
15369         * tabular.C: small reformat
15370
15371         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15372         NEW_INSETS version
15373         (GetChar): ditto
15374         (BreakParagraph): ditto
15375         (SetOnlyLayout): ditto
15376         (SetLayout): ditto
15377
15378         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15379         with one arg less.
15380
15381         * lastfiles.C: removed most using decl, add std:: where needed
15382
15383         * buffer.C: ws changes
15384
15385         * MenuBackend.C (class compare_format): put into anon namespace
15386         (expand): constify label, names, action, action2
15387         (expand):
15388
15389         * text.C (SingleWidth): constify font
15390         (IsBoundary): constify rtl2
15391         (GetVisibleRow): constify ww
15392
15393         * LaTeX.C (deplog): constify logfile
15394
15395         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15396         start_x, end_x
15397         (workAreaExpose): constify widthChange, heightChange
15398
15399         * lyxrow.C (par): moved
15400         (height): moved
15401         (next): moved
15402         * lyxrow.h: as inlines here
15403
15404         * lyxfont.h (shape): moved from lyxfont.C
15405         (emph): moved from lyxfont.C
15406
15407         * lyxfont.C (LyXFont): use initialization list for all
15408         constructors
15409         (shape): move to lyxfont.h as inline
15410         (emph): move to lyxfont.h as inline
15411
15412
15413 2001-04-04  Juergen Vigna  <jug@sad.it>
15414
15415         * vspace.C: had to include stdio.h for use of sscanf
15416
15417 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15418
15419         * BufferView.h:
15420         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15421         independent of xforms.
15422
15423 2001-04-02  Juergen Vigna  <jug@sad.it>
15424
15425         * spellchecker.C: fixed namespace placing!
15426
15427 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15428
15429         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15430         the LyXParagraph * is 0.
15431
15432 2001-03-29  Juergen Vigna  <jug@sad.it>
15433
15434         * vspace.C: added support for %, c%, p%, l%.
15435         (stringFromUnit): added helper function.
15436         (asLatexString): changed to give right results for the %-values.
15437
15438         * buffer.C: convert the widthp in a width%.
15439
15440 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15441
15442         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15443         figureForm.[Ch].
15444
15445         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15446         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15447
15448         * lyx_cb.[Ch]: see above.
15449
15450         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15451         form1.[Ch].
15452
15453         * form1.[Ch]:
15454         * lyx.[Ch]: replaced by figure_form.[Ch].
15455
15456         * lyx_gui.C:
15457         * lyx_gui_misc.C:
15458         * lyxfunc.C: changed headers associated with above changes.
15459
15460 2001-03-27  Juergen Vigna  <jug@sad.it>
15461
15462         * BufferView_pimpl.C: set the temporary cursor right!
15463
15464 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15465
15466         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15467
15468 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15469
15470         * LString.h: removed "using std::getline"!
15471
15472         * BufferView_pimpl.C (Dispatch): changes due to changes in
15473         InsetInclude::Params.
15474
15475         * buffer.C (tag_name): removed redundant break statements as they were
15476         producing lots of warnings with my compiler.
15477
15478 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15479
15480         * LString.h: add "using std::getline" when using the real <string>.
15481
15482 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15483
15484         * buffer.C: removed bitset usage.
15485         PAR_TAG moved to an anonymous name space.
15486         (tag_name): new funtion, also in the anonymous namespace.
15487         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15488         (makeDocBookFile): clean code. Completed transition from string arrays
15489         to string vectors.
15490         (SimpleDocBookOnePar): code clean.
15491
15492 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15493
15494         * tabular.C: add some comments.
15495
15496 2001-03-22  Juergen Vigna  <jug@sad.it>
15497
15498         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15499         compatibility read a bit and fixed bug with minipage in different
15500         depth.
15501
15502 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15503
15504         * buffer.C (pop_tag): removed.
15505         (push_tag): removed.
15506         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15507         array replaced with vector. Added support for CDATA sections.
15508         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15509         at any nest level.
15510         (makeDocBookFile): XML conformant declaration of CDATA section,
15511         fixed bug related to <emphasis> in the first paragraph char.
15512         (sgmlOpenTag): exclude empty tags.
15513         (sgmlCloseTag): ditto.
15514
15515         * buffer.h (pop_tag): removed.
15516         (push_tag): removed.
15517
15518 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15519
15520         * language.h (Languages): added size_type and size().
15521
15522 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15523
15524         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15525         response on compability reading of minipages. One probliem is that
15526         the old usage of minipages was «flertydig»
15527
15528         * several files here and in subdirs: don't use static at file
15529         scope use anon namespaces instead.
15530
15531 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15532
15533         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15534         LaTeX output. This is necessary for Literate document
15535         processing.
15536
15537 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15538
15539         * buffer.C: insert hfill when needed.
15540
15541         * tabular.C (l_getline): use string::erase, small whitespace change.
15542
15543         * BufferView_pimpl.C: try the anon namespace.
15544         * WorkArea.C: ditto
15545
15546 2001-03-16  Juergen Vigna  <jug@sad.it>
15547
15548         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15549         otherwise it won't open options-dialogs.
15550
15551         * buffer.C: honor pextraWidth(p) on converting minipages.
15552
15553         * tabular.C (l_getline): changed the functions to strip trailing \r.
15554
15555 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15556
15557         * BufferView_pimpl.C:
15558         * minibuffer..C: added "using SigC::slot" declaration.
15559
15560 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15561
15562         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15563
15564         * text2.C: ditto
15565
15566         * text.C: ditto
15567
15568         * paragraph.C: ditto
15569
15570         * lyxtext.h: NO_PEXTRA
15571
15572         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15573
15574         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15575         * ParameterStruct.h: ditto
15576         * ParagraphParameters.h: ditto
15577         * lyxparagraph.h: ditto
15578
15579 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15580
15581         * buffer.C: add compability for minipage alignment.
15582         (latexParagraphs): remove unwanted pextra check.
15583
15584         * several files: remove CXX_WORKING_NAMESPACES
15585
15586         * buffer.C (pop_tag): tie is in namespace boost
15587
15588         * BufferView.h: noncopyable is in namespace boost
15589         * lyxlex.h: ditto
15590         * lyx_main.h: ditto
15591         * lyx_gui.h: ditto
15592         * layout.h: ditto
15593         * lastfiles.h: ditto
15594         * bufferlist.h: ditto
15595         * ShareContainer.h: ditto
15596         * LyXView.h: ditto
15597         * LyXAction.h: ditto
15598         * LaTeX.h: ditto
15599
15600 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15601
15602         * Merging changes from BRANCH_MVC back into HEAD.
15603
15604         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15605
15606 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15607
15608         * BufferView_pimpl.C: change from intl.C
15609
15610         * combox.h:
15611         * combox.C:
15612         * Makefile.am: move combox.*
15613
15614         * form1.h:
15615         * form1.C:
15616         * lyx_gui.C:
15617         * intl.h:
15618         * intl.C: remove dialog (covered by prefs)
15619
15620 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15621
15622         * lyxfunc.C (Dispatch): removed redundant break statement.
15623
15624 2001-03-14  Juergen Vigna  <jug@sad.it>
15625
15626         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15627
15628 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15629
15630         * buffer.C: add hack to fix compability reading of minipages.
15631
15632 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15633
15634         * buffer.C (getLists): Cleanup.
15635
15636 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15637
15638         * lyxfont.C (update): don't honor toggleall on font size.
15639
15640 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15641
15642         * bmtable.c:
15643         * bmtable.h:
15644         * Makefile.am: moved to frontends/xforms/
15645
15646         * lyx_gui_misc.C:
15647         * lyxfunc.C:
15648         * BufferView_pimpl.C: changes for moved mathpanel
15649
15650 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15651
15652         * gettext.h: fix gettext_init() in --disable-nls
15653
15654 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15655
15656         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15657
15658 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15659
15660         * lyx.C:
15661         * lyx.h: strip external form
15662
15663 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15664
15665         * BufferView_pimpl.C: add comment, destroySplash()
15666
15667 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15668
15669         * BufferView_pimpl.C:
15670         * LyXAction.C:
15671         * buffer.C:
15672         * commandtags.h:
15673         * lyxfunc.C: use re-worked insetinclude
15674
15675 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15676
15677         * buffer.C: add using std::stringstream.
15678
15679         * lyx_cb.C: readd using std::ios.
15680
15681         * buffer.C: add using std::map.
15682
15683         * BufferView_pimpl.C: add using std::vector.
15684
15685         * ShareContainer.h: add std:: to swap.
15686
15687         * buffer.h: add some typedefs
15688         * buffer.C (getLists): use them
15689         (getLists): renamed from getTocList.
15690         add a counter for the different float types and use it in the
15691         generated string.
15692         (getLists): use the same counter for the NEW_INSETS and the "non"
15693         NEW_INSETS
15694
15695         * lyx_cb.h: remove unused items, includes, using etc.
15696
15697         * ShareContainer.h: remove some commented code, add more comments
15698         and "documentation".
15699
15700 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15701
15702         * buffer.C (getTocList): make the list also when NEW_INSETS is
15703         defined.
15704
15705         * buffer.h: remove TocType
15706
15707         * buffer.C (getTocList): change to return a map<string,
15708         vector<TocItem> >, implement for dynamic number of list.
15709
15710         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15711         * text2.C (PasteSelection): adjust
15712         * CutAndPaste.C (pasteSelection): adjust
15713
15714         * FloatList.C (FloatList): update from the new_insets branch.
15715         * Floating.[Ch]: ditto
15716         * LaTeXFeatures.C: ditto
15717         * buffer.C: ditto
15718         * lyxlex_pimpl.C: ditto
15719
15720         * paragraph.C (Last): remove when NEW_INSETS is defined.
15721
15722         * other file: changes because of the above.
15723
15724 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15725
15726         * lyxparagraph.h: rename next to next_, previous to previous_,
15727         make them private for NEW_INSETS. Rename Next() to next(),
15728         Previous() to previous().
15729
15730         * other files: changes because of the above.
15731
15732 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15733
15734         * BufferView.h:
15735         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15736         problem.
15737
15738 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15739
15740         * main.C (main): pass lyx_localedir to gettext_init().
15741
15742         * gettext.h: remove locale_init and gettext_init macros
15743
15744         * gettext.C (locale_init): new function
15745         (gettext_init): new function
15746
15747         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15748         setlocale().
15749
15750 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15751
15752         * Moved credits to frontends:
15753         * credits.[Ch]: removed
15754         * credits_form.[Ch]: removed
15755         * lyx_gui_misc.C: remove credits stuff
15756         * Makefile.am:
15757
15758 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15759
15760         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15761
15762         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15763         unneeded destructor.
15764
15765         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15766         a standalone pointer again.
15767
15768         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15769
15770 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15771
15772         * Makefile.am:
15773         * filedlg.h:
15774         * filedlg.C:
15775         * LyXAction.C:
15776         * ToolbarDefaults.C:
15777         * bufferlist.C:
15778         * commandtags.h:
15779         * form1.C:
15780         * form1.h:
15781         * lyx_cb.C:
15782         * lyx_cb.h:
15783         * lyxfunc.h:
15784         * lyxfunc.C:
15785         * BufferView_pimpl.C: use new file dialog in GUII
15786
15787         * lyx_cb.h:
15788         * lyx_cb.C: remove LayoutsCB to Toolbar
15789
15790 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15791
15792         * ShareContainer.h (get): add std:: qualifier
15793
15794 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15795
15796         * ShareContainer.h: define a proper ShareContainer::value_type
15797         type (and use typename to please compaq cxx)
15798
15799 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15800
15801         * lyxparagraph.h: move serveral local vars to
15802         ParameterStruct/ParagraphParameters., use ShareContainer in
15803         FontTable., make vars in FontTable private and add getter and
15804         setter.
15805
15806         * paragraph.C: changes because of the above.
15807
15808         * lyxfont.h: remove copy constructor and copy assignment. (the
15809         default ones is ok), move number inside FontBits. move inlines to
15810         lyxfont.C
15811
15812         * lyxfont.C: add number to initializaton of statics, move several
15813         inlines here. constify several local vars. some whitespace
15814         cleanup. Dont hide outerscope variables.
15815
15816         * Spacing.h: add two new constructors to match the set methods.
15817
15818         * ShareContainer.h: new file, will perhaps be moved to support
15819
15820         * ParameterStruct.h: new file
15821
15822         * ParagraphParameters.h: new file
15823
15824         * ParagraphParameters.C: new file
15825
15826         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15827         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15828
15829         * BufferView_pimpl.C: ParagraphParameter changes.
15830         * buffer.C: Likewise.
15831         * bufferview_funcs.C: Likewise.
15832         * text.C: Likewise.
15833         * text2.C: Likewise.
15834
15835 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15836
15837         * lyxfind.C (LyXReplace): do not redefine default argument in
15838         implementation.
15839         (IsStringInText): ditto
15840         (SearchForward): ditto
15841         (SearchBackward): ditto
15842
15843 2001-03-06  Juergen Vigna  <jug@sad.it>
15844
15845         * lyxfind.C (IsStringInText): put parentes around expressions.
15846
15847 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15848
15849         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15850
15851 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15852
15853         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15854
15855         * stl_string_fwd.h: add comment
15856
15857         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15858
15859         * tabular.h:
15860         * tabular.C: remove unused DocBook methods
15861
15862         * intl.C:
15863         * language.C:
15864         * paragraph.C:
15865         * buffer.C:
15866         killed DO_USE_DEFAULT_LANGUAGE
15867
15868 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15869
15870         * lyx_gui.C: do not include language.h.
15871
15872         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15873         arguments in function implementation.
15874
15875 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15876
15877         * BufferView_pimpl.C: add <ctime>
15878
15879 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15880
15881         * BufferView_pimpl.C: add using std::find_if
15882
15883 2001-02-27  José Matos  <jamatos@fep.up.pt>
15884
15885         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15886         by OnlyPath.
15887
15888 2001-02-11  José Matos  <jamatos@fep.up.pt>
15889
15890         * buffer.C (makeDocBookFile): command styles now have a parameter as
15891         "title" by default.
15892
15893 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15894
15895         * layout_forms.[Ch]: removed
15896         * lyx_cb.[Ch]: out character
15897         * lyx_gui.C: out character
15898         * lyx_gui_misc.C: out character
15899         * bufferview_funcs.C: : out character,
15900         added toggleall as parameter in ToggleAndShow
15901
15902 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15903
15904         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15905
15906         * text2.C (SetCurrentFont): Disable number property at boundary.
15907
15908 2001-02-26  Juergen Vigna  <jug@sad.it>
15909
15910         * lyxfunc.C (getStatus): added a string argument override function so
15911         that this is correctly called from LyXFunc::Dispatch if it contains a
15912         do_not_use_argument which is used!
15913         (Dispatch): added check for "custom" export and call appropriate func.
15914
15915 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15916
15917         * lyxrc.C: Add language_command_local, language_use_babel and
15918         language_global_options.
15919
15920         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15921
15922         * buffer.C (makeLaTeXFile): Use language_use_babel and
15923         language_global_options.
15924
15925 2001-02-23  Juergen Vigna  <jug@sad.it>
15926
15927         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15928         which works with LyXText and putted it inside BufferView. Here now we
15929         only call for that part the BufferView::Dispatch() function.
15930
15931         * BufferView.C (Dispatch): added.
15932
15933         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15934         functions which needs to use a LyXText over from LyXFunc.
15935         (MenuInsertLyXFile): added
15936         (getInsetByCode): added
15937         (moveCursorUpdate): added
15938         (static TEXT): added
15939
15940 2001-02-22  Juergen Vigna  <jug@sad.it>
15941
15942         * BufferView_pimpl.C (update): call a status update to see if LyXText
15943         needs it.
15944
15945 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15946
15947         * vc-backend.C (revert): implement for CVS
15948         (getLog): implement for CVS
15949
15950 2001-02-20  Juergen Vigna  <jug@sad.it>
15951
15952         * text2.C (ClearSelection): added BufferView param for inset_owner call
15953
15954         * lyxfunc.C (TEXT): added this function and use it instead of
15955         directly owner->view()-text of getLyXText().
15956
15957 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15958
15959         * src/layout_forms.C: out preamble
15960         * src/layout_forms.h: out preamble
15961         * src/lyx_cb.C: out preamble
15962         * src/lyx_cb.h: out preamble
15963         * src/lyx_gui.C: out preamble
15964         * src/lyx_gui_misc.C: out preamble
15965         * src/lyxfunc.C: connect with guii preamble
15966
15967 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15968
15969         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15970
15971 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15972
15973         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15974         whether to run bibtex.
15975
15976 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15977
15978         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15979
15980 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15981
15982         * Makefile.am (lyx_SOURCES): removed bibforms.h
15983
15984         * vspace.h: doxygen
15985
15986         * text.C (GetVisibleRow): make several local vars const
15987
15988         * tabular.C: small cleanup.
15989
15990         * lyxserver.C (callback): use compare instead of strncmp
15991
15992         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15993         inlines to after class or to paragraph.C
15994
15995         * lyxfont.h: remove friend operator!=
15996
15997         * converter.h: move friend bool operator< to non friend and after
15998         class def.
15999
16000         * combox.h: small cleanup
16001
16002         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16003         to inlines after class def.
16004
16005         * buffer.C (pop_tag): use string operations instead of strcmp
16006
16007         * bmtable.c: doxygen, small cleanup
16008
16009         * LaTeX.h: remove friend operator==
16010
16011 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16012
16013         * screen.C:
16014         * lyxrc.[Ch]:
16015         * lyxfunc.C:
16016         * lyxfont.[Ch]:
16017         * lyx_cb.C:
16018         * intl.[Ch]:
16019         * commandtags.h:
16020         * buffer.C:
16021         * WorkArea.[Ch]:
16022         * LyXAction.C:
16023         * BufferView_pimpl.C:
16024         * BufferView.[Ch]: remove cruft
16025
16026 2001-02-14  Juergen Vigna  <jug@sad.it>
16027
16028         * lyxfunc.C: removed #if 0 unused code
16029
16030         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16031
16032         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16033
16034         * text2.C (SetSelection): added a BufferView * parameter
16035
16036 2001-02-13  Juergen Vigna  <jug@sad.it>
16037
16038         * lyxfunc.C (Dispatch): fixed protected blank problem.
16039         * BufferView2.C (protectedBlank): added LyxText * parameter.
16040
16041         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16042         (AppendColumn): same as above for column_info.
16043
16044         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16045         (moveCursorUpdate): use a LyXText param for support of InsetText.
16046
16047         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16048         (tripleClick): ditto
16049
16050         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16051
16052         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16053
16054         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16055
16056         * text2.C (SetSelection): set correct update status if inset_owner
16057         (ToggleFree): ditto
16058
16059 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16060
16061         * tabular.C: remove some commented code.
16062
16063 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16064
16065         * BufferView_pimpl.C: call hideSplash()
16066
16067         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16068
16069         * include_form.h:
16070         * bibforms.h: remove
16071
16072         * lyxfunc.C:
16073         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16074           add LFUN_CHILD_CREATE
16075
16076         * counters.h: fix tiny typo
16077
16078         * lyx_cb.C:
16079         * lyx.h:
16080         * lyx_gui.C:
16081         * lyx.C: move splash to frontends/xforms/
16082
16083         * lyx_gui_misc.C: move Include and Bibform to frontends
16084
16085         * lyxvc.h: clarify comment
16086
16087         * vspace.C: tiny housekeeping
16088
16089 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16090
16091         * text.C (PrepareToPrint): RTL Fix.
16092
16093         * paragraph.C (GetUChar): New method.
16094         (String):  Use GetUChar.
16095
16096         * buffer.C (asciiParagraph): Use GetUChar.
16097
16098 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16099
16100         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16101
16102 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16103
16104         * buffer.h:
16105         * buffer.C: rename to getLogName(), handle
16106           build log / latex log nicely
16107
16108 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16109
16110         * MenuBackend.C:
16111         * MenuBackend.h: remove support for reference menuitem type.
16112
16113 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16114
16115         * BufferView_pimpl.C: housekeeping
16116         * BufferView_pimpl.h:
16117         * LyXView.h:
16118         * Makefile.am:
16119         * Timeout.C:
16120         * Timeout.h:
16121         * minibuffer.h: move Timeout GUI-I
16122
16123 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16124
16125         * lyxrc.C (read): Update converters data-structures.
16126
16127 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16128
16129         * LaTeX.h (operator!=): add operator != for Aux_Info
16130
16131 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16132
16133         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16134
16135         * LaTeXLog.C: deleted, useful code moved to Buffer
16136
16137         * buffer.h:
16138         * buffer.C: new function getLatexLogName()
16139
16140         * lyx_gui_misc.C:
16141         * lyx_gui.C:
16142         * lyxvc.C:
16143         * lyxvc.h:
16144         * lyxfunc.C: use frontends for LaTeX and VC logs
16145
16146 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16147
16148         * LaTeX.h: yet another std:: that Allan forgot.
16149
16150         * Variables.C (set): renamed from isset(), because this clashes
16151         with some HP-UX macros (grr).
16152
16153 2001-02-06  Allan Rae  <rae@lyx.org>
16154
16155         * LaTeX.h: Another bug fix.  Missing std:: this time.
16156
16157 2001-02-04  Allan Rae  <rae@lyx.org>
16158
16159         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16160         floats problem. I've left it commented out because it's not quite
16161         correct.  It should also test that the current object is a table or
16162         figure inset.  But I haven't gotten around to figuring out how to do
16163         that.  I *think* it'll be something like: "table" == inset.type()
16164
16165         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16166         bool.
16167
16168 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16169
16170         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16171         all the citation/databases/styles in the auxilary file.
16172         (run): Rerun latex if there was a babel language error.
16173
16174 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16175
16176         * text.C (Backspace): Preserve the font when changing newline char
16177         with a space.
16178         (BreakParagraph): If the cursor is before a space, delete the space.
16179
16180         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16181
16182 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16183
16184         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16185         new argument (code).
16186         (ChangeCitationsIfUnique): New method.
16187
16188         * paragraph.C (GetPositionOfInset): Handle bibkey.
16189
16190 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16191
16192         * BufferView_pimpl.h: change type of Position::par_pos to
16193         LyXParagraph::size_type.
16194
16195 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16196
16197         * BufferView_pimpl.C (savePosition, restorePosition): Write
16198         messages to minibuffer.
16199
16200 2001-01-28  José Matos  <jamatos@fep.up.pt>
16201
16202         * buffer.C (makeDocBookFile): adds support for document language.
16203         A silly restriction on the name of LatexCommand types where removed.
16204         Added support for CDATA sections, allows to chars unescaped, used
16205         among others in code, to avoid escape < and >.
16206
16207 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16208
16209         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16210         saved positions instrad of a stack. Furthermore, a position is
16211         stored using paragraph id/paragraph position.
16212
16213         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16214         Remove LFUN_REF_BACK.
16215
16216 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16217
16218         * converter.C (dvipdfm_options): New method.
16219
16220 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16221
16222         * vspace.C (isValidLength): Fix for empty input string.
16223
16224 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16225
16226         * LyXAction.C (init): change description of LFUN_FIGURE to
16227         "Insert Graphics"
16228
16229 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16230
16231         * LaTeX.C: add using directive
16232
16233 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16234
16235         * MenuBackend.C (expand): Fix the sorting of the formats.
16236
16237 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16238
16239         * lyx_main.C: tiny error message fix
16240
16241 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16242
16243         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16244         calling fl_initialize(). This fixes the problem with ',' as
16245         decimal separator in text files.
16246
16247 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16248
16249         * trans.C (process): Fix the keymap bug.
16250
16251 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16252
16253         * LaTeX.C (scanAuxFiles): New method. Provides support for
16254         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16255         (scanLogFile) Scan for "run BibTeX" messages.
16256
16257         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16258         OT1 font encoding. Also, load the aecompl package if the ae
16259         package is loaded.
16260
16261         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16262
16263 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16264
16265         * texrow.C (increasePos): turn two error messages into debug
16266         messages.
16267
16268 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16269
16270         * LaTeX.C (scanAux): Handle the \@input macro.
16271         (runBibTeX): Use scanAux().
16272
16273         * language.C (latex_options_): New field.
16274
16275         * LaTeXFeatures.C (getMacros): Add language macros.
16276
16277         * buffer.C (makeLaTeXFile): Small fix.
16278
16279 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16280
16281         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16282
16283         * text2.C: add a using directive.
16284
16285 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16286
16287         * BufferView2.C:
16288         * lyx_gui_misc.h:
16289         * lyxfr1.C:
16290         * lyxfunc.C: kill LyXBell.
16291
16292 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16293
16294         * text.C (IsBoundary): Remove the error message
16295
16296         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16297
16298         * lyxrc.C (setDefaults): Correct initialization value for
16299         font_norm_type.
16300
16301 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16302
16303         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16304         gotoError().
16305
16306         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16307         and GotoNextNote().
16308
16309         * src/LyXAction.C: Added reference-next.
16310
16311         * text.C (InsertChar): Use contains instead of strchr.
16312
16313         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16314
16315 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16316
16317         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16318         alignment commands (when needed).
16319
16320         * text.C (InsertChar): Add ':' to number separator chars.